Skip to content

fantasyfb v0.12.0

Latest

Choose a tag to compare

@tefirman tefirman released this 04 Nov 07:14
· 24 commits to main since this release
63621b0

fantasyfb v0.12.0

Field-wide Scott Fish Bowl playoff odds, much faster season simulations, long-play bonus scoring for Sleeper leagues, and a round of bracket and standings fixes.

pip install --upgrade fantasyfb

Highlights

  • Field-wide Scott Fish Bowl odds. A new fantasyfb.sfb package and sfb-field command collect every Sleeper league in the field and simulate them together, so a team's odds of making the playoffs, reaching each round and winning the title account for every other league. Each NFL player gets one shared draw per week and simulation, so teams that start the same players rise and fall together. Leagues on MyFantasyLeague are not simulated yet.
  • Which NFL players move the odds. The simulation now also measures each player's qualification swing and playoff swing for a one-standard-deviation better stretch, written to players.csv and available as FieldResult.players.
  • Much faster season simulations and move analysis, with the same numbers. A rooting guide at 1,000 simulations now takes about 4 seconds on a 12-team league.
  • Long-play bonuses for Sleeper leagues. Scott Fish Bowl-style scoring that pays for 20+ yard receptions, 40+ yard rushes and 40+ yard completions is now projected, which closes a gap of roughly 70 points per team per week. Leagues that don't score these projections are unchanged, and unsupported scoring categories now trigger a warning instead of being ignored silently.
  • Sleeper league fixes. SFB leagues use the 11-week season and show 13+ win odds instead of a made-up bracket, "median game" leagues count the median win in standings, odds and records, and the Free agents tab no longer fills up with retired players.
  • Bracket and lineup fixes. Playoff odds in leagues whose size is not a multiple of the bracket size no longer scramble the bracket, and which tied player fills a lineup slot no longer depends on row order.
  • FLEX filter on the Moves tab's Adds view, and a season path on the My week tab that fits phone screens.
  • Web app (in app/, not part of the PyPI package). It can be added to a phone home screen, takes a typed number of simulations, shows a proper page for expired runs, installs pinned dependencies, and has adds, drops and the rooting guide on by default. A redesigned SFB playoff page is also in app/sfb_site and is built from the repo, not the package.

See CHANGELOG.md for the full list.