Skip to main content

Module python_evidence

Module python_evidence 

Source
Expand description

Validation and normalization of the Python runtime’s evidence records.

Each Supercov-hooked interpreter publishes commit-framed JSON records into its own mmap: the process identity, every phase it entered (with the exact test identity that phase stands for), runner outcomes, first-sighting hits, decision vectors and any measurement limitation the runtime detected. The one-byte commit marker is written last, so records completed before a hard kill remain readable while a torn tail stays inert. Rust joins those records into the shared frontend protocol; the runtime never computes a verdict.

Structs§

PythonAssertionInventory
The assertion sites Supercov inventoried from source before the run, indexed so a runtime frame can name one exactly.
PythonFrontendRun

Enums§

PythonEvidenceError

Constants§

PYTEST_RUNNER
PYTHON_EVIDENCE_VERSION
PYTHON_FRONTEND_VERSION
UNITTEST_RUNNER

Functions§

build_python_frontend_run
Join the runtime’s evidence directory with the ahead-of-run manifest into a protocol-conformant frontend run.
python_coverage_model