Expand description
The entry page’s data: the structs the template renders and their construction.
Structs§
- Entry
Page - Entry
Preview - The owner’s pre-kickoff lineup review: the scored page’s skeleton carrying what matters before play — salaries and the slate schedule.
- Game
Line - The game-score line for a row: both teams with their (optional) scores and which side is the pick’s team, for bolding.
- Ownership
- Roster ownership across a contest’s lineups: the fraction of lineups that include each player and each team defense.
- Pick
Info - Picks
- The nine scored lineup rows and their total.
- Preview
Row - One preview row: the slot and who fills it,
Nonewhen the slate has no priced row for the pick. - Score
Meta - SlotRow
- One lineup row: a slot label, who filled it, and how they scored.
Enums§
Constants§
- SALARY_
CAP - The salary cap for a nine-slot FanDuel-style lineup.
Functions§
- build_
picks - build_
preview - Preview rows in roster order, plus the total salary spent. Game scores are stripped: nothing has been played from this entry’s point of view.
- compute_
ownership - Count each pick across all lineups and divide by the lineup count.
- game_
line - The slate game the given team plays in, as a display line.
Nonewhen no slate game features the team — the row falls back to its matchup text. - page