From 1fda84bdef0fd57eacca1fb29216ea5ad113f246 Mon Sep 17 00:00:00 2001 From: julius Date: Sat, 2 Nov 2024 14:47:27 +0100 Subject: [PATCH] relative score is fairer to players with fewer prefs --- brute_force.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brute_force.py b/brute_force.py index 21cf8b1..3d4291e 100644 --- a/brute_force.py +++ b/brute_force.py @@ -89,7 +89,7 @@ def apply_brute_force(players, preferences): print(result[2]) # team_table(score, team0, team1) - return best_score[0] + return best_percentage[0] if __name__ == "__main__":