DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
709 stars 248 forks source link

Zip testcases documentation in 5.0 #176

Closed RagnarGrootKoerkamp closed 8 years ago

RagnarGrootKoerkamp commented 8 years ago

In release version 5.0, the admin manual says that the format should be according to the kattis format. Using the data/{sample,secret} directories and .in and .ans extensions does work. The judge manual, however, states that a zip file containing just .in and .out files should add those to the current problem. I didn't get this to work. Trying .ans extensions instead of .out also didn't seem to help.

corneym commented 8 years ago

If the extra data is in the full directory structure it will add ok. Files must have .in and .and extensions.  Extra data successfully loads without a domjudge.ini file when using the zip upload method on the problem edit page.

Malcolm Corney

-------- Original message -------- From: Ragnar Groot Koerkamp notifications@github.com Date: 25/09/2015 4:45 am (GMT+10:00) To: DOMjudge/domjudge domjudge@noreply.github.com Subject: [domjudge] Zip testcases documentation in 5.0 (#176)

In release version 5.0, the admin manual says that the format should be according to the kattis format. Using the data/{sample,secret} directories and .in and .ans extensions does work.

The judge manual, however, states that a zip file containing just .in and .out files should add those to the current problem. I didn't get this to work. Trying .ans extensions instead of .out also didn't seem to help.

— Reply to this email directly or view it on GitHub.

RagnarGrootKoerkamp commented 8 years ago

Ah, thanks. For the plain testcases, I didn't use any directory structure inside the .zip, because this wasn't mentioned in the jury manual, but apparently I should have.

eldering commented 8 years ago

This is a documentation bug. Since version 5.0 we switched from our own format (as referenced in the judge manual) to the Kattis format. The reference in the judge manual is out of date.

thijskh commented 8 years ago

Some notes about the DOMjudge specific extensions have been added in 291bfd40e9285fcea9d422b56a0ffb03733d8881.