aeat.domain.calculations.registry._checker_oracle_flow module¶
Shared verdict-flow helpers for read-only checker oracles.
Provides the _CheckerBaseModel base, shared flow helpers, and
the decode_replay_observation() convenience used by every
BaseCheckerOracle
subclass (GROI, NIF-IVA, and future sibling checkers).
- normalize_verdict_mapping(values, *, blank_message)[source]¶
Normalize identifier/verdict mappings and reject blank entries.
- normalize_expected_verdicts(expected, *, blank_message)[source]¶
Normalize expected identifier/verdict mappings and reject blank entries.
- replay_parse_operation(action)[source]¶
Return the single local replay-parse
RemoteOperationtuple.- Return type:
- Parameters:
action (str)
- decode_replay_observation(payload, *, surface_label, observation_type)[source]¶
Decode replay JSON into the requested observation model.
- observed_verdict(values, key)[source]¶
Return the observed verdict for
keyafter identifier normalization.
- compare_verdict_field(key, expected, *, observed)[source]¶
Compare one expected verdict against one observed verdict and return a
ParityFieldComparison.- Return type:
- Parameters: