From 4b6e8615b1d418f9e727617911c7d906285d0dbf Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Tue, 20 Feb 2024 22:10:07 -0500 Subject: [PATCH] fix: weigh overtime heavier to compensate for time priority loss --- app/scoreboard/process_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scoreboard/process_data.py b/app/scoreboard/process_data.py index 921f062..aab6253 100644 --- a/app/scoreboard/process_data.py +++ b/app/scoreboard/process_data.py @@ -99,7 +99,7 @@ def calculate_game_priority(game): score_total = (home_score + away_score) * 25 # Calculate the base priority based on period - base_priority = {5: 450, 4: 400, 3: 300, 2: 200}.get(period, 100) + base_priority = {5: 650, 4: 600, 3: 300, 2: 200}.get(period, 100) # Adjust base priority based on score difference if score_difference > 3: