tracts.driver_utils.ParamBoundsConfig#

class ParamBoundsConfig(**data)#

Bases: BaseModel

Optional lower/upper admissibility bounds for model parameters, specified as "min:max" strings (same syntax as start_params interval bounds, see StartParamsConfig), e.g.:

bounds:
  t: 1:20
  REUR: 0.1:0.9

Any parameter not listed here keeps its default bounds (determined by its ParamType: RATE in (0, 1), SEX_BIAS in (-1, 1), TIME in (min_time, max_time), UNTYPED unbounded – see tracts.demography.parameter.ParamType). A bound given here narrows (intersects with, rather than replaces) that default range: see parse_param_bounds.

model_config: ClassVar[ConfigDict] = {'extra': 'allow'}#

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