Skip to main content

open_contests

Function open_contests 

Source
pub fn open_contests(
    contests: &[Slate],
    entries: &HashMap<SlateId, EntryId>,
    resumable: &HashSet<SlateId>,
    now: OffsetDateTime,
) -> Vec<OpenContestRow>
Expand description

Select and order the owner’s open contests: published slate, not finished, and either entered or still open for entry. Live contests the team did not enter are dropped — nothing there is actionable. Soonest kickoff first, ties by contest id.