Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude students when autograding #1157

Closed
rkdarst opened this issue Jun 12, 2019 · 2 comments
Closed

Exclude students when autograding #1157

rkdarst opened this issue Jun 12, 2019 · 2 comments
Milestone

Comments

@rkdarst
Copy link
Contributor

rkdarst commented Jun 12, 2019

Autograde has a --student option, which limits to autograde only one student. Sometimes, autograde fails for unknown reasons (currently bumping against metadata updates), but it's concievable that there could be more. It would be useful for me to have the equivalent of --skip-students option which skips the given student IDs (for example, comma separated list).

Right now I have a hack where, if it fails, I run ls submitted/ | grep -v (bad usernames) | cut -d/ -f1 | xargs -i nbgrader autograde [...] [assignment_name] --student={}, which basically re-invokes for each student explicitly using --student - it's not perfect because it also invokes for students who haven't submitted.

This is related to "don't stop if there is an error with one notebook", and #1083 somewhat. There have been some recent updates to metadata handling, which may solve an immediate problem, but this could still be useful...

I'm using what was approximately master before the hackathon, Linux.

@jhamrick jhamrick added this to the 0.7.0 milestone Jun 16, 2019
@jhamrick
Copy link
Member

Yes, seems reasonable to add something like this. Ideally we'll find all the ways that nbgrader fails during grading and handle them a bit more gracefully, but I think this is a nice fallback option as I expect there will always be some edge cases.

@rkdarst
Copy link
Contributor Author

rkdarst commented Jan 19, 2022

done in #1179 long ago.

@rkdarst rkdarst closed this as completed Jan 19, 2022
@jhamrick jhamrick modified the milestones: 0.8.0, 0.7.0 May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants