Files
NexQuant/rdagent/components/coder/data_science/share/ds_costeer.py
T
Xu Yang c111966d19 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
2025-08-05 18:16:10 +08:00

10 lines
345 B
Python

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)