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

Enable regrading for selected questions in quiz

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_405_STABLE
    • Hide

      Setup

      • Login as admin
      • Create a course an enrol two test student accounts.
      • Create a quiz
      • Add two True/false questions, with correct answer False (the default)
      • Log in as the first student account, and attempt the quiz selecting True as the answer to both questions.
      • Log in as the second student account, and attempt the quiz selecting False as the answer to both questions.

      Regrading, without selected attempts, and no changes

      • Go to Quiz > Result > Grades for your test quiz.
      • Verify the buttons "Regrade all", "Dry run a full regrade" and "Regrade attempts marked as needing regrading" are no longer present.
      • Click 'Regrade attempts...'
      • Verify that a Modal appears, like in the mockup below.
      • Verify the help text makes sense.
      • Verify that 'All attempts' radio is selected, and 'Selected attempts' radio is disabled (because you did not select any attempts before opening the modal.)
      • Verify that 'All questions' is the choice selected, and therefore the checkboxes for each question are disabled.
      • Click the 'Regrade now' button.
      • Verify the process completes without errors.
      • Verify the report shows no change to any grades.

      Dry run a regrade of selected attempts/questions

      • Go to Quiz > Questions, and edit Q1 to change the right answer from False to True.
      • Go back to Quiz > Result > Grades
      • Select the first student't attempt.
      • Click 'Regrade attempts...'
      • Verify the Modal appears
      • Verify that 'Selected attempt' is slected by default.
      • Click 'Selected questions'
      • Verify the question number checkboxes become enabled.
      • Select the 'Question 1' checkbox.
      • Click 'Dry run'
      • Verify that the process completes without errors.
      • Verify that the report shows that the the score in Q1 for Student 1 would change, but there is not change in Student 2.
      • Verify that the message "The last dry-run of a regrade found that the re-grade would change the marks for 1 questions in 1 attempts." is visible.
      • Click 'Commit regrade'.
      • Verify that the process completes without errors.
      • Verify that the mark for student 1 has now been updated (e.g. review that attempt) but the mark for student 2 is still unchanged.

      If you like, you can do further testing of other combinations of all/selected questions/attempts, with or without a dry run, and with our without the questions being changed.

      Show
      Setup Login as admin Create a course an enrol two test student accounts. Create a quiz Add two True/false questions, with correct answer False (the default) Log in as the first student account, and attempt the quiz selecting True as the answer to both questions. Log in as the second student account, and attempt the quiz selecting False as the answer to both questions. Regrading, without selected attempts, and no changes Go to Quiz > Result > Grades for your test quiz. Verify the buttons "Regrade all", "Dry run a full regrade" and "Regrade attempts marked as needing regrading" are no longer present. Click 'Regrade attempts...' Verify that a Modal appears, like in the mockup below. Verify the help text makes sense. Verify that 'All attempts' radio is selected, and 'Selected attempts' radio is disabled (because you did not select any attempts before opening the modal.) Verify that 'All questions' is the choice selected, and therefore the checkboxes for each question are disabled. Click the 'Regrade now' button. Verify the process completes without errors. Verify the report shows no change to any grades. Dry run a regrade of selected attempts/questions Go to Quiz > Questions, and edit Q1 to change the right answer from False to True. Go back to Quiz > Result > Grades Select the first student't attempt. Click 'Regrade attempts...' Verify the Modal appears Verify that 'Selected attempt' is slected by default. Click 'Selected questions' Verify the question number checkboxes become enabled. Select the 'Question 1' checkbox. Click 'Dry run' Verify that the process completes without errors. Verify that the report shows that the the score in Q1 for Student 1 would change, but there is not change in Student 2. Verify that the message "The last dry-run of a regrade found that the re-grade would change the marks for 1 questions in 1 attempts." is visible. Click 'Commit regrade'. Verify that the process completes without errors. Verify that the mark for student 1 has now been updated (e.g. review that attempt) but the mark for student 2 is still unchanged. If you like, you can do further testing of other combinations of all/selected questions/attempts, with or without a dry run, and with our without the questions being changed.

      The "Regrade-All" button, on the "Grades" page for a Quiz (mod/quiz/report.php) takes a long time to execute if there are many questions and many attempts.

      A button to regrade only a particular question, and then update the total marks might execute faster an can be added as a feature.


      Here is a proposed UI, as posted in the quiz forum.

      The 'Regrade attempts...' button there opens a dialoug like this:

      Before this is finused, we need to finalise the help text that will be used for the help icon at the top of the dialogue. The current draft is:

      Re-grading questions or attempts re-calculates the atomated grading of those attempts, possibly using the latest or a different version of the question, depending on the quiz setup.

      A dry-run lets you see how the grades would change if a full re-grade was done, but does not acutally update the attempts until you commit the changes.

            timhunt Tim Hunt
            abhijit13 Abhijit A M
            Khoa Nguyen Dang Khoa Nguyen Dang
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            5 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 6 hours, 15 minutes
                1d 6h 15m

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