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

Competition validation: early puzzle submission #9219

Open
timreyn opened this issue Apr 14, 2024 · 1 comment
Open

Competition validation: early puzzle submission #9219

timreyn opened this issue Apr 14, 2024 · 1 comment
Labels
META: good second issue More involved than first issue, these help get a deeper understanding of the codebase project: competition form TECH: ruby Requires knowledge of Ruby

Comments

@timreyn
Copy link
Contributor

timreyn commented Apr 14, 2024

Is your feature request related to a problem? Please describe.
Based on feedback from WCAT, my understanding is that any time there is a multi blind submission activity on the schedule, it's required to select the early_puzzle_submission box. This is a manual step that is easy to forget.

Describe the solution you'd like
Add a validation to Competition to ensure that, if there are any "other-multi" schedule activities, early_puzzle_submission must be checked.

Describe alternatives you've considered

  • Automatically set this field when a corresponding schedule activity is added (seems difficult)
  • Instead of having this as a field in the competition form, have it be computed based on the schedule (this only works for multi blind; if any other events have early puzzle submission, this would miss those)
@dunkOnIT
Copy link
Contributor

Asking WCAT about auto-setting the field when a corresponding schedule activity is added as that seems like it might be the best solution

@dunkOnIT dunkOnIT added project: competition form TECH: ruby Requires knowledge of Ruby META: good second issue More involved than first issue, these help get a deeper understanding of the codebase labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
META: good second issue More involved than first issue, these help get a deeper understanding of the codebase project: competition form TECH: ruby Requires knowledge of Ruby
Projects
None yet
Development

No branches or pull requests

2 participants