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

Store and display correct values for grades that use scales in Grade history

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.8.5
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide

      1. Set up a course with a student
      2. Set up a scale in grade administration with example values (including commas):
      "2, 2.5, 3, 3.5, 4, 4.5, 5" (Scale used in universities in Poland)
      3. Set up some grades items, that use this scale
      4. Grade the same student on those items several times, but use different grades to fill grade history
      5. Go to grade report - grades using scale are displayed correctly
      (e.g "3.5", "4.5")
      6. Go to grade history (/grade/report/history/) - only numeric values of grades are displayed
      (e.g. "4.00" instead of "3.5", "6.00" instead of "4.5")
      7. Apply patch from Pull 2.8 Diff URL
      8. Open grade history again (possibly in another window)
      9. Compare the grade history with step 6 - make sure that grades using scale are displayed correctly

      Ranges:
      10. Open grader report (/grade/report/grader/) - last grades using scale should be displayed correctly
      11. For selected student open User report (/grade/report/user/) in another window - Grade and Range should be displayed using scale
      12. For the same student open Single view (/grade/report/singleview/) in another window - make sure that Grade and Range are displayed using scale

      Missing scales:
      13. Edit grade item settings and set grade type to Point and maximum points to 100 (default)
      14. Go and check: Grade history, User report and Single view - grades should be numeric now (rescaled accordingly to range)
      15. Edit grade item settings and set grade type to Scale and select back the same Scale as in step 2
      16. Go and check: Grade history, User report and Single view - Grades and Ranges using the scale should be displayed correctly
      17. If possible, remove the scale from 'mdl_scale' table in database using SQL
      (very non-typical situation, since removal of used scales is prevented by Moodle)
      18. Go and check Grade history, User report and Single view - grades that use forsibly removed scale should be numeric again with comment: "(Error)"
      19. Go and check: User report and Single view - Grades and Ranges should contain "Error" or "Error-Error"

      Show
      1. Set up a course with a student 2. Set up a scale in grade administration with example values (including commas): "2, 2.5, 3, 3.5, 4, 4.5, 5" (Scale used in universities in Poland) 3. Set up some grades items, that use this scale 4. Grade the same student on those items several times, but use different grades to fill grade history 5. Go to grade report - grades using scale are displayed correctly (e.g "3.5", "4.5") 6. Go to grade history (/grade/report/history/) - only numeric values of grades are displayed (e.g. "4.00" instead of "3.5", "6.00" instead of "4.5") 7. Apply patch from Pull 2.8 Diff URL 8. Open grade history again (possibly in another window) 9. Compare the grade history with step 6 - make sure that grades using scale are displayed correctly Ranges: 10. Open grader report (/grade/report/grader/) - last grades using scale should be displayed correctly 11. For selected student open User report (/grade/report/user/) in another window - Grade and Range should be displayed using scale 12. For the same student open Single view (/grade/report/singleview/) in another window - make sure that Grade and Range are displayed using scale Missing scales: 13. Edit grade item settings and set grade type to Point and maximum points to 100 (default) 14. Go and check: Grade history, User report and Single view - grades should be numeric now (rescaled accordingly to range) 15. Edit grade item settings and set grade type to Scale and select back the same Scale as in step 2 16. Go and check: Grade history, User report and Single view - Grades and Ranges using the scale should be displayed correctly 17. If possible, remove the scale from 'mdl_scale' table in database using SQL (very non-typical situation, since removal of used scales is prevented by Moodle) 18. Go and check Grade history, User report and Single view - grades that use forsibly removed scale should be numeric again with comment: "(Error)" 19. Go and check: User report and Single view - Grades and Ranges should contain "Error" or "Error-Error"
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      1. Set up a course with a student
      2. Set up a scale in grade administration with example values:
      "2, 2.5, 3, 3.5, 4, 4.5, 5" (Scale used in universities in Poland)
      3. Set up some grades items, that use this scale
      4. Grade the same student on those items several times, but use different grades to fill grade history
      5. Go to grade report - grades from scale are displayed correctly
      (e.g "3.5", "4.5")
      6. Go to grade history - only numeric values of grades are displayed
      (e.g. "4.00" instead of "3.5", "6.00" instead of "4.5")

      A word of note:
      When browsing assignments and gradebook, grades are displayed correctly (that is, scales are correctly taken into account).
      Only Grade history is inconsistent regarding to scales.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: