fix: lower weight of total score

This commit is contained in:
2024-02-22 00:14:39 -05:00
parent dfb86f6fd5
commit 6ec9a7aef1

View File

@@ -85,7 +85,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) * 25 score_total = (home_score + away_score) * 20
# Get standings for home and away teams # Get standings for home and away teams
home_team_standings = get_team_standings(game["homeTeam"]["name"]["default"]) home_team_standings = get_team_standings(game["homeTeam"]["name"]["default"])