Cal Corum
22d15490dd
Add pitcher validation with rank retry in get_starting_pitcher
...
When API returns a pitcher without pitching data (e.g., Ohtani with
pos_1=DH), explicitly fetch pitcherscouting and validate before use.
If validation fails, retry with different sp_rank values.
Retry strategy: increment rank first, if > 5 then decrement from
original rank, ensuring all 5 ranks are tried before giving up.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:04:03 -06:00
Cal Corum
e850ee5519
Allow manual override of xcheck
2025-01-26 11:50:33 -06:00
Cal Corum
3db25b177a
Refactor new game checks
...
Trail batter-runner on uncapped hits
2024-12-26 14:36:04 -06:00
Cal Corum
3d333dabc3
Update api logging
...
New Position exception
Pull scouting data with lineups
More bunt types
String validation on gameplay models
AI Defensive alignment
2024-11-16 00:31:54 -06:00
Cal Corum
bfd72ae0f5
Update logging to RotatingFileHandler
...
Add auto game end
Calculate stats and decisions
Support raising instantiated exceptions
2024-11-09 23:14:54 -06:00
Cal Corum
8da859b63a
Merge branch 'master' into sqlmodel-alembic-pytests-rebuild
2024-11-03 18:20:01 -06:00
Cal Corum
7dfd077b94
Season 8 Updates
2024-11-02 19:47:54 -05:00
Cal Corum
19e781137e
Complete /new-game campaign
...
Add scorebug function to Game
Add card links prop to players
Add scorebug prop to play
2024-10-15 01:23:04 -05:00
Cal Corum
46860fb3c0
/read-lineup logic is complete
2024-10-14 20:46:55 -05:00
Cal Corum
a7189be67e
Completed new-game mlb-campaign
2024-10-14 00:44:49 -05:00
Cal Corum
97519fc8d5
Move db creation to entry
...
Nearing completion of new-game mlb-campaign
2024-10-13 00:25:29 -05:00
Cal Corum
512efe98c4
db_calls -> api_calls
...
gameplay_db -> gameplay_models
new-game campaign in progress
added Player model
2024-10-12 18:22:13 -05:00
Cal Corum
305914c758
Add support for exhibition games
2024-07-14 13:22:50 -05:00
Cal Corum
2046ebcdde
Add support for Exhibition games
2024-07-11 15:08:06 -05:00
Cal Corum
701e89eaf2
Early pass at matchup sim and added is_fatigued to Lineup
2024-07-07 23:13:22 -05:00
Cal Corum
cf92090fab
Update ai_manager.py
2024-06-27 00:33:03 -05:00
Cal Corum
f7934d464f
Refactoring gameplay AI / Automate subs
2024-05-19 02:12:35 -05:00