-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
The spec currently specifies:
Each
tc.in
underinvalid_input
must be rejected by at least one input validator.
There are two problems with this:
- I think for input validators we do not specify what rejection means. It should be defined as "exits with exit code 43"
- Is it ok for validators to crash if at least one rejected? If yes we may want to mention this.
I would argue in favor of 2.
For example, consider a problem where the input is supposed to be a positive integer x
with the extra property that 42 / x
is also an integer.
Now one checker can check that its a positive integer and the other can simply check that 42 & x == 0
.
However, the second checker will crash if x
is zero. IMO this is fine since the other checker already ensures that x
is not zero.
Metadata
Metadata
Assignees
Labels
No labels