jupyter / nbgrader

A system for assigning and grading notebooks
https://nbgrader.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.3k stars 317 forks source link

Can I auto-grade one student only instead of re-auto-grade all the student #1858

Open sagihaider opened 10 months ago

sagihaider commented 10 months ago

One of the student submitted late. I want to auto-grade him individually and is there any way? To grade only one student only I need to re-auto-grade all the student. Any solution, please?

lahwaacz commented 9 months ago

There is a way: you can run the collect, autograde, generate_feedback and release_feedback commands individually for a single student and assignment:

assignment="some-name"
student="student-id"
nbgrader collect --assignment=$assignment --student=$student --update
nbgrader autograde --assignment=$assignment --student=$student
nbgrader generate_feedback --assignment=$assignment --student=$student
nbgrader release_feedback --assignment=$assignment --student=$student

You can also autograde, generate_feedback and release_feedback from the "graphical" interface, but collecting an individual assignment is available only via command-line.