This is a very slightly changed fork of moodle_nbgrader by johnhw.
Assuming you have an assignment called <assignment> (e.g. week_2_numerical_ii)
-
From Moodle, select assignment
-
View All Submissions -
Reveal student identities -
Choose
Download All Submissionsfrom top dropdown (MAKE SUREDownload submissions in foldersis OFF) -
Copy archive to
imports/<assignment>.zip -
Choose
Download grading worksheet -
Copy CSV to
imports/<assignment>.csvpython collect_files.py <assignment> <workbook_name>
Example:
python collect_files.py week_2_numerical_ii lab_2
Run:
nbgrader autograde <assignment>
to grade the files
Then run:
python update_gradesheet.py <assignment>
This will produce:
exports/<assignment>.csvfor upload asUpload grading worksheetexports/<assignment>_feedback.zipfor upload asUpload multiple feedback files as zip
- in Moodle, enable offline gradebook and feedback files in the assignment
- Create assignment in formgrader
- Edit assignment and validate
- Hit "Generate" in formgrader
- Or use
nbgrader assign <assignment> --force python release_zip.py <assignment>to generate the zip file inuploads