|
|
@ -286,7 +286,7 @@ ReCodEx provides a few initial judges programs. They are mostly adopted from
|
|
|
|
CodEx and installed automatically with the worker component. Judging programs
|
|
|
|
CodEx and installed automatically with the worker component. Judging programs
|
|
|
|
have to meet some requirements. Basic ones are inspired by standard `diff`
|
|
|
|
have to meet some requirements. Basic ones are inspired by standard `diff`
|
|
|
|
application -- two mandatory positional parameters which have to be the files
|
|
|
|
application -- two mandatory positional parameters which have to be the files
|
|
|
|
for comparison and exit code reflecting if the result is correct (0) of wrong
|
|
|
|
for comparison and exit code reflecting if the result is correct (0) or wrong
|
|
|
|
(1).
|
|
|
|
(1).
|
|
|
|
|
|
|
|
|
|
|
|
This interface lacks support for returning additional data by the judges, for
|
|
|
|
This interface lacks support for returning additional data by the judges, for
|
|
|
@ -300,11 +300,10 @@ implemented:
|
|
|
|
- _comparison OK_
|
|
|
|
- _comparison OK_
|
|
|
|
- exitcode: 0
|
|
|
|
- exitcode: 0
|
|
|
|
- stdout: there is a single line with a double value which
|
|
|
|
- stdout: there is a single line with a double value which
|
|
|
|
should be 1.0
|
|
|
|
should be quality percentage of the judged file
|
|
|
|
- _comparison BAD_
|
|
|
|
- _comparison BAD_
|
|
|
|
- exitcode: 1
|
|
|
|
- exitcode: 1
|
|
|
|
- stdout: there is a single line with a double value which
|
|
|
|
- stdout: can be empty
|
|
|
|
should be quality percentage of the judged file
|
|
|
|
|
|
|
|
- _error during execution_
|
|
|
|
- _error during execution_
|
|
|
|
- exitcode: 2
|
|
|
|
- exitcode: 2
|
|
|
|
- stderr: there should be description of error
|
|
|
|
- stderr: there should be description of error
|
|
|
|