- Updated validators.py to use is_runner_on_third() helper method instead of hardcoded on_base_code values - Fixed DefensiveDecision Pydantic model: infield depths now ['infield_in', 'normal', 'corners_in'] - Fixed DefensiveDecision Pydantic model: outfield depths now ['in', 'normal'] (removed 'back') - Removed invalid double_play depth tests (depth doesn't exist) - Added proper tests for corners_in and infield_in validation (requires runner on third) - All 54 validator tests now passing Changes maintain consistency between Pydantic validation and GameValidator logic. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ai_opponent.py | ||
| dice.py | ||
| game_engine.py | ||
| play_resolver.py | ||
| roll_types.py | ||
| state_manager.py | ||
| validators.py | ||