Google Classroom calculates grades by taking the sum of the total points a student achieved and dividing it by the sum of the maximum amount of points they could've achieved within each grade category.
What was expected was that you'd take the average of the grade achieved on each assignment to get an overall average within each grade category.
max grades: [5, 5, 5, 100]
achieved grades: [4, 3.5, 4, 85]
percent achieved: [0.8, 0.7, 0.8, 0.85]
Expected: (0.8 + 0.7 + 0.8 + 0.85) / 4 = 0.788
Google Classroom Calculation:
Sum of Maximum Points = 5 + 5 + 5 + 100 = 115
Sum of Achieved Points = 4 + 3.5 + 4 + 85 = 96.5
Average = 96.5 / 115 = 0.839