mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-29 00:17:44 +00:00
c111966d19
* feat: refactor CoSTEER classes to use DSCoSTEER and update max seconds handling * remove useless line * enable time_ratio_limit_to_enable_hyperparameter_tuning
10 lines
345 B
Python
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)
|