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

Automatically generate proper min and max values for grade_items in calculation columns

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Each time a calculation is added to the gradebook, the min and max values for that new grade_item default to 0 and 100.

      This causes that, for a lot of calculations, the teacher has to edit the new grade_item in order to move those min and max values to get proper percentages and so on.

      I would propose (alternatively):

      1) Automatically calculate those min and max values for the new grade_item (by applying the formula to the min and max original values). Don't forbid ulterior editing.

      2) Decide, with one check in the formula editing, if that min/max calculation must be performed.

      Note that some formulas can present problems, so situations like max < min should be checked, perhaps defaulting to the default 0...100 interval (and potentially warning to the teacher about that).

      But most "increasing" formulas can use any of the approaches above saving some clicks and headaches to teachers by default.

      Ciao

        Gliffy Diagrams

          Activity

          Hide
          dougiamas Martin Dougiamas added a comment -

          Petr is this still a problem?

          Show
          dougiamas Martin Dougiamas added a comment - Petr is this still a problem?
          Hide
          skodak Petr Skoda added a comment -

          I am afraid there is no automatic way of finding min/max in all cases, we can not make that fully automatic IMO.
          We could add min, max to that form at least and maybe also a "guess" button.

          Do you want it in 1.9.0?

          Show
          skodak Petr Skoda added a comment - I am afraid there is no automatic way of finding min/max in all cases, we can not make that fully automatic IMO. We could add min, max to that form at least and maybe also a "guess" button. Do you want it in 1.9.0?
          Hide
          aborrow Anthony Borrow added a comment -

          One of the Jesuit schools recently pointed this issue out to me. I would think that adding a new item would automatically recalculate the max score given the aggregation type. While I am not familiar with the various details and possibilities, I do believe that we can make some reasonable improvements in this area. I'm going to add Andy on this in case he wants to take it on in his spare time Peace - Anthony

          Show
          aborrow Anthony Borrow added a comment - One of the Jesuit schools recently pointed this issue out to me. I would think that adding a new item would automatically recalculate the max score given the aggregation type. While I am not familiar with the various details and possibilities, I do believe that we can make some reasonable improvements in this area. I'm going to add Andy on this in case he wants to take it on in his spare time Peace - Anthony
          Hide
          drex Mark Drechsler added a comment -

          Hey Petr,

          Just wondering why this can't be done automatically by applying the same calculations to the max values as to the field itself? I am assuming that there is some use case I'm not thinking of which will break this logic, hence your suggestion of making a 'guess' function - even this would be a great feature to have for the folks I know who rely on Gradebook calculations.

          Cheers,

          Mark.

          Show
          drex Mark Drechsler added a comment - Hey Petr, Just wondering why this can't be done automatically by applying the same calculations to the max values as to the field itself? I am assuming that there is some use case I'm not thinking of which will break this logic, hence your suggestion of making a 'guess' function - even this would be a great feature to have for the folks I know who rely on Gradebook calculations. Cheers, Mark.
          Hide
          marina Marina Glancy added a comment -

          We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible.

          ==BLK2YIMP20141121==

          Show
          marina Marina Glancy added a comment - We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible. ==BLK2YIMP20141121==

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: