feat: trace merging (#836)

* feat: runnalbe -- add exp_gen_cls param, get_leaves and merge exp gen functionalities

* fix: remove unused scenario_desc and update YAML task labels

* feat: override selection and update merge task description

* lint

* lint

* lint

* lint

* lint

* fix: log competition setting to enable mle_summary

* fix name error
This commit is contained in:
you-n-g
2025-04-29 09:30:45 +08:00
committed by GitHub
parent 45931b1012
commit a73f2dbc12
11 changed files with 126 additions and 15 deletions
+7 -4
View File
@@ -214,10 +214,13 @@ class LoopBase:
session = cast(LoopBase, pickle.load(f))
# set session folder
if output_path:
output_path = Path(output_path)
output_path.mkdir(parents=True, exist_ok=True)
session.session_folder = output_path / "__session__"
# - P1: if output_path explicitly specified.
# - P2: RD_AGENT_SETTINGS.log_trace_path
output_path_value = output_path if output_path is not None else RD_AGENT_SETTINGS.log_trace_path
if output_path_value is not None:
output_path_path = Path(output_path_value)
output_path_path.mkdir(parents=True, exist_ok=True)
session.session_folder = output_path_path / "__session__"
# set trace path
logger.set_trace_path(session.session_folder.parent)