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

error in question item stats

    XMLWordPrintable

    Details

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

      I added a test for the subq calculations to 2.6 and 2.7 but to backport these tests to older versions would take some time. The older versions' stats calculations are covered by unit tests though, just not the actual subq calculations. The older tests at least prove that nothing is broken by the fix and the newer ones prove that the stats for subquestions are now correct.

      Show
      I added a test for the subq calculations to 2.6 and 2.7 but to backport these tests to older versions would take some time. The older versions' stats calculations are covered by unit tests though, just not the actual subq calculations. The older tests at least prove that nothing is broken by the fix and the newer ones prove that the stats for subquestions are now correct.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-43369-master

      Description

      There is an error in the code that calculates stats for subquestions (a randomly selected question). All the stats calculations should be calculated over just the attempts where the sub question appears but the code uses the average of total grades over all attempts at the question in covariance and variance calculations.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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