Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not a bug
-
Affects Version/s: 1.9, 1.9.1, 1.9.2
-
Fix Version/s: None
-
Component/s: Quiz
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
Regrading is not working correctly.
I have a quiz, say 18 questions each counting for 1. Correct answers are 100%, incorrect 0%. Total quiz grade is 100. People have taken the quiz. Now I want to make one of the questions not count towards the quiz grade anymore. I change the value on the quiz edit.php page from 1 to 0, and press regrade. All of the quizzes are regraded, but the question whose grade was changed from 1 to 0 still counts towards the total, but the total is now out of 17. I essentially have people who previously scored 18/18=100% now getting 18/17=105.88%. Same problem if you change the grade from 1->2 or 1->4. Scores are now 18/19 or 18/22 where people still got 100% of the questions correct, but their total is now 18/22 so they no longer have a 100%.
This appears to only affect regrades. If a person takes the exam after the edit to the quiz, it is graded correctly.
Actually, this is probably a issue with one of the upgrades between 1.3 to 1.9 (we've upgraded someone from 1.3 to 1.9). In the quiz overview report, for quizzes taken before the upgrade, individual question grades are showing up as --/5.88 even when the question was successfully answered. Quizzes from after the upgrade have the values as 5.88/5.88 or 0/5.88. I'm assuming then, that changes in the grade point value for a question resulted in the quiz total having 0 subtracted from it.