Should grades in upload file replace assignment grades in gradebook even when they are the same?

Should grades in upload file replace assignment grades in gradebook even when they are the same?

by Michael Spall -
Number of replies: 2
Picture of Core developers Picture of Testers

See:

MDLQA-8106 A teacher can copy and paste grades from a spreadsheet into the gradebook

https://tracker.moodle.org/browse/MDLQA-8106

I passed this test, but I had a question about uploading grades from the spreadsheet that matched the grade in the gradebook. In my tests, grades that were the same in the gradebook and in the OpenDocument were replaced. As an example if there is a dash in the gradebook for an assignment and in the OpenDocument that is being pasted in, the grade changes from a dash without an override to a dash from a grade override. This doesn't change the score, but can have a negative effect if you wanted to upload a few grades from the spreadsheet and then grade the rest from the activity.

In reply to Michael Spall

Re: Should grades in upload file replace assignment grades in gradebook even when they are the same?

by steve miley -

Michael - you should look at 

https://github.com/lsuits/grade_import_verboseimport

its a copy of the import tool, but very resilient.

it also has an option in the code where you can change whether identical grades are updated or ignored.   we've ported it to 2.8, and collaborated with umn on improving it. 



In reply to steve miley

Re: Should grades in upload file replace assignment grades in gradebook even when they are the same?

by Bob Puffer -

Where does/ will the improved version reside?