feat: add REFRACTOR_START_SEASON floor to evaluator queries (#195) #209

Merged
cal merged 1 commits from issue/195-docs-document-cross-season-stat-accumulation-decis into main 2026-04-08 13:25:49 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
fd2cc6534a feat: add REFRACTOR_START_SEASON floor to evaluator queries (#195)
Adds REFRACTOR_START_SEASON constant (default 11, overridable via env var)
to db_engine.py and applies it as a season filter in both BattingSeasonStats
and PitchingSeasonStats queries in refractor_evaluator.py, ensuring pre-Season
11 stats are excluded from refractor progress accumulation.

Closes #195

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 08:03:07 -05:00