[fix] fix order bug Update arena_hard.py

This commit is contained in:
bittersweet1999 2025-04-10 14:41:28 +08:00 committed by GitHub
parent 12213207b6
commit 0394147f7d
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: