Skip to content

Commit ab09455

Browse files
Etienne Vouganiemela
authored andcommitted
Resolves discussion in github PR:
Character sequence -> byte sequence Remove parens
1 parent 5bba96d commit ab09455

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/2023-07-draft.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ Arguments | Description
987987
The default output validator parses the submission output and answer files as a string of single-byte characters and tokenizes the files by splitting on sequences of one or more consecutive whitespaces.
988988
Whitespace characters are: space (`0x20`), form feed (`0x0c`), line feed (`0x0a`), carriage return (`0x0d`), horizontal tab (`0x09`), and vertical tab (`0x0b`).
989989
In its default mode, the default output validator then ignores the whitespace and compares the submission output and answer files token by token.
990-
(If there is a disagreement in the number of tokens in the two files, the validator rejects the submission instead.)
990+
If there is a disagreement in the number of tokens in the two files, the validator rejects the submission instead.
991991
The validator may also reject any submission output that is unreasonably large (including due to containing unreasonable amounts of whitespace).
992992

993993
#### Comparing Floating-Point Tokens
@@ -1009,7 +1009,7 @@ For problems containing a mix of integer and floating-point output, a custom out
10091009

10101010
#### Comparing String Tokens
10111011

1012-
If `case_sensitive` is specified, the two tokens must match exactly, i.e. consist of exactly the same character sequence.
1012+
If `case_sensitive` is specified, the two tokens must match exactly, i.e. consist of exactly the same byte sequence.
10131013

10141014
Otherwise, the submitted output token is accepted if it matches the answer file token up to case. The default output validator treats uppercase ASCII letters `A`--`Z` as equivalent to their lowercase counterparts.
10151015

0 commit comments

Comments
 (0)