From 0394147f7db6f194bb4dccbdb2863adc4849f06c Mon Sep 17 00:00:00 2001 From: bittersweet1999 <148421775+bittersweet1999@users.noreply.github.com> Date: Thu, 10 Apr 2025 14:41:28 +0800 Subject: [PATCH] [fix] fix order bug Update arena_hard.py --- 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: