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

sum aggregation doesn't handle extra credit, drop low, and blank grades properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.5
    • 1.9.1
    • Gradebook
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      There are three problems with the sum aggregation within categories. The first is that if you are dropping low or high scores, the scores are dropped from the sum correctly, but not from the total possible (making percentages wrong). Secondly, extra credit points could be dropped as the lowest grades (they should never be dropped). Thirdly, a blank grade (ungraded) is not included in the sum even if aggregating all items is chosen unless drop low is also checked. It should be included whether or not drop low is checked. I have attached a revised version of grade_category.php which has changes to the functions sum_grades and apply_limit_rules which fix these problems.

            skodak Petr Skoda (Inactive)
            rsturley Steve Turley
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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