1 vin.models.qh_scorer_config

vin.models.qh_scorer_config

Closed selection of the two concrete QH scorer configurations.

Untagged legacy dictionaries retain their original interpretation and bytes. The additive spatial model uses an explicit discriminator; unknown model kinds fail before construction, including in immutable inference manifests.

1.1 Functions

Name Description
parse_qh_scorer_config Validate serialized input without constructing a runtime scorer.

1.1.1 parse_qh_scorer_config

vin.models.qh_scorer_config.parse_qh_scorer_config(value)

Validate serialized input without constructing a runtime scorer.

1.1.1.1 Parameters

Name Type Description Default
value Any Untrusted Pydantic-compatible payload or an existing scorer configuration. Any marks the external validation boundary. required

1.1.1.2 Returns

Name Type Description
TargetFiniteHorizonScorerConfig | TargetSpatialQueryScorerConfig | TargetVolumetricScorerConfig A validated legacy or spatial configuration; an omitted model_kind
TargetFiniteHorizonScorerConfig | TargetSpatialQueryScorerConfig | TargetVolumetricScorerConfig selects the legacy schema without adding a new discriminator field.

1.1.1.3 Raises

Name Type Description
pydantic.ValidationError If the tag is unknown or the selected schema rejects the payload. No scorer weights are allocated.
Back to top