fix: weigh overtime heavier to compensate for time priority loss

This commit is contained in:
2024-02-20 22:10:07 -05:00
parent 31b4846287
commit 4b6e8615b1

View File

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