From 6cf3baf21a929169f1da6be0d0efb86fcad74154 Mon Sep 17 00:00:00 2001 From: JewelRoam <2752594773@qq.com> Date: Thu, 22 Jan 2026 01:37:26 +0800 Subject: [PATCH] refactor aggregated es score to pow of 10 --- graph_net_bench/aggregate_es_scores.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/graph_net_bench/aggregate_es_scores.py b/graph_net_bench/aggregate_es_scores.py index 45a2b5a4f..21f8a8a86 100644 --- a/graph_net_bench/aggregate_es_scores.py +++ b/graph_net_bench/aggregate_es_scores.py @@ -19,13 +19,14 @@ def main(args): for weight in [weights[tolerance]] for score in [es_scores[tolerance]] ) + rectified_speedup = 10 ** float(weighted_sum) result = { "id": args.sample_id, - "score": float(weighted_sum), + "score": rectified_speedup, } with open(args.output_json_file_path, "w") as f: json.dump(result, f, indent=4) - print(f"{weighted_sum=}") + print(f"{rectified_speedup=}") print(f"Result is saved to {args.output_json_file_path}")