phenotypic.sdk_.aggregate_proof_is_current#
- phenotypic.sdk_.aggregate_proof_is_current(output_dir: Path) bool[source]#
Return whether a valid aggregate proof still covers the deliverables.
The boolean half of
_valid_aggregate_proof(), exported because the GUI’score_readableasks exactly this question and spec §5.2 makes this module the public reader surface. Named to matchrun_proof_is_current(): the two ask the same shape of question about the run proof and the aggregate proof respectively.Returns ``False`` on: an absent
.phenotypic/aggregate_publication.json, one whoseversionis notAGGREGATE_PROOF_VERSION, one with an empty or non-mappingrequired_outputs, or one naming a required output whose bytes on disk no longer match the descriptor it was published with.This is O(1) in images – three or four run-level deliverables – which is why callers re-ask it rather than caching the answer.