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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.1
    • 1.9.5
    • Gradebook
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              rsturley Steve Turley
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              9 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/May/09