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

Lesson using a scale always gives the minimum scale value

    XMLWordPrintable

    Details

    • Testing Instructions:
      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

         "*****"

        for you gradebook score.

      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.
    • Workaround:
      Hide

      Use a grade value out of 5

      Show
      Use a grade value out of 5
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      mdl43020-master

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14