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

error in question item stats

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-43369-master
    • 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.

      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.

            jamiesensei Jamie Pratt (Inactive)
            jamiesensei Jamie Pratt (Inactive)
            Tim Hunt Tim Hunt
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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