From 59a2d7f91d4216ad723ab353e84060e1c37ab9da Mon Sep 17 00:00:00 2001 From: XianBW <36835909+XianBW@users.noreply.github.com> Date: Thu, 24 Jul 2025 19:15:01 +0800 Subject: [PATCH] fix curve (#1118) --- rdagent/log/ui/ds_trace.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rdagent/log/ui/ds_trace.py b/rdagent/log/ui/ds_trace.py index 5f422702..ff100773 100644 --- a/rdagent/log/ui/ds_trace.py +++ b/rdagent/log/ui/ds_trace.py @@ -785,7 +785,8 @@ def summarize_win(): ensemble_row = vscores.loc[["ensemble"]] vscores = pd.concat([ensemble_row, vscores.drop("ensemble")]) vscores = vscores.T - vscores["test"] = df["Running Score (test)"] + test_scores = df["Running Score (test)"].str.replace(r"[🥇🥈🥉]\s*", "", regex=True) + vscores["test"] = test_scores vscores.index = [f"L{i}" for i in vscores.index] vscores.columns.name = metric_name with st.popover("Scores Curve", icon="📈", use_container_width=True):