paper-dynasty-discord/tests
Cal Corum 1eda66a06c
Some checks failed
Build Docker Image / build (pull_request) Failing after 15s
fix: preserve batter at plate when half-inning ends on caught stealing
When a half-inning ended with a CS (or pickoff), the batter who was at
the plate was incorrectly skipped in the next inning. The side-switch
code unconditionally advanced the batting order by 1 without checking
whether the last play was a plate appearance. Now checks opponent_play.pa
before incrementing, matching the existing non-side-switch logic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 22:37:42 -06:00
..
command_logic fix: preserve batter at plate when half-inning ends on caught stealing 2026-02-10 22:37:42 -06:00
gameplay_models Catchup commit 2025-07-22 09:22:19 -05:00
in_game Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
other Added AbRoll and JumpRoll 2024-11-17 14:57:54 -06:00
players_refactor Added search functionality to /player command 2025-10-08 14:45:41 -05:00
conftest.py Catchup commit 2025-07-22 09:22:19 -05:00
factory.py Catchup files 2025-11-11 13:22:06 -06:00
test_api_calls.py Add API timeout/retry logic and fix get_team_by_owner for PostgreSQL 2026-01-31 15:52:14 -06:00
test_play_locking.py fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00