Skip to content

Commit

Permalink
Fix uses of i.e. and e.g.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelNiemela authored and niemela committed Aug 20, 2024
1 parent 8969dde commit 6812e10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/2023-07-draft.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,18 +639,18 @@ with any `.out` files renamed to `.ans` (replacing existing `.ans` files).
When that also does not exist, the test cases in `data/sample` are available for download.
`data/sample/download` is required for interactive problems.

The `data/sample/download` directory may contain anything, including e.g. a testing tool for interactive problems, and is not validated.
The `data/sample/download` directory may contain anything, including, e.g., a testing tool for interactive problems, and is not validated.
Testing tools may warn when test cases that are listed in `data/sample` or `data/sample/statement` do not appear in `data/sample/download`,
or when `data/sample/download` contains test cases that do not appear in one of the two other locations.

#### Validation

All `data/sample/*.in` files are input-validated.

When `data/sample/statement/` does not exist, `data/sample/*.ans` is output validated (i.e. must be accepted).
When `data/sample/statement/` does not exist, `data/sample/*.ans` is output validated (i.e., must be accepted).

When `data/sample/statement/` does exists, and the problem is not interactive,
all `data/sample/statement/*.in` are input validated, and `data/sample/statement/*.out` (with fallback to `data/sample/statement/*.ans`) are output validated (i.e. must be accepted).
all `data/sample/statement/*.in` are input validated, and `data/sample/statement/*.out` (with fallback to `data/sample/statement/*.ans`) are output validated (i.e., must be accepted).

Files in `data/sample/download` are never validated,
although tooling may warn when there are inconsistencies between `download`, `statement`, and `data/sample/` itself.
Expand Down Expand Up @@ -763,7 +763,7 @@ but must time out on at least one of the hard cases.
Submission glob patterns are matched against all paths to files and directories of submissions inside and relative to the `submissions/` directory.
Test case glob patterns are matched against all paths of test groups and test cases relative to `data/`,
excluding the trailing `.in`. Wildcards (`*`) only match within a file name (e.g., do not match `/`).
excluding the trailing `.in`. Wildcards (`*`) only match within a file name (i.e., do not match `/`).
A test case is matched by the glob pattern if either itself or any of its parent test groups is matched by it,
and similarly a submission is matched if either itself or a parent directory is matched.

Expand Down

0 comments on commit 6812e10

Please sign in to comment.