feat: add coder check and give more time (#1127)

* feat: introduce max_seconds_multiplier for timeout management across components

* avoid using assert in test

* hot fix a very small bug

* runner multiply twice

* revert feedback change

* add a switch to longer timeout
This commit is contained in:
Xu Yang
2025-07-29 14:59:38 +08:00
committed by GitHub
parent a6703aa313
commit e0519b56ae
29 changed files with 102 additions and 83 deletions
@@ -131,5 +131,6 @@ class WorkflowCoSTEER(CoSTEER):
evolving_version=2,
scen=scen,
max_loop=DS_RD_SETTING.coder_max_loop,
max_seconds=scen.real_debug_timeout() * settings.max_seconds_multiplier,
**kwargs,
)
@@ -55,7 +55,10 @@ class WorkflowGeneralCaseSpecEvaluator(CoSTEEREvaluator):
final_decision=False,
)
env = get_ds_env(extra_volumes={self.scen.debug_path: T("scenarios.data_science.share:scen.input_path").r()})
env = get_ds_env(
extra_volumes={self.scen.debug_path: T("scenarios.data_science.share:scen.input_path").r()},
running_timeout_period=self.scen.real_debug_timeout(),
)
# # DockerEnv for MLEBench submission validation
# mle_de_conf = MLEBDockerConf()