designspace.ValidationResult#
- class designspace.ValidationResult(valid: bool, param_errors: tuple[ParamError, ...], constraint_evals: tuple[ConstraintEval, ...])#
Bases:
objectWhat Space.validate() found.
Separates the two things that can be wrong with a configuration: whether each value is legal for its own parameter, and whether the constraints hold across them.
- param_errors#
Per-parameter problems. Empty for a well-formed configuration, even one that is infeasible.
- Type:
tuple[ParamError, …]
- constraint_evals#
Every constraint evaluated, soft ones included.
- Type:
tuple[ConstraintEval, …]