Skip to content

Accept judge_judging_{start,end}_time hackathon constraints - #266

Merged
gregv merged 1 commit into
developfrom
feature/judge-judging-window
Aug 12, 2026
Merged

Accept judge_judging_{start,end}_time hackathon constraints#266
gregv merged 1 commit into
developfrom
feature/judge-judging-window

Conversation

@gregv

@gregv gregv commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Companion to frontend PR opportunity-hack/frontend-ohack.dev#341.

The judge application's judging window (previously hardcoded 3:00–5:30 PM) is now per-event admin config. This adds the two new HH:MM constraint keys to hackathon validation, generalizing the existing judge_venue_arrival_time check into a shared JUDGE_TIME_CONSTRAINT_KEYS loop in both validate_hackathon_data and validate_hackathon_data_partial (invalid values are skipped with a reason on the partial path, same as arrival time).

Verified: valid times pass both validators; malformed values raise (full) / skip-and-report (partial).

🤖 Generated with Claude Code

New per-event HH:MM constraints driving the judging-window copy on the
judge application (frontend falls back to 3:00/5:30 PM when unset).
Generalizes the judge_venue_arrival_time validation into a shared
JUDGE_TIME_CONSTRAINT_KEYS loop in both validate_hackathon_data and
validate_hackathon_data_partial.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gregv
gregv merged commit 4be5adb into develop Aug 12, 2026
6 checks passed
@gregv
gregv deleted the feature/judge-judging-window branch August 12, 2026 04:08
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

Successfully merging this pull request may close these issues.

1 participant