MetricDropAutoRollbackConfiguration
Configuration for automatic rollback triggered by a metric dropping by a threshold over a period.
Compares the metric value at the start of the lookback window with the value at the end. If the metric has dropped by more than drop_threshold, a rollback is triggered.
Properties
effective_rollback_steps
python
effective_rollback_steps: intGet the effective number of steps to roll back by.
Returns:
int–rollback_stepsif set, otherwiseperiod_steps.
Values
drop_threshold
python
drop_threshold: float = Field(gt=0.0)The amount by which the metric must drop to trigger a rollback.
metric
python
metric: strThe metric tag prefix to monitor, for example 'Actor/Episode_Reward'.
period_steps
python
period_steps: int = Field(gt=0)The number of actor steps over which to measure the drop.
rollback_steps
python
rollback_steps: int | None = Field(default=None, gt=0)The number of steps to roll back by. Defaults to period_steps when None.
type
python
type: Literal['metric_drop'] = 'metric_drop'