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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.5
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              rsturley Steve Turley
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              9 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/09