Add PLAY Session Type & Generate Sorting Day Schedule
Canadian Elite Volleyball Academy — Development Update • April 3, 2026
Add PLAY Session Type & Generate Sorting Day Schedule
What & Why
Currently the system only supports two session types: SORTING (Day 1) and REGULAR/TIERED (Day 2+). For Spring League 2026, Day 1 was a casual play day with no points and no auto-generated schedule — the coordinator ran it manually. Day 2 needs to be the actual sorting day. The system needs: 1. A new "PLAY" session type for casual, no-points days where the schedule uses the same sorting algorithm (age-balanced rotation across all courts) but no rankings/points are recorded. 2. The ability to designate which day is the sorting day (not always Day 1). 3. The sorting schedule generator () already works — it just needs to be callable for any session type that uses the sorting algorithm (both PLAY and SORTING).For reference, the Winter League PDF shows how the sorting schedule works: 6 games, 3 courts, all ~54 players rotating through different courts/sides/positions, balanced by age via snake draft and Latin square rotation. The Spring League has 60 athletes (10 per side: 6 players + 4 subs).
Done looks like
- A new "PLAY" session type exists alongside SORTING and REGULAR
- When creating a league, coordinators can choose which day is SORTING (defaulting to Day 1 for backward compatibility, but configurable)
- PLAY days use the same sorting schedule algorithm (age-balanced, all-court rotation) but do not award points or affect rankings
- The schedule page shows PLAY days with a distinct badge (e.g., blue "PLAY" vs orange "SORTING" vs green "TIERED")
- For Spring League: Day 1 becomes PLAY, Day 2 becomes SORTING, Days 3+ remain TIERED
- Schedule generation works for PLAY days (generates the 6-game rotation) and SORTING days identically in terms of matchups
- Scoring/attendance on PLAY days does not feed into the ranking system
- Coordinators can change a session's type (e.g., flip Day 1 from SORTING to PLAY) on the schedule page
- The existing Winter League data and schedules remain unaffected
Out of scope
- Changing the tiered schedule algorithm
- Modifying how rankings are calculated for REGULAR/TIERED days
- Referee workflow changes (referees can still score PLAY games, scores just aren't used for rankings)
Relevant files
- - - - - - - - - -Canadian Elite Volleyball Academy
elitevolleyball.training
No comments:
Post a Comment