Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46576 Implement Natural aggregation
  3. MDL-47430

Natural aggregation normalizes values to the range mingrade -> maxgrade - it should use 0 -> maxgrade

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8
    • BACKEND
    • Gradebook
    • 13
    • BACKEND Sprint 17

    Description

      While this behaviour is logical - it is different to the old behaviour - and since nothing in the spec says to change it - we need to update the code to work like "sum of grades" used to and write a behat test to lock it in.

      Quick explanation of what should happen:
      Manual grade item with a min grade of 10 and a max grade of 20
      If I get 15 for this item - 20 should be added to the category grademax and 15 added to the total (Assuming automatic weights).

      Manual grade item with a min grade of -10 and a max grade of 20
      If I get 15 for this item - 20 should be added to the category grademax and 15 added to the total (Assuming automatic weights).

      A Scale should use the values 0 - number items in the scale. The first item in the scale gets a grade of 1, 0 is for items set to "No grade"

      Attachments

        Activity

          People

            fred Frédéric Massart
            damyon Damyon Wiese
            John Okely John Okely
            Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: