Closes #7 The fallback branch of create_pit_position() used `int(df_data["key_bbref"])` which always raises ValueError for string IDs like 'verlaju01'. The exception was silently swallowed, causing pitchers without defensive stats to receive no position record at all. Fix: use `int(float(df_data["player_id"]))` to match the pattern used in create_pitching_card() on the same file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| calcs_pitcher.py | ||
| card_builder.py | ||
| creation.py | ||
| models.py | ||