AdaptationSpec

class jaxrens.cli.schema.adaptation.AdaptationSpec(*, full_auto=True, adjust_interval=100, adjust_n_samples=50, adjust_max_rounds=15, trial_batch_size=8, defaults=<factory>, per_move=<factory>)[source]

Bases: BaseModel

Top-level adaptation config with defaults and per-move overrides.

adjust_interval is the iteration cadence at which step-size adaptation fires. 0 disables adaptation (the manager’s is_active guard). The legacy YAML key full_auto_steps is accepted with a DeprecationWarning and remapped onto adjust_interval at parse time.

Parameters:
model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

resolve_for(move_name_or_type)[source]

Return the effective policy for a named move.

Fields from per_move[move_name_or_type] override defaults; remaining None fields fall through to hardcoded library fallbacks.

Parameters:

move_name_or_type (str)

Return type:

ResolvedAdaptationPolicy