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

Lesson grade handling is buggy when scales in use

    XMLWordPrintable

Details

    • MOODLE_28_STABLE, MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MOODLE_311_MDL-48633
    • master-MDL-48633
    • Hide

      Setup

      1. Create a course.
      2. Create 4 users.
      3. Enrol users to the course.
      4. Restore 2 attached activities or create them manually with the following steps.
      5. Create lesson activity with the following settings:
        • Set lesson name to Lesson (score).
        • Set Grade type to Scale.
        • Set Scale to Separate and Connected ways of knowing.
        • Set Allow student review to Yes.
        • Set Re-takes allowed to Yes.
        • Edit the lesson and add 3 true/false questions.
        • Duplicate Lesson (score) activity and rename it to Lesson (point).
        • Edit Lesson (point) activity.
        • Set Grade type to Point_.
        • Set Maximum grade to 100.

      Testing instructions

      1. Log in as User 1.
      2. Attempt Lesson (score) and answer all 3 questions correctly.
      3. Confirm, that after completing the lesson Your score is 3 (out of 3) is displayed.
      4. Confirm, that Your current grade is Mostly connected knowing is displayed.
      5. Attempt Lesson (point) and answer all 3 questions correctly.
      6. Confirm, that after completing the lesson Your score is 3 (out of 3) is displayed.
      7. Confirm, that Your current grade is 100.0 out of 100 is displayed.
      8. Log in as User 2.
      9. Attempt Lesson (score) and answer only 2 questions correctly.
      10. Confirm, that after completing the lesson Your score is 2 (out of 3) is displayed.
      11. Confirm, that Your current grade is Separate and connected is displayed.
      12. Attempt Lesson (point) and answer 2 questions correctly.
      13. Confirm, that after completing the lesson Your score is 2 (out of 3) is displayed.
      14. Confirm, that Your current grade is 66.7 out of 100 is displayed.
      15. Log in as User 3.
      16. Attempt Lesson (score) and answer only 1 question correctly.
      17. Confirm, that after completing the lesson Your score is 1 (out of 3) is displayed.
      18. Confirm, that Your current grade is Mostly separate knowing is displayed.
      19. Attempt Lesson (point) and answer only 1 question correctly.
      20. Confirm, that after completing the lesson Your score is 1 (out of 3) is displayed.
      21. Confirm, that Your current grade is 33.3 out of 100 is displayed.
      22. Log in as User 4.
      23. Attempt Lesson (score) and answer all questions incorrectly.
      24. Confirm, that after completing the lesson Your score is 0 (out of 3) is displayed.
      25. Confirm, that Your current grade is Mostly separate knowing is displayed.
      26. Attempt Lesson (point) and answer all questions incorrectly.
      27. Confirm, that after completing the lesson Your score is 0 (out of 3) is displayed.
      28. Confirm, that Your current grade is 0.0 out of 100 is displayed.
      Show
      Setup Create a course. Create 4 users. Enrol users to the course. Restore 2 attached activities or create them manually with the following steps. Create lesson activity with the following settings: Set lesson name to Lesson (score) . Set Grade type to Scale . Set Scale to Separate and Connected ways of knowing . Set Allow student review to Yes . Set Re-takes allowed to Yes . Edit the lesson and add 3 true/false questions. Duplicate Lesson (score) activity and rename it to Lesson (point) . Edit Lesson (point) activity. Set Grade type to Point_. Set Maximum grade to 100. Testing instructions Log in as User 1. Attempt Lesson (score) and answer all 3 questions correctly. Confirm , that after completing the lesson Your score is 3 (out of 3)  is displayed. Confirm , that Your current grade is Mostly connected knowing is displayed. Attempt Lesson (point) and answer all 3 questions correctly. Confirm , that after completing the lesson Your score is 3 (out of 3)  is displayed. Confirm , that Your current grade is 100.0 out of 100 is displayed. Log in as User 2. Attempt Lesson (score) and answer only 2 questions correctly. Confirm , that after completing the lesson Your score is 2 (out of 3)  is displayed. Confirm , that Your current grade is Separate and connected is displayed. Attempt Lesson (point) and answer 2 questions correctly. Confirm , that after completing the lesson Your score is 2 (out of 3)  is displayed. Confirm , that Your current grade is 66.7 out of 100 is displayed. Log in as User 3. Attempt Lesson (score) and answer only 1 question correctly. Confirm , that after completing the lesson Your score is 1 (out of 3)  is displayed. Confirm , that Your current grade is Mostly separate knowing is displayed. Attempt Lesson (point) and answer only 1 question correctly. Confirm , that after completing the lesson Your score is 1 (out of 3)  is displayed. Confirm , that Your current grade is 33.3 out of 100 is displayed. Log in as User 4. Attempt Lesson (score) and answer all questions incorrectly. Confirm , that after completing the lesson Your score is 0 (out of 3)  is displayed. Confirm , that Your current grade is Mostly separate knowing is displayed. Attempt Lesson (point) and answer all questions incorrectly. Confirm , that after completing the lesson Your score is 0 (out of 3)  is displayed. Confirm , that Your current grade is 0.0 out of 100 is displayed.

    Description

      Steps to reproduce:

      1. As teacher add a lesson to a course
      2. Enable grading as scales
      3. Add a true/false question
      4. As student attempt the lesson

      At the end of the lesson the student will see:
      Your current grade is -1.0 out of -1

      Attachments

        1. Lesson (point).mbz
          4 kB
        2. Lesson (score).mbz
          4 kB
        3. MDL-48633_1.png
          MDL-48633_1.png
          61 kB
        4. MDL-48633_2.png
          MDL-48633_2.png
          59 kB
        5. MDL-48633_3.png
          MDL-48633_3.png
          61 kB
        6. MDL-48633_4.png
          MDL-48633_4.png
          59 kB
        7. MDL-48633_5.png
          MDL-48633_5.png
          61 kB
        8. MDL-48633_6.png
          MDL-48633_6.png
          59 kB
        9. MDL-48633_7.png
          MDL-48633_7.png
          62 kB
        10. MDL-48633_8.png
          MDL-48633_8.png
          59 kB

        Issue Links

          Activity

            People

              mikhailgolenkov Misha Golenkov
              poltawski Dan Poltawski
              cameron1729 cameron1729
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Angelia Dela Cruz Angelia Dela Cruz
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/May/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m