app.py: change game score calculation

This commit is contained in:
2024-02-18 13:39:45 -05:00
parent 2859d6cf6b
commit 95494cab89

2
app.py
View File

@@ -180,7 +180,7 @@ def calculate_game_priority(game):
home_score = game["homeTeam"]["score"] home_score = game["homeTeam"]["score"]
away_score = game["awayTeam"]["score"] away_score = game["awayTeam"]["score"]
score_difference = abs(home_score - away_score) score_difference = abs(home_score - away_score)
score_total = (home_score + away_score) * 15 score_total = (home_score + away_score) * 20
if period == 4: if period == 4:
base_priority = 400 base_priority = 400