aeat.domain.calculations.registry._validate_cross_revision module

Cross-revision drift validation policies for registry casillas.

Applies two policies over the divergences detected by aeat.domain.calculations.registry._cross_revision_divergence: the strict hard-fail continuity policy for overlapping revisions and declared continuity surfaces, and the advisory non-overlapping drift summary. Both policies operate over the casillas of each ModeloRevision.

validate_cross_revision_casilla_consistency(modelos)[source]

Raise when a repeated casilla id drifts across revisions.

Parameters:

modelos (Iterable[ModeloDefinition]) – Iterable of ModeloDefinition entries to validate.

Return type:

None