From 3f50b1dc49778431fd6fefdd9a2e845e1e79f12e Mon Sep 17 00:00:00 2001 From: bittersweet1999 <148421775+bittersweet1999@users.noreply.github.com> Date: Fri, 11 Apr 2025 16:59:40 +0800 Subject: [PATCH] [Fix] fix order bug Update arena_hard.py (#2015) --- opencompass/datasets/subjective/arena_hard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencompass/datasets/subjective/arena_hard.py b/opencompass/datasets/subjective/arena_hard.py index b146f3ac..1403c978 100644 --- a/opencompass/datasets/subjective/arena_hard.py +++ b/opencompass/datasets/subjective/arena_hard.py @@ -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: