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

Make hashing independent of notebook content #1774

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tuncbkose
Copy link
Contributor

@tuncbkose tuncbkose commented Apr 6, 2023

Currently, changing the content of a submitted notebook breaks feedback distribution (see some discussion in #1202). This is because feedback distribution uses a hash that depends on the notebook content.

This pr aims to solve this issue by duplicating the timestamp.txt mechanism. A submission_secret.txt file containing a random string is created during submission, and the notebook hash is changed to depend only on this file and notebook name.

Should fix #1712

@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2023

Binder 👈 Launch a Binder on branch AaltoSciComp/nbgrader/hash

@danielmaitre
Copy link
Contributor

I like this solution and would also solve some of the issues I am facing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

different hashing in release_feedback and fetch_feedback
3 participants