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

Quiz report showing incorrect total grade and answers when the student's responses are correct

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.5
    • Fix Version/s: 2.5.5, 2.6.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      There is now reasonable unit test coverage for these changes. However, we still need some manual testing to confirm there are no regressions.

      1. Create a quiz containing at least one essay question and some automatically graded questoins.
      2. Attempte it several times as different students. For at least one attempt do not answer the essay.
      3. Verify that for the attempt where the essay is not attmpted, the final grade for the attempt is automatically computed correctly.
      4. As teacher, go to Quiz administration -> Results -> Manual grading.
      5. Toggle the 'Also show automatically graded quetsions' link. Make sure the numbers of attempts in each state are right.
      6. Manually grade some of the attempts at the essay question.
      7. Go to the Grades and Responses report, and make sure they are OK, including sorting by the grade / response for a particular question.
      8. Check that the quiz statistics report still works, including drilling down to the details of one question.
      1. Run unit tests on all DBs + branches
      Show
      There is now reasonable unit test coverage for these changes. However, we still need some manual testing to confirm there are no regressions. Create a quiz containing at least one essay question and some automatically graded questoins. Attempte it several times as different students. For at least one attempt do not answer the essay. Verify that for the attempt where the essay is not attmpted, the final grade for the attempt is automatically computed correctly. As teacher, go to Quiz administration -> Results -> Manual grading. Toggle the 'Also show automatically graded quetsions' link. Make sure the numbers of attempts in each state are right. Manually grade some of the attempts at the essay question. Go to the Grades and Responses report, and make sure they are OK, including sorting by the grade / response for a particular question. Check that the quiz statistics report still works, including drilling down to the details of one question. Run unit tests on all DBs + branches
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Quiz sometimes show incorrect grades for student's that responses are correct.
      The response list shows an hyphen not the correct grade. But if you go to the review response may view that all responses are correct and have the correct score.
      Images show the case.
      In the images the student K I responsed all questions correctly but the quiz report shows an hyphen. In the case of student A C or student C K the report is correct.
      But the images that shows review response you can check that the student K I responded correctly to questions.
      The questions of the quiz are numerical

        Attachments

        1. grade_list.png
          24 kB
          Antonio Piedras Morente
        2. jira-capture-screenshot-20140129-141743-797.png
          165 kB
          Ankit Agarwal
        3. quiz_answer1.png
          48 kB
          Antonio Piedras Morente
        4. quiz_answer2.png
          49 kB
          Antonio Piedras Morente
        5. quiz_questions.png
          39 kB
          Antonio Piedras Morente
        6. quiz_settings.png
          64 kB
          Antonio Piedras Morente

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            apiedras Antonio Piedras Morente
            Peer reviewer:
            Dan Poltawski
            Integrator:
            Sam Hemelryk
            Tester:
            Ankit Agarwal
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Mar/14