fix: shootout is period 5 and gets top priority

This commit is contained in:
2024-02-19 16:23:34 -05:00
parent e355693613
commit 9fe94057ff

View File

@@ -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: