gradetools icon indicating copy to clipboard operation
gradetools copied to clipboard

Use `student_identifier` only to get files

Open gklarenberg opened this issue 2 years ago • 0 comments

I used this package this past summer semester and made some changes/updates. When you download assignments from Canvas, it gives every file a unique number (aside from the student identifier) and also keeps the name that the students gave the file. So all files have different names. Same with when people submit assignments late via email. So I added the option to search for assignment files by student_identifier only. You do still need to give the full file name of the first student (I'd like to change this too though). I implemented the change by defining an assignment_folder = argument, which is the name of the folder where the assignment files are stored. This assumes that this folder only contains assignments. I can still work on error proofing this. I also added an argument for the number of assignment parts, to make sure this feature doesn't break. The main code changes are in core_assist_grading, with an if-else statement. I am really new to making packages so I haven't updated any of the comments at the top of the scripts, but can do that if you prefer. I haven't tested this new code with the team grading option, or pushing things to GitHub...

gklarenberg avatar Aug 15 '22 19:08 gklarenberg