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> |
||
|---|---|---|
| .. | ||
| ai_manager.py | ||
| data_cache.py | ||
| game_helpers.py | ||
| gameplay_models.py | ||
| gameplay_queries.py | ||
| managerai_responses.py | ||
| simulations.py | ||