From 9fe94057ff6c6ee9fdb5f9e71e339faba2d832a0 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Mon, 19 Feb 2024 16:23:34 -0500 Subject: [PATCH] fix: shootout is period 5 and gets top priority --- 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 0d3dd0a..2c8dedd 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) * 20 # Calculate the base priority based on period - base_priority = {4: 400, 3: 300, 2: 200}.get(period, 100) + base_priority = {5: 450, 4: 400, 3: 300, 2: 200}.get(period, 100) # Adjust base priority based on score difference if score_difference > 3: