Moodle
  1. Moodle
  2. MDL-18772

Empty category is worth 100 points and is included in the course total

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
    • Fix Version/s: 1.9.5
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Once you add a category to the gradebook, and set Aggregation method to Sum, it defaults to 100 points, even though this category can have nothing inside.
      Those 100 points are included in the calculation of the course total, so students are getting penalized for nothing.
      I believe we should switch the default Max grade to 0 points for categories (and for non-graded items - see MDL-18770).

        Gliffy Diagrams

          Activity

          Hide
          Nicolas Connault added a comment -

          Elena,

          With the 1.9.5 gradebook patch, you can set the maxgrade to anything you want when you create the category. We should not set the default to 0 because it will cause a lot of confusion in the majority of cases, and people will have to go back and change it to a value > 0. Most people that create an empty category actually intend to put items in it, in which case the category's total will adjust automatically.

          For these reasons I don't think this is a bug.

          Show
          Nicolas Connault added a comment - Elena, With the 1.9.5 gradebook patch, you can set the maxgrade to anything you want when you create the category. We should not set the default to 0 because it will cause a lot of confusion in the majority of cases, and people will have to go back and change it to a value > 0. Most people that create an empty category actually intend to put items in it, in which case the category's total will adjust automatically. For these reasons I don't think this is a bug.
          Hide
          Elena Ivanova added a comment -

          I do not think it will adjust.
          I've just put some items there and it stayed at 100 points. Please see the screenshot.
          To fix this, user has to change the aggregation method from Sum to something else (e.g. weighted mean), type the max manually, save, and then switch back to Sum.
          It can be a point of confusion, so I guess this is something to be aware about.

          Show
          Elena Ivanova added a comment - I do not think it will adjust. I've just put some items there and it stayed at 100 points. Please see the screenshot. To fix this, user has to change the aggregation method from Sum to something else (e.g. weighted mean), type the max manually, save, and then switch back to Sum. It can be a point of confusion, so I guess this is something to be aware about.
          Hide
          Petr Skoda added a comment -

          should be solved now together with other similar issues when changing number of items in SUM category

          please test

          Show
          Petr Skoda added a comment - should be solved now together with other similar issues when changing number of items in SUM category please test
          Hide
          Elena Ivanova added a comment -

          Tested. Thank you, worked good!
          (Can you please tell me which other issues were there? Do we have tickets numbers? I am afraid to miss something in my tests )

          Show
          Elena Ivanova added a comment - Tested. Thank you, worked good! (Can you please tell me which other issues were there? Do we have tickets numbers? I am afraid to miss something in my tests )
          Hide
          Petr Skoda added a comment -

          Well, the sum max was updated only if some grades already existed, now it is updated always when calculating final grades.

          Show
          Petr Skoda added a comment - Well, the sum max was updated only if some grades already existed, now it is updated always when calculating final grades.
          Hide
          Helen Foster added a comment -

          Elena, thanks for your report, and Petr, thanks for fixing

          Show
          Helen Foster added a comment - Elena, thanks for your report, and Petr, thanks for fixing

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: