Go to the source code of this file.
Namespaces | |
| namespace | audit_freshness |
Functions | |
| str | audit_freshness.digest_of (list paths) |
| Deterministic digest over an ordered list of files. | |
| list | audit_freshness.surface_paths (dict surface) |
| The files a surface fingerprints. | |
| str | audit_freshness.enforcement_of (dict surface) |
| Whether a suspicion on this surface blocks. | |
| list | audit_freshness.validate_manifest (list surfaces, set published) |
| Structural checks on the manifest itself. | |
| dict | audit_freshness.evaluate (list surfaces, set published) |
| Classify every surface as current, suspect, or an integrity failure. | |
| list | audit_freshness.blocking_entries (dict report) |
| The suspicions that must fail the build. | |
| list | audit_freshness.attest (list surfaces, list wanted) |
| Record the current digests as reviewed. | |
| int | audit_freshness.main () |
| Report freshness, or re-attest reviewed surfaces. | |
Variables | |
| audit_freshness.REPO_ROOT = Path(__file__).resolve().parents[2] | |
| str | audit_freshness.MANIFEST = REPO_ROOT / "tests" / "tooling" / "freshness_manifest.json" |
| str | audit_freshness.PAGE_TYPES = REPO_ROOT / "tests" / "tooling" / "page_types.json" |
| tuple | audit_freshness.VALID_TIERS = ("hard", "soft") |
| tuple | audit_freshness.VALID_ENFORCEMENT = ("blocking", "report") |
| dict | audit_freshness.SURFACE_KEYS |
| str | audit_freshness.UNATTESTED = "unattested" |