Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-17983

CLONE - Grade aggregation without categories works


    • Icon: Functional Test Functional Test
    • Icon: Critical Critical
    • Moodle 4.3
    • Moodle 4.3
    • Grades
    • None

      For this test, while not necessary, it is helpful to have two browsers (ie Firefox and IE) or two computers so you can use Moodle as two separate users. One teacher and one student.


      1. A course containing 4 grade items. 3 of which should contain marks for your test student. The fourth should contain no grade. Using overridden grades is ok for this test. You may want to override the student's grades with grades that make manual verification of aggregated grades easy. Three grade items with grades of 1, 5 and 10 for example.
      2. Admin access to update Grade category settings.


      1. As admin follow Site administration ► Grades ► Grade category settings
        • Uncheck "Hide forced settings"
        • Set "Aggregation" as "Mean of Grades"
        • Select all options in "Available aggregation types"
      2. Click Save changes.
      3. As a teacher create a student with four grade items with grades 1, 5, 10 and with one grade item with no grade. All grade items should have a maximum grade of 10.
      4. Go to Grade administration ► Setup ► Gradebook setup. Click on 'Edit category' from the dropdown menu in the actions column of the course category item.
        • Set "Aggregation" to "Mean of grades"
        • Check that "Exclude empty grades" is ticked. Click save changes.
        • Set "Maximum grade" to "10.00"
      5. As the student view the user report. Verify that the four grade items are displayed within the course and that the course total is 5.33.
      6. As the teacher set the course aggregation method to "weighted mean of grades." Set the weights to be 2 (for grade of 1), 1 (for grade of 5) and 1 (for grade of 10).
      7. As the student reload the user report and verify that the course total is 4.25
      8. Repeat with aggregation set to "simple weighted mean". Untick the "extra credit" field next to any grade items if it is ticked. Course total should be 5.33
      9. Repeat with the other aggregation methods such as highest grade (10) and natural (16). If the extra credit text box is available make sure it is not ticked. Additional information to assist with calculating aggregate grades can be found at http://moodle.grok.lsu.edu/article.aspx?articleid=7301 if needed. Bear in mind that the ungraded item is ignored so only the 3 graded items are included in the calculations. Take in to account that when you switch from Natural to another type of aggregation your maximum course grade will be reset to 100.
      10. As the teacher go to Grade administration ► Setup ► Gradebook setup. Click on 'Edit category' from the dropdown menu in the actions column of the course category item.
      11. Uncheck "Exclude empty grades". Click save changes.
      12. Repeat the above. This time the ungraded item should be included so there are 4 grades to be aggregated. 0, 1, 5 and 10. Be aware that if you last aggregation is "natural" your maximum course grade may be reseted to 100 again, to check it before continuing the test.

        1. MDLQA-17983_step 12_1.png
          MDLQA-17983_step 12_1.png
          153 kB
        2. MDLQA-17983_step 12_2.png
          MDLQA-17983_step 12_2.png
          149 kB
        3. MDLQA-17983_step 12_3.png
          MDLQA-17983_step 12_3.png
          142 kB
        4. MDLQA-17983_step 12_4.png
          MDLQA-17983_step 12_4.png
          157 kB
        5. MDLQA-17983_step 12_5.png
          MDLQA-17983_step 12_5.png
          121 kB
        6. MDLQA-17983_step4.webm
          2.79 MB
        7. MDLQA-17983_step 5 and 7.png
          MDLQA-17983_step 5 and 7.png
          154 kB
        8. MDLQA-17983_step 8.png
          MDLQA-17983_step 8.png
          77 kB
        9. MDLQA-17983_step 9_1.png
          MDLQA-17983_step 9_1.png
          148 kB
        10. MDLQA-17983_step 9_2.png
          MDLQA-17983_step 9_2.png
          155 kB
        11. MDLQA-17983_step 9_3.png
          MDLQA-17983_step 9_3.png
          116 kB

            andelacruz Angelia Dela Cruz
            0 Vote for this issue
            2 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.