You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/2023-07-draft.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1342,20 +1342,23 @@ It is a judge error if:
1342
1342
1343
1343
#### Scoring Test Data Groups
1344
1344
1345
-
The score of `secret` is determined by its groups or test cases (it can only have one or the other).
1346
1345
The score of a test data group is determined by its test cases.
1347
1346
The score depends on the aggregation mode, which is either `pass-fail`, `sum`, or `min`.
1348
1347
1349
1348
- If a group uses `pass-fail` aggregation, the group must have bounded maximum score.
1350
1349
If the submission receives an accepted verdict for all test cases in the group,
1351
1350
the score of the group is equal to its maximum possible score.
1352
1351
Otherwise the group score is 0.
1353
-
- If a group uses `sum` aggregation, the group score is the sum of the scores of its test cases or groups.
1352
+
- If a group uses `sum` aggregation, the group score is the sum of the scores of its test cases.
1354
1353
- If a group uses `min` aggregation, then the group score is the minimum of these scores.
1355
1354
1355
+
The score of `secret` is determined by its groups or test cases (it can only have one or the other).
1356
+
- If `secret` uses `pass-fail` aggregation, then `secret` must have bounded maximum score. If the submission receives an accepted verdict for all test cases in `secret`, or for all test cases in its test data groups (which must also have `pass-fail` aggregation), then the score of `secret` is equal to its maximum possible score. Otherwise the score of `secret` is 0.
1357
+
- If `secret` uses `sum` or `min` aggregation, then the score of `secret` is computed from the scores of its test cases or test data groups, analogously to test data group scoring above.
1358
+
1356
1359
The submission score is the score of `secret`.
1357
1360
1358
-
It is a judge error if the score of `secret`, or any test data group exceeds its `max_score`.
1361
+
It is a judge error if the score of `secret` or any test data group exceeds its `max_score`.
0 commit comments