Skip to content

Commit 3572049

Browse files
elderingmpsijm
andauthored
Clarify usage of EXPECTED_RESULTS tag.
Co-authored-by: Maarten Sijm <9739541+mpsijm@users.noreply.github.com>
1 parent 43f2b4a commit 3572049

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

doc/manual/problem-format.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@ On top, DOMjudge defines a few extensions:
1212
distributed to participants. The file extension determines any of
1313
three supported formats. If multiple files matching this pattern are
1414
available, any one of those will be used.
15-
* Annotation with ``EXPECTED_RESULTS`` for jury solutions. The ICPC
16-
problem package specification always has precedence. Use this to annotate
17-
possible outcomes a submission can have to use together with the Judging verifier.
15+
* Annotation with ``@EXPECTED_RESULTS@: `` for jury solutions.
16+
Use this to annotate the possible outcomes that a submission can have,
17+
that will be accepted by the Judging verifier.
18+
This extension is in consideration to be added to the ICPC specification,
19+
see https://github.com/Kattis/problem-package-format/pull/4.
20+
Note that, to match with the current ICPC specification,
21+
the ``@EXPECTED_RESULTS@: `` tag is ignored in
22+
the four official submission subdirectories,
23+
but it will work if the tagged solution is in, e.g.,
24+
``submissions/mixed/`` or ``submissions/rejected/``.
1825

1926
The file ``domjudge-problem.ini`` contains key-value pairs, one
2027
pair per line, of the form ``key = value``. The ``=`` can

0 commit comments

Comments
 (0)