Moodle

Calculations do not pick up on some settings - should they?

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9
  • Component/s: Gradebook
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

This confused me for a while so I thought I'd raise it here for your consideration.

Two issues

  • 'what numbers are used in calculations'; i.e. do calculations use reals or percentages?
  • should calculations take account of settings controlling the use of 'all'/'non-empty' grades?

Example:
I have 3 quizzes in one category.
My scores in the Gradebook are shown as percentages.
I show the average for the category - the 'calculation' field is empty.
The average is shown as a percentage.

Now
I complete the 'calculation' field with '=average([[quiz1]],[[quiz2]],[[quiz3]])'
And the resulting average is shown as a real.
And the calculation uses all entries - even though my aggregation for this course is to use non-empty grades.

So I have two ways of calculating the average for these three quizzes which give very different outcomes and that is somewhat confusing.

Activity

Hide
Petr Škoda (skodak) added a comment -

All values are converted to fit interval <0;1> where 0 means grademin and 1 grademax. After the aggregation the result is scaled to the min/max of the grade item with calculation.

Show
Petr Škoda (skodak) added a comment - All values are converted to fit interval <0;1> where 0 means grademin and 1 grademax. After the aggregation the result is scaled to the min/max of the grade item with calculation.
Hide
Philip Butcher added a comment -

Then what you should do is state this clearly in the documentation and also state that it is 'all' values. Then close this item.

OK I'm going to sign off for now. It's been an intensive, and enjoyable(!?), few months and we've come a very long way. Let me return your compliment and record my thanks for all your efforts.

As I said in my previous mail we're going to start with a more comprehensive set of tests later this month, and we're going to involve a wider group of staff. I would like to think that we won't throw up too many new issues but if we do I'll meet you here again in December.

Show
Philip Butcher added a comment - Then what you should do is state this clearly in the documentation and also state that it is 'all' values. Then close this item. OK I'm going to sign off for now. It's been an intensive, and enjoyable(!?), few months and we've come a very long way. Let me return your compliment and record my thanks for all your efforts. As I said in my previous mail we're going to start with a more comprehensive set of tests later this month, and we're going to involve a wider group of staff. I would like to think that we won't throw up too many new issues but if we do I'll meet you here again in December.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: