Skip to content

Commit 78c4867

Browse files
mpsijmniemela
authored andcommitted
Specify that validation_passes >= 2
1 parent db2147f commit 78c4867

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

spec/2023-07-draft.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -325,20 +325,20 @@ The time defaults to the start of the day in UTC.
325325
Time, memory, and other limits to be imposed on submissions.
326326
A map with the following keys:
327327
328-
Key | Comments | Default | Typical system default
329-
-------------------- | ------------------------------ | -------------- | ----------------------
330-
`time_multipliers` | optional | see below |
331-
`time_limit` | optional float > 0, in seconds | see below |
332-
`time_resolution` | optional float > 0, in seconds | 1.0 |
333-
`memory` | optional int > 0, in MiB | system default | 2048
334-
`output` | optional int > 0, in MiB | system default | 8
335-
`code` | optional int > 0, in KiB | system default | 128
336-
`compilation_time` | optional int > 0, in seconds | system default | 60
337-
`compilation_memory` | optional int > 0, in MiB | system default | 2048
338-
`validation_time` | optional int > 0, in seconds | system default | 60
339-
`validation_memory` | optional int > 0, in MiB | system default | 2048
340-
`validation_output` | optional int > 0, in MiB | system default | 8
341-
`validation_passes` | optional int >= 1 | 2 |
328+
Key | Comments | Default | Typical system default
329+
-------------------- | -------------------------------------- | -------------- | ----------------------
330+
`time_multipliers` | optional map as defined below | see below |
331+
`time_limit` | optional float > 0, in seconds | see below |
332+
`time_resolution` | optional float > 0, in seconds | 1.0 |
333+
`memory` | optional int > 0, in MiB | system default | 2048
334+
`output` | optional int > 0, in MiB | system default | 8
335+
`code` | optional int > 0, in KiB | system default | 128
336+
`compilation_time` | optional int > 0, in seconds | system default | 60
337+
`compilation_memory` | optional int > 0, in MiB | system default | 2048
338+
`validation_time` | optional int > 0, in seconds | system default | 60
339+
`validation_memory` | optional int > 0, in MiB | system default | 2048
340+
`validation_output` | optional int > 0, in MiB | system default | 8
341+
`validation_passes` | optional int >= 2, only for multi-pass | 2 |
342342
343343
For most keys, the system default will be used if nothing is specified.
344344
This can vary, but you **should** assume that it's reasonable.
@@ -348,10 +348,10 @@ Only specify limits when the problem needs a specific limit, but do specify limi
348348
349349
`time_multipliers` is a map with the following keys:
350350
351-
Key | Comments | Default
352-
------------------- | ---------- | -------
353-
`ac_to_time_limit` | float >= 1 | 2.0
354-
`time_limit_to_tle` | float >= 1 | 1.5
351+
Key | Comments | Default
352+
------------------- | ------------------- | -------
353+
`ac_to_time_limit` | optional float >= 1 | 2.0
354+
`time_limit_to_tle` | optional float >= 1 | 1.5
355355
356356
The value of `time_limit` is an integer or floating-point problem time limit in seconds.
357357
The time multipliers specify safety margins relative to the slowest accepted submission, `T_ac`, and fastest time_limit_exceeded submission, `T_tle`.

0 commit comments

Comments
 (0)