diff --git a/rdagent/log/mle_summary.py b/rdagent/log/mle_summary.py index 5b131ea7..f12eb12d 100644 --- a/rdagent/log/mle_summary.py +++ b/rdagent/log/mle_summary.py @@ -7,6 +7,7 @@ import fire import pandas as pd from rdagent.app.data_science.conf import DS_RD_SETTING +from rdagent.core.proposal import ExperimentFeedback from rdagent.log.storage import FileStorage from rdagent.scenarios.data_science.experiment.experiment import DSExperiment from rdagent.utils.env import DockerEnv, MLEBDockerConf @@ -106,7 +107,7 @@ def summarize_folder(log_folder: Path): gold_num += 1 if "feedback" in msg.tag and "evolving" not in msg.tag: - if bool(msg.content): + if isinstance(msg.content, ExperimentFeedback) and bool(msg.content): success_loop_num += 1 stat[log_trace_path.name].update( diff --git a/rdagent/log/ui/dsapp.py b/rdagent/log/ui/dsapp.py index 082d32d2..a2caeb95 100644 --- a/rdagent/log/ui/dsapp.py +++ b/rdagent/log/ui/dsapp.py @@ -63,7 +63,7 @@ def load_data(log_path): state.data[li][fn] = msg.content -@st.cache_data +# @st.cache_data def get_folders_sorted(log_path): """缓存并返回排序后的文件夹列表,并加入进度打印""" with st.spinner("正在加载文件夹列表..."):