-
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
Make hashing independent of notebook content #1774
Conversation
I like this solution and would also solve some of the issues I am facing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tuncbkose, let's move forward and merge this one.
Can you rebase on main please ?
Thanks for the review. I'll rebase within a day or two and ping you |
Decouple notebook hash from its content
@brichet rebased. |
Thanks @tuncbkose |
Happy to see this. 🎉 Was manually applying the PR every update. Thanks @tuncbkose |
* Make hashing independent of notebook content Decouple notebook hash from its content * Testing changes for hash changes
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. Asubmission_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