Use student_identifier
only to get files
#17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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...