Problems when grading

Problems when grading

by Michael Munz -
Number of replies: 6

Hi,

I am using VPL for grading tests. Doing tests directly based on the VPL works perfekt: evaluation of the code on the evaluate.cases file works as espected. But as soon as I am trying to grade the tests based on the Moodle Plugin vpl_question, I get the error: "An error occured during question grading (no grade obtained)".

I tried to debug this (debug level 8 on the jail server), which shows me that the files are uploaded as expected, the output of the test result is written into the log entry also. But it seems that this result is not transferred back to the moodle server correctly.

I get the same error when I activate the checkbox "Validate" inside the question activity, as soon as I try to save the question.

Can you please help me in solving this problem?

Many thanks!

Best regards,

Michael

Average of ratings: Useful (1)
In reply to Michael Munz

Re: Problems when grading

by Alexandre Meslé -

I have the same problem.... I have read the documentation 10 times, triple checked every setting. And then I have searched everywhere on the web, but it seems that no one knows the answer...

And the conventionnal VPL assesments work fine... This error seems to be impossible to explain...

Good luck...

In reply to Alexandre Meslé

Re: Problems when grading

by José Coelho -

Hi,

I am exactly this problem. In the preview question, I get the following:

Evaluation details:
Evaluation error:
An error occured during question grading (no grade obtained).

But I can make the Pre-check without problems:

Evaluation:
-Summary of tests
>+------------------------------+
>|  1  test run/ 1  test passed |
>+------------------------------+

It appear that exist problem only when grading, but the rest is ok. I would like to use VPL in a quiz for formative activities, and use VPL as an activity for evaluation, but the grades on the quiz are important to measure the student progress. 

I guess that is a small detail, since not much people have this problem.

Regards,
José Coelho

In reply to José Coelho

Re: Problems when grading

by Alexandre Meslé -
Check your web server settings.

A http to https redirection was messing the grader and when i disabled it, it worked !
In reply to José Coelho

Re: Problems when grading

by Astor Bizard -
Picture of Plugin developers
Hi @José Coelho,

Which version of qtype_vplquestion are you using? It was a known problem, that seemed to come from http/https settings of execution server. It should have been fixed with qtype_vplquestion v.1.3.6.

An cause for this issue may be the grade setting on the VPL activity. Is this VPL graded, and is the grade visible?
The Pre-check process does not retrieve the grade, only the evaluation details. The Check/grading process, however, does need a grade from the VPL activity.

Please let us know if you keep encountering this issue.

Best regards,
Astor
In reply to Astor Bizard

Re: Problems when grading

by José Coelho -
Hi Astor Bizard and Alexandre Meslé,

Thanks for the help. I worked last week with the administration, but I am not an administator. We try several configurations in the global configuration, some stop the pre-check from working, and no configuration could make the grade working.

We conclude that should be something in the execution server, since we change the local execution server to http://demojail.dis.ulpgc.es, it works, if we set to our server https://vpl-jail.uab.pt (or http://vpl-jail.uab.pt) do not work the VPL question, but work the VPL activity.

I made now a test, after submiting a VPL question that return no grade, go to the VPL activity and submit the data that was there (from the VPL question), and return the following:

Testing 1/1 : 1
<|--
-Summary of tests
>+------------------------------+
>| 1 test run/ 1 test passed |
>+------------------------------+

--|>
Grade :=>> 1

So, it appear that only our execution server and VPL question are not working 100%.

I will confirm with the administration, but I think we have the latest version, since the platform have the upgrade last month.

I checked the grade in VPL activity and it have a grade, that is visible to the students (but the course is now closed, I am preparing the next semester).


I already setup a quiz without time limit, so the students can return and continue, during each module. Thanks to the VPL question type, I could put all content in a single quiz, so I can also make a block with results of top 100 of student progress, based on that quiz. I will keep the previous tool as a backup, but I think this will be a clear better tool/method, since the students are reading and have a zone to write / complete the code and check the result, and I can see what the students are doing. If the problem is not solved until the semester start, I can always setup the quiz without grades, but with that I would lost the top 100, that I think works well in student motivation.

Regards,
José
In reply to José Coelho

Re: Problems when grading

by José Coelho -
Thanks for the support.

The problem is solved. After reinstalling the certificates in the execution server, everything works!

Best regards,
José