-
Notifications
You must be signed in to change notification settings - Fork 317
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
Copy integrity #1755
base: main
Are you sure you want to change the base?
Copy integrity #1755
Conversation
Thanks @tuncbkose.
Can you add tests on it please ?
For the others commit do you have a workflow how to reproduce the error ? |
All of these came into play when files had wrong permissions (which was a concern for us, in case something might go wrong in mounting network drives). They are easily reproducible if you remove read rights from a notebook and try to submit it, for example. I am not sure if I can do a similar thing for a test (or rather if it is a good idea), so I'll try to come up with something else. Let me know if you have any suggestions. |
…s some copying error
I am slowly working on adding tests, but the following might be worth noting: Currently, pressing the "fetch feedback" button when feedback is not available does nothing from the users' perspective. In my experience, this has led students to wonder if the button was working properly. In the current state of the PR, pressing the button when feedback is not available will create an error dialogue with "Fetch Failed: feedback not fetched" and the traceback. Even though the traceback at the end includes "Assignment not found at ...", it may be unreasonable to expect students to infer from this that feedback is not available. This change in my opinion is pretty neutral, but it might be worth changing the default error message to something like "Feedback not available or something went wrong". |
2ca5a29
to
af5fe32
Compare
Is there a way to set some nbgrader configuration for a single test? Only 783e0d2 remains untested, but it applies only when |
fetch/fetch_feedback
failstry/except/finally
to ensure that in the event of an error, already copied files have correct permissionstry/except
to ensure that even if not all files were copied,timestamp.txt
is still created and feedback workflow doesn't break later