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

Fix resetting between competitions #115

Open
ChandlerSwift opened this issue Jan 20, 2021 · 0 comments
Open

Fix resetting between competitions #115

ChandlerSwift opened this issue Jan 20, 2021 · 0 comments

Comments

@ChandlerSwift
Copy link
Member

When ending one competition and beginning another, even when the database is cleared, it is possible that remnants of an old competition will linger. The one that bit us last competition is that the gold container wasn't rebuilt, so the calc competition was testing against jas's gold!

This should definitely be documented, and preferably we should add some more detailed checks when starting a competition. Perhaps this could take the form of hashing gold like we do users' programs? We already have a hash_dir function; this would also help for when we change gold like in #45.

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

No branches or pull requests

1 participant