Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30704

Quiz grades report shows inconsistent averages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3, 2.2, 2.3
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      1. As teacher, create a quiz
      2. As student 1 attempt it twice
      3. As student 2 attempt it once.
      4. As teacher, go to the quiz grades report.
      5. Verify that the average of the total quiz grades is the average score for all three attempts, like it is for the individual question grades.

      Also test the responses report with various combinations of options, to verify there are no regressions caused by the refactoring.

      Show
      1. As teacher, create a quiz 2. As student 1 attempt it twice 3. As student 2 attempt it once. 4. As teacher, go to the quiz grades report. 5. Verify that the average of the total quiz grades is the average score for all three attempts, like it is for the individual question grades. Also test the responses report with various combinations of options, to verify there are no regressions caused by the refactoring.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      1. As teacher, create a quiz
      2. As student 1 attempt it twice
      3. As student 2 attempt it once.
      4. As teacher, go to the quiz grades report.

      Observe that the average for the individual question grades averages all three grades shown, but the overall average only includes two grades (the first/last/best/average - whatever the quiz is set to).

      Since there is an option in this report to only show the first/last/best grade (if more than one attempt is allowed) then the average for the total quiz grade should include all the attempts shown, like it does for the question grades.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Integrator:
              Sam Hemelryk
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jan/12