Skip to content

Split generating and importing the league schedule(s) #122

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions comp/game/match-schedule-generate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
summary: Generate the match schedules for the $SRYYYY competition

priority: should

component: Competition

milestone: $SRYYYY Competition

area-owner: game

description: >-
In order to run matches, a schedule for the league matches needs to be generated.
Ideally, many schedules should be generated with a range of number of teams so they can be easily subsituted in if there are any last minute dropouts.


Then we need to decide on the structure of the knockouts.
Generally this has been a single elimination tournament, however SR2025 was a double elimination tournament.
Similarly to the league schedules, we should have a range of brackets we can use based on the number of teams we end up having for the Knockouts.


Required actions:
- [ ] Decide on the number of appearances for each possible total number of teams
- [ ] Generate league match schedules based on these number of appearances
- [ ] Create knockout brackets for a range of total number of teams
- [ ] Convert the brackets into suitable format for import into the competition software

dependencies:
- comp/day-schedule
25 changes: 25 additions & 0 deletions comp/game/match-schedule-import.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
summary: Import the final league match schedule

priority: should

component: Competition

milestone: $SRYYYY Competition

area-owner: game

description: >-
Many league match schedules should already have been generated with a range of number of teams so they can be easily subsituted in if there are any last minute dropouts.


We should check if the current schedule is correct at appropriate times just before the competition.
At these points, if the current schedule has an outdated number of teams, we should import a new schedule.
This stops the schedule needlessly being updated many times whilst ensuring that it is up-to-date for the competition.


Required actions:
- [ ] Check/import around a week before the competition
- [ ] Check/import the morning of the competition

dependencies:
- comp/game/match-schedule-generate
28 changes: 0 additions & 28 deletions comp/game/match-schedule.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion comp/ops/compstate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ description: >-

dependencies:
- comp/day-schedule
- comp/game/match-schedule
- comp/game/match-schedule-generate
- comp/game/match-schedule-import