-
Notifications
You must be signed in to change notification settings - Fork 50
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 issue with contest voting pooling #1000
Conversation
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.
Overall looks okay, but perhaps instead simply just modifying the existing test cases to account for this behaviour, could you create new test cases to explicitly account for this new change? The test coverage is dropping by 0.5% otherwise, which is quite significant.
Thanks!
Update: have added the tests! Coverage is now -0.05% |
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.
LGTM. This does mean that if a contest closes in the middle of the day, voting for that contest cannot commence until at least the day after (unless the voting file is only uploaded after the assessment itself closes, then the voting will then begin immediately).
Thanks for the fix and the comprehensive tests!
PR to fix issue with the voting file only taking the entries submitted before point of upload and not until the contest closes.
One of these two "trigger events" will possibly release entries into the voting pool: