major-domo-database/app
Cal Corum 126ce53951
Some checks failed
Build Docker Image / build (pull_request) Failing after 20s
fix: Sort games chronologically in standings recalculation for accurate streaks
The standings recalculate function was processing games in arbitrary database
order, causing win/loss streaks to be calculated incorrectly. Added explicit
ordering by week and game_num (ascending) to ensure games are processed
chronologically.

This fixes inconsistent streak values that were reported due to the streak
logic depending on processing games in the correct temporal sequence.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 14:44:58 -06:00
..
routers_v3 fix: Prevent locals() from polluting player PATCH data dict 2026-02-04 14:57:32 -06:00
services Optimize player search endpoint for 30x performance improvement 2026-02-06 07:25:49 -06:00
__init__.py Initial commit 2023-03-21 16:09:46 -05:00
db_engine.py fix: Sort games chronologically in standings recalculation for accurate streaks 2026-02-10 14:44:58 -06:00
dependencies.py Add CACHE_ENABLED env var to toggle Redis caching (v2.2.1) 2025-12-10 07:59:54 -06:00
main.py Added HelpCommands 2025-10-17 16:36:40 -05:00