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

Better progress display while re-grading quiz attempts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.6, 3.6.4, 3.7
    • Fix Version/s: 3.8
    • Component/s: Quiz
    • Testing Instructions:
      Hide
      1. You need to find or create a quiz that has several attempts made by different students.
      2. Go to Quiz -> Results -> Grades.
      3. Click the Regrade all button. Verify it works with no errors, and the progress information looks like "Regrading attempt (1/3) - Attempt 1 by Student Two (id 426)", then at the end it will change to "Successfully regraded (1/1)". (You may see different numbers)
      4. Select some attempts using the Check boxes, and click the "Regrade selected attempts". Verify as before.
      5. Edit one of the qustions in the quiz to change what the right answer is.
      6. Click "Dry run a full regrade". Verify as before.
      7. You should not see that the scores for some students would change (old score crossed out, new score shown). If not, edit the question differently.
      8. Click "Regrade all attempts needing it". Verify as before.
      Show
      You need to find or create a quiz that has several attempts made by different students. Go to Quiz -> Results -> Grades. Click the Regrade all button. Verify it works with no errors, and the progress information looks like "Regrading attempt (1/3) - Attempt 1 by Student Two (id 426)", then at the end it will change to "Successfully regraded (1/1)". (You may see different numbers) Select some attempts using the Check boxes, and click the "Regrade selected attempts". Verify as before. Edit one of the qustions in the quiz to change what the right answer is. Click "Dry run a full regrade". Verify as before. You should not see that the scores for some students would change (old score crossed out, new score shown). If not, edit the question differently. Click "Regrade all attempts needing it". Verify as before.
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
    • Sprint:
      Internationals - 3.8 Sprint 2

      Description

      I was trying to diagnose a problem where re-grading a particular quiz was failing in the middle of the long process, I was finding it particualrly un-helpful that the progress message just says:

      “Regrading attempt (139/209)”.

      Especially since the database query that works out which attempts to regrade does not have order-by. it could more usefully say something like:

      “Regrading attempt (139/209) – attempt 1 by Fred blogs – Review”.

      so that if you get a failure, you know where it occured.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 17 minutes
                3h 17m