feat: refactor CoSTEER classes to use DSCoSTEER and update max seconds handling (#1156)

* feat: refactor CoSTEER classes to use DSCoSTEER and update max seconds handling

* remove useless line

* enable time_ratio_limit_to_enable_hyperparameter_tuning
This commit is contained in:
Xu Yang
2025-08-05 18:16:10 +08:00
committed by GitHub
parent 50916fa6c9
commit 0284b73596
13 changed files with 53 additions and 43 deletions
@@ -0,0 +1,9 @@
from rdagent.components.coder.CoSTEER import CoSTEER
class DSCoSTEER(CoSTEER):
def get_develop_max_seconds(self) -> int | None:
"""
The coder uses the scenario's real debug timeout as the maximum seconds for development.
"""
return int(self.scen.real_debug_timeout() * self.settings.max_seconds_multiplier)