Stage specifications describe how to materialize a stage bracket from a
participant set inside a tournament_spec graph.
single_elim_stage(
seed = TRUE,
third_place = FALSE,
best_of = NULL,
reseed = FALSE
)double_elim_stage(
seed = TRUE,
grand_final_reset = TRUE,
best_of = NULL,
reseed = FALSE
)
round_robin_stage(
home_away = FALSE,
n_rounds = NULL,
best_of = NULL,
tiebreakers = NULL,
groups = NULL
)
swiss_stage(
rounds = NULL,
seed = TRUE,
allow_ties = TRUE,
bye_points = 1,
best_of = NULL,
tiebreakers = NULL
)
group_stage_knockout_stage(
groups = 2,
advance_per_group = 2,
seed = TRUE,
group_home_away = FALSE,
group_best_of = NULL,
group_tiebreakers = NULL,
knockout_type = "single_elim",
knockout_seed = TRUE,
third_place = FALSE,
grand_final_reset = TRUE,
knockout_best_of = NULL
)
two_leg_stage(
seed = TRUE,
third_place = FALSE,
away_goals = TRUE,
reseed = FALSE
)
A stage_spec object.
Logical or character seed method.
Logical; include third-place match.
Optional best-of value (must be odd).
Logical; reseed between rounds for supported formats.
Logical; allow grand-final reset.
Logical; whether repeated pairings alternate home/away.
Number of round-robin cycles.
Ordered tiebreakers.
Number of groups.
Number of Swiss rounds.
Logical; whether ties are allowed.
Points awarded for a bye.
Number of qualifiers per group.
Logical; home/away behavior in groups.
Optional best-of in groups.
Ordered group-stage tiebreakers.
Knockout format: "single_elim" or "double_elim".
Logical or character seed method for knockout.
Optional knockout best-of value.
Logical; enable away-goals tiebreaker.