We provide support for a tool called Otter-Grader through which graded assignments based on the Jupyter Notebook format can be automatically graded using unit tests.
Compared to traditional graded assignments, auto-graded assignments involve the following specific tasks:
- Prepare the assignment: you use Otter to structure your assignment and to develop the unit tests that will be used to grade students’ code. This task, which can be done directly on noto, results in two outcomes:
- A notebook where the solution code has been removed, which can be distributed to students using our assignment workflow as described on this page.
- A “grader”, i.e. a set of files that will be used by Otter to grade the notebooks submitted by students.
- Grade students’ submissions: you use Otter to run the tests you have written in task 1 against the notebooks submitted by students. This task can also be done on noto, and as a result you will get a CSV file with the points obtained on the different tests as well as the overall grade for each submission.
The resulting grades can then be uploaded to moodle for instance.
If you are interested in this solution, don’t hesitate to contact us for more information.