[Fix] fix order bug Update arena_hard.py (#2015)

This commit is contained in:
bittersweet1999 2025-04-11 16:59:40 +08:00 committed by GitHub
parent 20660ab507
commit 3f50b1dc49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -146,7 +146,7 @@ def preety_print_two_ratings(ratings_1, ratings_2, column_names):
def predict_win_rate(elo_ratings, SCALE=400, BASE=10, INIT_RATING=1000):
names = sorted(list(elo_ratings.keys()))
names = list(elo_ratings.keys())
wins = defaultdict(lambda: defaultdict(lambda: 0))
for a in names:
for b in names: