Fixed incorrect double play logic that was rolling for probability twice - once for the chart result and again for execution. Changes: - Removed _calculate_double_play_probability() method entirely - Updated _gb_result_2() to execute DP deterministically - Updated _gb_result_10() to execute DP deterministically - Updated _gb_result_13() to execute DP deterministically - Removed TestDoublePlayProbability test class (5 tests) - Updated DP tests to reflect deterministic behavior Logic: Chart already determines outcome via dice roll. When chart says "Result 2: Double Play", the DP happens (if <2 outs and runner on 1st exists). No additional probability roll needed. Tests: 55/55 runner advancement tests passing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| integration | ||
| unit | ||
| __init__.py | ||
| CLAUDE.md | ||