aeat.domain.calculations.registry._validate_reference_sections module

Specialized snapshot-reference section walkers.

Per-section walkers that traverse the typed-ID fields of a ModeloRevision and call into an IdReferenceChecker to accumulate dangling-reference diagnostics.

See also

aeat.domain.calculations.registry.check_all_id_references()

Snapshot-level referential-integrity gate that invokes these walkers.

aeat.domain.calculations.registry._validate_reference_checker

Accumulator that owns the per-kind typed-id sets used here.

check_construct_refs(checker, revision)[source]

Check construct member references for one revision.

The ModeloRevision supplies construct declarations. The IdReferenceChecker supplies the typed member-id sets and legal/source-ref closure checks.

Return type:

None

Parameters:
check_dependency_classification_refs(checker, revision)[source]

Check dependency-classification construct and relation refs.

The ModeloRevision supplies dependency classifications. The checker verifies target constructs, relation refs, and legal/source refs against the snapshot id sets.

Return type:

None

Parameters:
check_algorithm_provider_refs(checker, revision)[source]

Check algorithm-provider legal/source refs for one revision.

The ModeloRevision supplies algorithm-provider declarations, while the checker verifies their legal and source ids against the selected snapshot catalogues.

Return type:

None

Parameters:
check_algorithm_binding_refs(checker, revision)[source]

Check algorithm-binding provider, input, output, and constant refs.

The ModeloRevision supplies algorithm bindings and providers. Binding inputs may resolve through casilla, binding, parameter, or relation ids; outputs and target casillas must resolve through declared casilla ids.

Return type:

None

Parameters:
check_export_layout_refs(checker, revision)[source]

Check export-layout record and field references for one revision.

The ModeloRevision supplies export layouts. The checker validates dictionary source refs, record positive-casilla gates, row-field casillas, field casilla/binding refs, and field legal/source refs.

Return type:

None

Parameters:
check_binding_selector_shapes(checker, revision)[source]

Validate selectors for sources with a registered discriminated shape.

Parameters:
Return type:

None