VPL Question
Maintained by
Astor Bizard
VPL Questions are questions that can fit within a Moodle quiz. They are intended to create small to medium coding exercises, based on the Virtual Programming Lab plugin.
They are designed to offer a simple interface for students, while keeping the power and versatility of Virtual Programming Labs.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
i have another Issue: When I copy or clone a course with vp_questions, all questions will be invalid, because the id of the VPL activity has changed.
For me, this would be a roadblock - Is there any idea how this could be resolved?
I am aware of this problem, which I corrected. However, it seems that I forgot to upload the new version...
Thank you for your feedback, it will be fixed soon!
Note: Yes, these few lines are necessary, when they are correctly written...
setTimeout(function(){
if(!this.resultSet){
callback({execerror: M.str.qtype_vplquestion.execerrordetails});
}
},600);
In vplservice.js. Now it works without problems. Are these lines really necessary?
I have created a second VPL wiht same settings but without VPL Questions - Here I don't get this error and i can evaluate the VPL with the same jail server without any problems.
I wanted to test VPL+VPL Question with the demo jail server with a simple python "Hello World"-Program. I can run the program but when I click on pre check or check the evaluation throws the error: "Operation aborted by VPL. Execution resources limits may have been exceeded."
As far i can see, this happens after ~5 seconds.
This is the test case i'm using:
#Case = HelloWorld
output = "Hello World"
Is this a problem with the demo jail server? (Does it take too long to evaluate test cases?) or could't there be anything which is wrong configured?