Lesson using a scale always gives the minimum scale value

XMLWordPrintable
• Bug
• Resolution: Fixed
• Major
• 2.3.10, 2.4.7, 2.5.3, 2.6
• MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
• MOODLE_25_STABLE, MOODLE_26_STABLE
• mdl43020-master
• Hide

Use a grade value out of 5

Show
Use a grade value out of 5
• Easy
• Hide

Create a scale like:

• Name: "Out of 5"
• Scale:

 `"*,**,***,****,*****"`

Create a lesson

• Using this scale
• Create a few questions
Do the lesson as a student
• Get all the questions right and you will get

 ` "*****"`

Show
Create a scale like: Name: "Out of 5" Scale: "*,**,***,****,*****" Create a lesson Using this scale Create a few questions Do the lesson as a student Get all the questions right and you will get "*****" for you gradebook score.

Lesson using a scale always gives the minimum scale value because when calculating out of 100% it is always negative. Therefore gradebook gives the minimum grade.

When converting a score to a scale, use scale's grade maximum to calculate it.

(score * scale max grade) / 100

Tim Lock
Tim Lock
Rossiani Wijaya
Dan Poltawski
Ankit Agarwal