Skip to content

Commit 6ef354d

Browse files
mpsijmniemela
authored andcommitted
Visualizers: improve consistency
1 parent a558548 commit 6ef354d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/2023-07-draft.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,19 +1261,19 @@ This information may be displayed to the user upon invocation of the validator.
12611261
If a tool was used to automate creating test case illustrations,
12621262
it is recommended to include the input visualizer source code in the directory `input_visualizer/`.
12631263

1264-
The validator should be possible to use as follows on the command line:
1264+
The input visualizer should be possible to use as follows on the command line:
12651265
```sh
12661266
<input_visualizer_program> [inputfile] [answerfile] [arguments]
12671267
```
12681268

1269-
Here, `arguments` is the `input_validator_args` key in the [test data configuration](#test-data-configuration) and [test case configuration](#test-case-configuration).
1269+
Here, `arguments` is the `input_visualizer_args` key in the [test data configuration](#test-data-configuration) and [test case configuration](#test-case-configuration).
12701270

12711271
Note that the visualizer would not typically be invoked by the judging system, the invocation instructions are mainly provided to ensure consistency between problem development tools.
12721272

12731273
## Output Visualizer
12741274

12751275
An output visualizer is an optional [program](#programs) that is run after every invocation of the output validator in order to generate images illustrating the submission output.
1276-
A visualizer program must be an application (executable or interpreted) capable of being invoked with a command line call. It is invoked using the same arguments as the output validator, except that `output_validator_args` is replaced with `output_visualizer_args`.
1276+
An output visualizer program must be an application (executable or interpreted) capable of being invoked with a command line call. It is invoked using the same arguments as the output validator, except that `output_validator_args` is replaced with `output_visualizer_args`.
12771277
It must be provided as a program (as specified [above](#programs)) in the directory `output_visualizer/`.
12781278

12791279
All files written to the feedback directory by the output validator are accessible to the visualizer.

0 commit comments

Comments
 (0)