feat: log reaching max time limit before breaking CoSTEER evolution (#921)

This commit is contained in:
you-n-g
2025-06-03 12:51:56 +08:00
committed by GitHub
parent 1f0bc42277
commit 4aae5b6854
@@ -105,6 +105,7 @@ class CoSTEER(Developer[Experiment]):
for sw in evo_exp.sub_workspace_list:
logger.info(f"evolving code workspace: {sw}")
if (datetime.now() - start_datetime).seconds > self.max_seconds:
logger.info(f"Reached max time limit {self.max_seconds} seconds, stop evolving")
break
if self.with_feedback and self.filter_final_evo: