Hi, I want to make a programming contest based on VPL module. How can I limit the number of submissions/evaluations? How can we export the highest grade among all submissions? Currently, the module exports the lastest grade. Thank you.
Q1) Limiting the execution time for each test case.
A1) At this moment you cannot set a different run-time limit for each test case. The default test program set a run-time limit equals to the total run-time limit divided by the number of test cases.
The run-time limit can be set in the "Maximum execution resources limits" option.
Q2) How can we limit the number of evaluations/submissions?
A2) The number of evaluations or submissions cannot be limited. You can only penalize each evaluation.
Q3) how to export the highest grade among all submissions like in CMS.
A3) You cannot get the highest grade of each user, only the grade of the last submission. You can export the activity grades from the grade book of Moodle.
Notice that VPL is not developed to support programming contest.
From this post I add on the TODO list the following:
1) Add a time limit for each test case.
2) Add the highest grade as an evaluation option.
Dear Juan Carlos
Thank you for the valuable plugin, I've been using it for the past months and it works great.
Regarding Q2 - My students are submitting over and over to "hack" my tests. Of course I can penalize them, however this is not a good enough solution, as they need to think twice before each submission - something that I do not wish them to do. Also, they think it is petty and that it is some kind of a punishment. I believe that a better solution would be to limit the submissions to X times a day. It will stop the "hacking" as well without punishing them.
Is there any chance that this feature will be supported in the near future?