Skip to content

Commit 7ade05b

Browse files
committed
Require score to be specified for static validators
1 parent 651c735 commit 7ade05b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spec/2023-07-draft.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,10 @@ If a map is specified, its allowed key are:
10091009

10101010
The `static_validation` key can also have the value of `false` meaning there is no static validation, or `true` meaning that static validation is enabled with no additional arguments and unspecified maximum score (to be determined by [maximum score inference](#maximum-score-inference)).
10111011

1012-
It is an error to provide a static validator for `submit-answer` type problems, or to specify a `score` in a test group with `pass-fail` aggregation.
1012+
It is an error to:
1013+
- provide a static validator for `submit-answer` type problems,
1014+
- specify a `score` in a test group with `pass-fail` aggregation or a problem that does not have the type `scoring`,
1015+
- *not* specify a `score` in a test group that has `sum` or `min` aggregation.
10131016

10141017
### Invocation
10151018

0 commit comments

Comments
 (0)