Moodle
  1. Moodle
  2. MDL-11483

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      3872

      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

        Activity

        Eloy Lafuente (stronk7) created issue -
        Martin Dougiamas made changes -
        Field Original Value New Value
        Assignee Yu Zhang [ lazyfish ] Petr Skoda [ skodak ]
        Petr Škoda made changes -
        Fix Version/s 1.9 [ 10190 ]
        Petr Škoda made changes -
        Assignee Petr Skoda [ skodak ] moodle.com [ moodle.com ]
        Martin Dougiamas made changes -
        Workflow jira [ 22664 ] MDL Workflow [ 42580 ]
        Martin Dougiamas made changes -
        Workflow MDL Workflow [ 42580 ] MDL Full Workflow [ 70995 ]

          People

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

            Dates

            • Created:
              Updated: