From c6872199d6bc43b2174e72bf6dd308733c13e6d2 Mon Sep 17 00:00:00 2001 From: goulustis Date: Wed, 29 Oct 2025 22:19:58 +0800 Subject: [PATCH] fix exp name --- lang_agent/eval/evaluator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang_agent/eval/evaluator.py b/lang_agent/eval/evaluator.py index 9f3b41b..72c39be 100644 --- a/lang_agent/eval/evaluator.py +++ b/lang_agent/eval/evaluator.py @@ -82,7 +82,7 @@ class Evaluator: metric_col = [e for e in df.columns if "feedback" in e] df_curr_m = df[metric_col].mean().to_frame().T - df_curr_m.index = [f'{head_path}-{n_exp}'] + df_curr_m.index = [f'{osp.basename(head_path)}-{n_exp}'] metric_f = osp.join(self.config.log_dir, "0_exp_metrics.csv") # start with 0 for first file in folder if osp.exists(metric_f):