Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-14894

CLONE - Grade aggregation without categories works



    • Type: Functional Test
    • Status: Passed
    • Priority: Critical
    • Affects Version/s: Moodle 3.10
    • Fix Version/s: Moodle 3.10
    • Component/s: Grades
    • Labels:


      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 the edit icon next to the course name in the Actions column.
        • 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 the edit icon next to the course name in the Actions column.
      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-14894-01.png
          137 kB
        2. MDLQA-14894-02.png
          159 kB
        3. MDLQA-14894-03.png
          152 kB
        4. MDLQA-14894-04.png
          152 kB
        5. MDLQA-14894-05.png
          153 kB
        6. MDLQA-14894-06.png
          141 kB
        7. MDLQA-14894-07.png
          139 kB
        8. MDLQA-14894-08.png
          136 kB
        9. MDLQA-14894-09.png
          135 kB



            abgreeve Adrian Greeve
            0 Vote for this issue
            0 Start watching this issue