annotate .hgignore @ 205:166a23999bf7

Added confvar okexitcodemask; changed the validator protocol Callable validators now return three-tuples (number granted, bool correct, str comment) instead of two-tuples (number granted, str comment). They are still allowed to return single numbers. Callable validators must now explicitly raise upreckon.exceptions.WrongAnswer if they want the verdict to be Wrong Answer rather than Partly Correct. okexitcodemask specifies a bitmask ANDed with the exit code of the external validator to get a boolean flag showing whether the answer is to be marked as 'OK' rather than 'partly correct'. The bits covered by the bitmask are reset to zeroes before devising the number of points granted from the resulting number.
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 17 Aug 2011 20:44:54 +0300
parents 6e6b0ea63fa1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83
37c4ad87583c Several small fixes
Oleg Oshmyan <chortos@inbox.lv>
parents: 51
diff changeset
1 \.(pyc|pyo|class|orig)$
187
6215dbc1fbb5 Updated .hgignore
Oleg Oshmyan <chortos@inbox.lv>
parents: 83
diff changeset
2 ^upreckon/(upreckon|_unix\.so)$
6215dbc1fbb5 Updated .hgignore
Oleg Oshmyan <chortos@inbox.lv>
parents: 83
diff changeset
3 (/|^)suite$
6215dbc1fbb5 Updated .hgignore
Oleg Oshmyan <chortos@inbox.lv>
parents: 83
diff changeset
4 ^(build|dist|upreckon\.egg-info)$
192
6e6b0ea63fa1 Added zipfiles/diff.sh to the repository
Oleg Oshmyan <chortos@inbox.lv>
parents: 187
diff changeset
5 ^zipfiles/zipfile\d+-original.py$