Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/legacy-icpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ In the case that a program is a single file, it is treated as if a directory wit
The name of the program, for the purpose of referring to it within the package, is the base name of the file or the name of the directory.
There can't be two programs of the same kind with the same name.

Validators and graders, but not submissions,
Input and output validators, but not submissions,
in the form of a directory may include two POSIX-compliant shell scripts, `build` and `run`.
These scripts must be executable when they exist or get generated.
If at least one of these two files is included:
Expand Down
3 changes: 2 additions & 1 deletion spec/legacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ This information may be displayed to the user upon invocation of the validator.
## Graders

Graders are programs that are given the sub-results of a test data group and aggregate a result for the group.
They are provided in `graders/`.
There may exist at most one grader program, and it is provided in the `graders/` directory.
It is a judge error to use `grading: custom` without providing a grader.

For pass-fail problems, this grader will typically just set the verdict to accepted if all sub-results in the group were accepted and otherwise select the "worst" error in the group (see below for definition of "worst"),
though it is possible to write a custom grader which e.g. accepts if at least half the sub-results are accepted.
Expand Down