Moodle
  1. Moodle
  2. MDL-27030

Quiz reports display incorrect and inconsistent data after regrade

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.1.1, 2.2
    • Fix Version/s: 2.0.5, 2.1.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      1. Go to a quiz with some attempts
      2. Turn off 'Show / download marks for each question'
      3. Regrade, and check that the final scores are shown properly.

      Repeat 3. for all the different ways to regrade (all / selected / dry run / only attempts that need it).

      Show
      1. Go to a quiz with some attempts 2. Turn off 'Show / download marks for each question' 3. Regrade, and check that the final scores are shown properly. Repeat 3. for all the different ways to regrade (all / selected / dry run / only attempts that need it).
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
    • Rank:
      16708

      Description

      Problem: After regrading, students' final grades are incorrectly displayed as 0.00 when marks for each question are not shown (see attached screenshot). Strangely, the final grades are correct when marks for each question are displayed (see screenshot). In both cases, the average grade is incorrect, as it is in an exported Excel file (see screenshot).

      Steps to reproduce (probably happens in many situations, but these steps consistently reproduce the problem for me):

      1. Take a quiz with at least 1 multiple choice question.

      2. Change the point value of a multiple choice question (#9 in the screenshots above) to 0, as you would if the question had an error in it and you wanted to discount it.

      3. Regrade the quiz.

        Activity

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: