Skip to main content

Module scoring

Module scoring 

Source

Structs§

PointsPerGame
Season-to-date FPPG
Score
ScoreLine
SeasonAverages
Season-to-date FPPG and games played for both NFL Players and Team DST
WeekStats
One NFL week’s stat lookups, typed. A WeekStats is week-scoped, so scoring needs no week parameter. The default is empty: nothing scores.

Functions§

score_defense
FanDuel points for one team defense’s week. All inputs are pbp-derived, so every FanDuel DST category is covered.
score_live_defense
Score observed live DST events without awarding a tier for unknown points allowed.
score_player
FanDuel points for one player’s week (offense). Rules transcribed from fanduel-scraper/RECON.md.
season_averages
Averages for every week of before‘s season strictly before that week, so the cutoff week and other seasons’ rows never participate.
week_stats
Load all fantasy stats for completed weeks.