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

Implement asynchronous grading of quiz attempts

XMLWordPrintable

    • Hide

      Review a submitted attempt

      1. Click "Submit all and finish" in the confirmation modal
        1. Confirm that you see the attempt review page
        2. Confirm that the attempt details table at the top of the page shows only the Started on, Completed on, Time taken and State rows, with the state "Submitted".
        3. Confirm that the message "This attempt has been submitted and is queued for grading. Please check back shortly to see grades and feedback." is displayed above the question.
        4. Confirm that the question is displayed with your answer in place, no marks or feedback, and your answer cannot be altered.
      2. Click "Finish review"
        1. Confirm that the quiz front page shows your attempt with state "Submitted", the submitted date, and "Not yet graded" for the Marks and Grade.

      Grade submitted attempts

      1. Run `php admin/cli/adhoc_task.php --classname='\mod_quiz\task\grade_submission'` to process the attempt.
      2. Click "Review" to return to the attempt review.
        1. Confirm that you now see the "Marks" and "Grade" rows in the summary table.
        2. Confirm that you no longer see the "queued for grading" message.
        3. Confirm that the question displays indicating whether the answer is correct, showing the marks awarded and any feedback is displayed.
      3. Log out.
      Show
      Review a submitted attempt Click "Submit all and finish" in the confirmation modal Confirm that you see the attempt review page Confirm that the attempt details table at the top of the page shows only the Started on, Completed on, Time taken and State rows, with the state "Submitted". Confirm that the message "This attempt has been submitted and is queued for grading. Please check back shortly to see grades and feedback." is displayed above the question. Confirm that the question is displayed with your answer in place, no marks or feedback, and your answer cannot be altered. Click "Finish review" Confirm that the quiz front page shows your attempt with state "Submitted", the submitted date, and "Not yet graded" for the Marks and Grade. Grade submitted attempts Run `php admin/cli/adhoc_task.php --classname='\mod_quiz\task\grade_submission'` to process the attempt. Click "Review" to return to the attempt review. Confirm that you now see the "Marks" and "Grade" rows in the summary table. Confirm that you no longer see the "queued for grading" message. Confirm that the question displays indicating whether the answer is correct, showing the marks awarded and any feedback is displayed. Log out.

      MDL-68806 created the new "Not started" and "Submitted" states for quiz attempts, and implemented the task for pre-creating attempts.

      To further ease server load during large quiz sessions, we can implement asynchronous grading. When a student submits an attempt, rather than performing automatic grading when the student presses "Submit all and finish" then marking the attempt "Finished", this process will just mark the attempt "Submitted" when the student presses the button, and the attempt will be queued for grading on an ad-hoc task.

      This was originally written as part of the branch for MDL-68806, but further discussion is required about how this is presented to users.

            Unassigned Unassigned
            marxjohnson Mark Johnson
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.