fix: lower weight of total score
This commit is contained in:
@@ -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"])
|
||||||
|
|||||||
Reference in New Issue
Block a user