major-domo-v2/commands/gameplay
Cal Corum d1a6b57ccd
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m14s
fix: scorebug stale data, win probability parsing, and read-failure tolerance (closes #39, #40)
#40: ScorecardTracker cached data in memory at startup — background task never
saw newly published scorecards. Fixed by reloading from disk on every read.

#39: Win percentage defaulted to 50% when unavailable, showing a misleading
50/50 bar. Now defaults to None with "unavailable" message in embed. Parsing
handles decimal (0.75), percentage string, and empty values. Also fixed
orientation bug where win% was always shown as home team's even when the
sheet reports the away team as the leader.

Additionally: live scorebug tracker now distinguishes between "all games
confirmed final" and "sheet read failures" — transient Google Sheets errors
no longer hide the live scores channel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 14:14:23 -06:00
..
__init__.py CLAUDE: Add automatic scorecard unpublishing when voice channels are cleaned up 2025-10-21 07:18:21 -05:00
CLAUDE.md CLAUDE: Add automatic scorecard unpublishing when voice channels are cleaned up 2025-10-21 07:18:21 -05:00
scorebug.py fix: scorebug stale data, win probability parsing, and read-failure tolerance (closes #39, #40) 2026-02-20 14:14:23 -06:00
scorecard_tracker.py fix: scorebug stale data, win probability parsing, and read-failure tolerance (closes #39, #40) 2026-02-20 14:14:23 -06:00