Show More
Commit Description:
add description to import_problem...
Commit Description:
add description to import_problem
git-svn-id: http://theory.cpe.ku.ac.th/grader/cli/trunk/scripts@32 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
env_exam.rb.SAMPLE
| 14 lines
| 221 B
| text/plain
| TextLexer
|
|
r1 | |||
PROBLEMS_DIR = "/home/jittat/grader/ev" | ||||
USER_RESULT_DIR = "/home/jittat/grader/result" | ||||
TALKATIVE = true | ||||
def report_comment(comment) | ||||
if comment.chomp =~ /^P+$/ # all P's | ||||
'passed' | ||||
else | ||||
'failed' | ||||
end | ||||
end | ||||