- Download Jupyter notebooks from Canvas.
- Move notebooks into a folder named
submissions/{assignment_name}. The assignment name must match the name in nbgrader. - Run
python canvas2nbgrader.py. The result copies submissions to the submitted folder using student Canvas IDs. - Run
nbgrader autograde {assignment_name}to grade notebooks. - Run
nbgrader exportto update thegrades.csvfile. - Run
python nbgrader2canvas.pyand enter the Canvas ID of the course and assignment (located in the URL of the assignment page). The script requires your Canvas token saved in a file calledtoken.txt. The script uploads the grade and autograded notebook to Canvas for each student. The fileupload_log.csvrecords which autograded notebooks have been uploaded so that you can run the script again and it will skip over the students whose autograded notebook has not changed.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|