Skip to content

fantasyfb v0.6.0

Choose a tag to compare

@tefirman tefirman released this 10 Jul 04:00
· 225 commits to main since this release

fantasyfb v0.6.0

Sleeper-native scoring for SFB-style leagues (Third-Round Reversal, stacking yardage bonuses), V2 projection engine now the sole engine after winning the V1 bake-off (#24), and a new MkDocs documentation site (#21).

pip install --upgrade fantasyfb

Highlights

  • Sleeper scoring/roster settings, pulled live. New data/sleeper_client.py reads a league's scoring rules, roster spots, and Third-Round Reversal setting straight from Sleeper's public API — no more hand-transcribing from a promo image.
  • Third-Round Reversal draft order. MockDraft and the live snake-draft cockpit support TRR pick order via --reversal-round, matching Sleeper's own draft setting.
  • Stacking yardage-bonus scoring. FantasyScorer supports stacking Pass 300+/400+ and Rush/Rec 100+/200+ tiers, needed to accurately score SFB16's ruleset.
  • --sfb on the CLI. Previously only reachable via a League() kwarg, now exposed on snake-draft and draft-prep.
  • Fitted matchup weights by default. League(fit_matchup=True) is now the default; a 2024 walk-forward backtest showed the fitted weights beat hand-tuned defaults on RMSE.
  • V1 projection engine retired. V2 beat V1 by 5.7% overall MAE in a walk-forward bake-off across 2023-2024, so V1 is gone.
  • Docs site is live. MkDocs Material site at https://tefirman.github.io/fantasyfb/ — install, Yahoo OAuth setup, CLI reference, and auto-generated API docs, deployed on every push to main.

Also in this release

  • scripts/build-assets.py regenerates the docs-site logo variants from the high-res master.

See CHANGELOG.md for the full list.