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

quiz statistics, response analysis : Differentiating between '0' and no response in statistics for numeric question

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6, 2.7
    • Fix Version/s: 2.7
    • Component/s: Questions, Quiz
    • Labels:
    • Testing Instructions:
      Hide

      These changes are covered by unit tests.

      But you can also manually confirm it is working if you wish, for Moodle 2.7.

      Follow the instructions in the description and then after applying this patch press 'Recalculate Now' button that appears on the main page of the Statistics report.

      Click on the hyperlink 'Variant 9 of calculated 1' to see the response analysis for variant 9 of the question 'calculated 1'.

      Look at the table titled 'Analysis of responses'. Now there is a '1' in the count for the '[Did not match any answer]' row and other rows have a zero count. Also there is a column in the table 'Actual response' with a '0' in the '[Did not match any answer]' row and nothing in other rows.

      Show
      These changes are covered by unit tests. But you can also manually confirm it is working if you wish, for Moodle 2.7. Follow the instructions in the description and then after applying this patch press 'Recalculate Now' button that appears on the main page of the Statistics report. Click on the hyperlink 'Variant 9 of calculated 1' to see the response analysis for variant 9 of the question 'calculated 1'. Look at the table titled 'Analysis of responses'. Now there is a '1' in the count for the ' [Did not match any answer] ' row and other rows have a zero count. Also there is a column in the table 'Actual response' with a '0' in the ' [Did not match any answer] ' row and nothing in other rows.
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-44981-master

      Description

      Restore the attached quiz backup - a quiz with one calculated question with one student attempt where the student supplied response '0' to the question.

      Click on the quiz statistics report (Quiz Admin -> Results -> Statistics)

      Click on the hyperlink 'Variant 9 of calculated 1' to see the response analysis for variant 9 of the question 'calculated 1'.

      Look at the table titled 'Analysis of responses'. See the Count column. There is a '1' in row '[No Response]' and count in other rows is '0'.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jamiesensei Jamie Pratt
              Reporter:
              jamiesensei Jamie Pratt
              Peer reviewer:
              Tim Hunt
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14