-
Notifications
You must be signed in to change notification settings - Fork 2
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
nbgrader autograde does not find submissions #168
Comments
Yes.... this is a complication due to poor design on our part in the early days. I really do need to correct this [the whole "multi-marker" thing is something from our in-house service that moves the whole root directory to a different NFS mount, and thus outside a users quota] |
There is an nbgrader option
It could be easily overridden in |
Because I was not clever then.... and it's now biting me [others] |
@perllaghu That was not meant to be an offence. :-) I just verified that adding the next line to
successfully changes the the submissions directory for both formgrader and the command line actions even with |
Oh.... absolutely not taken as an offence: I made some very poor choices in the early days, and "painted myself into a corner" - and was stuck with what I had written. In retrospect, changing the config would be the way to go.... however I didn't [and keep getting side-tracked with other work to fix it properly] Keep these observations/suggestions/comments coming - and feel free to fork & offer feedback :) |
We prefer running autograde from the command line rather than from the formgrader so that one can autograde all submissions of a single assignment at the same time. However, with default settings
nbgrader autograde
does not seem to find the downloaded submissions:It seems to be that in formgrader the submissions are downloaded to the directory
collected
rather thansubmitted
.Looks like the autograder in formgrader is able to find the submissions in the different directory.
Upon the closer inspection of the source code, there appears to be an (undocumented) flag
NAAS_FEATURE_MULTI_MARKERS
that reverts the submitted directory to the nbgrader default location:nbexchange/nbexchange/plugin/list.py
Lines 309 to 320 in 985796a
So, a workaround to this problem is to set, e.g.,
Still, it would be nice to make sure that the autograder command would work even without setting this flag.
The text was updated successfully, but these errors were encountered: