Skip to content

feat(grades-upload): show more information on grading sheet submitted

This creates some statistics on the grading sheet submitted by an instructor where it shows how many grades have been modified, how many remained the same, the total number of students, the number of ungraded students and newly graded ones in the given sheet. To achieve it, it fetches the grading sheet in csv, parses it and on submission it calculates each field of the submissionSubs object. It implements the IExamImport interface which contains all of the above fields. It also elevates the grading sheet fetch to its own method so that it can be used to download the xslx for the instructor and the csv for the statistics.

First submission:

Screenshot_from_2022-01-25_13-56-53

Subsequent submission:

Screenshot_from_2022-01-25_14-12-28

Merge request reports