Moodle

Each attempt buils on last with multi-page quizzes gives the wrong score on the second attempt

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.8.2, 1.8.3
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
  • Affected Branches:
    MOODLE_18_STABLE

Description

This is the SAME problem that was reported in MDL-10581.

It was reported that this bug was fixed, so last week I went ahead and made quizzes in which questions are divided up over a number of pages. Now that 80+ students have dones these quizzes it appears that the bug has not been fixed, or was fixed and is now re-manifesting itself. HELP!!

To summarize;
A quiz is made:
"Each attempt builds on the last" is set to 'Yes'
"Grading method" is set to 'Highest grade"
The 8 questions in the quiz each have their own page.
When students do the quiz the first time their attempt is graded as expected.
However, on subsequent events their grade is only for questions successfully done in that attempt.

What should happen:
Attempt 1: 4 out of 8
Attempt 2: student gets two more answers correct, so they should get a total of 6 out of 8.

What is happening:
Attempt 1: 4 out of 8
Attempt 2: student gets two more answers correct, but instead of their running total he only gets 2 points.

The attached PDF show the results page from the teachers point of view. You can see that many questions have been correctly answered, but have not been included in the final calculation.

I do hope this is fixed soon, but also hope that it can be fixed in a way that students that have already done quizzes that are effected by this bug can have their grades revised. Otherwise, I am going to have to get many students to redo the quizzes.

Sorry that I can't suggest a solution.

Issue Links

Activity

Hide
Tim Hunt added a comment -

Note that the last comment on MDL-10581 only says that I thought I had fixed it, but that more testing was needed.

Whoever first implemented Each attempt builds on last did a really bad job. It has caused no end of bugs.

Show
Tim Hunt added a comment - Note that the last comment on MDL-10581 only says that I thought I had fixed it, but that more testing was needed. Whoever first implemented Each attempt builds on last did a really bad job. It has caused no end of bugs.
Hide
Peter Ruthven-Stuart added a comment -

Thank you Tim for your quick reply. I'm sorry that I did not get around to testing this a bit earlier. If you, or someone else, manages to fix this I'll be sure to test it as soon as possible.

Just to clarify the above 'Summary', "Each attempt builds on last "with multi-page quizzes gives the wrong score on the second attempt AND subsequent attempts".

Thank you for working on this.

Show
Peter Ruthven-Stuart added a comment - Thank you Tim for your quick reply. I'm sorry that I did not get around to testing this a bit earlier. If you, or someone else, manages to fix this I'll be sure to test it as soon as possible. Just to clarify the above 'Summary', "Each attempt builds on last "with multi-page quizzes gives the wrong score on the second attempt AND subsequent attempts". Thank you for working on this.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: