paper-dynasty-card-creation/batters
Cal Corum db3822565c Add offense_col resolver for retrosheet pipeline to fix 883 silent KeyErrors
The FullCard migration requires offense_col and player_id on each player's
DataFrame row. The retrosheet pipeline calculates ratings before posting,
so both fields were missing — causing silent card layout builder failures.

Adds a three-tier resolution: CSV cache → API bulk fetch → deterministic
hash fallback. Also includes player_id fallback in both calcs modules.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 15:37:59 -06:00
..
__init__.py Refactor pit/bat/def to modules 2023-11-05 12:18:42 -06:00
calcs_batter.py Add offense_col resolver for retrosheet pipeline to fix 883 silent KeyErrors 2026-02-26 15:37:59 -06:00
card_builder.py Extract BattingCardRatingsModel and PitchingCardRatingsModel into models.py files 2026-02-25 16:42:51 -06:00
creation.py CLAUDE: Add default OPS constants and type hints to improve code clarity 2025-10-31 23:28:49 -05:00
models.py Fix SLG formula drift in extracted rating models 2026-02-26 07:47:15 -06:00
stat_prep.py December 22 Update 2024-12-22 15:46:52 -06:00