Repository navigation
Description
Why. A purchaser deciding on a COBOL->Java migration asks "how sure are you, and of what?" Today the answer is spread over cics_census.py, proof_blockers.py, evidence.py records, the crucible baseline/coverage, oracle_assumptions.md, the spec status page and the pin manifest. And the word we reach for, "proven", is wrong: the oracle is GnuCOBOL plus our C CICS stub, not z/OS, so every result carries caveats. Owner decision (2026-10-07): use the stricter definition internally, but report levels and numbers, never a binary "proven".
What. One generated report (Markdown + JSON beside it), per estate with a row per program, filled only from tool outputs. No hand-maintained numbers. Sections:
- Translation -- statements, translated, holes (by name), whole yes/no; named refusals (source defects, oracle-refused features). Source:
cics_census.py survey/blockers. - Executed equivalence -- has a case; scenarios run; scenarios equal / differing (first diff kind) / java failed; Db2 cases proven locally vs in CI. Source: evidence records (
evidence.py status --json, never a stale record shown as current), det-sweep baseline, cruciblebaseline.json. - Coverage -- paragraph % and branch % that the scenarios execute, with the live paragraphs / branch outcomes no scenario runs listed. Source:
proof_blockers.py --branches --json,cobol_coverage. - Oracle backing -- for each CICS command the program uses: spec entry full / name-only; hand-traced cics-crucible case for it yes/no; both runtimes agree with the case. Source:
cics_spec_status.json, crucible coverage. - Assumptions relied on -- the
oracle_assumptions.mdentries (C/X/M numbers) the program reaches, each with its status (MATCHED / ASSUMED / DIFFERS / REFUSED); stated runtime facts (EIBTASKN, seeds, clock fields). - Residual risk -- everything not measured, stated plainly: holes, unrun paragraphs/branches, unstated facts, ASSUMED/DIFFERS assumptions reached, and the migration dimensions not measured at all (Epic: whole-migration harness: data, job streams, interfaces, performance, security, cutover #4514: data, JCL streams, interfaces, performance, security, cutover).
- Reproducibility -- engine SHA, crucible pins (
crucible_pins.py), corpus pins, oracle image digest, the exact commands to regenerate the report and re-run every proof.
Levels, not a verdict. Each program gets the highest level whose conditions hold, plus the metrics; levels are cumulative:
- L0 inventoried · L1 translated whole · L2 executed-equivalent (a current, non-stale record; every scenario equal) · L3 L2 + paragraph coverage >= bar · L4 L3 + branch coverage >= bar · L5 L4 + every CICS command it uses oracle-backed by a hand-traced crucible case and no DIFFERS assumption reached.
The bars are parameters printed in the report. A level never hides the numbers under it. The estate summary is a level histogram plus totals, burned and non-burned apart (a burned estate is labelled as one, since its ports were developed against it).
Wording rules (tested). The generated text never says "proven", "verified" or "guaranteed" about a program or estate; it says "executed equivalent on N scenarios against GnuCOBOL + the gitgalaxy CICS stub" and names the assumptions. A test greps the rendered report for the forbidden words.
Overlap.
- Equivalence harness: self-report coverage, run status and actionable blockers as a generated .md page #4493 (self-reporting harness page) is the engineer's view: run status and blockers phrased as fixes. This report is the purchaser's view of the same runs. The generator reads Equivalence harness: self-report coverage, run status and actionable blockers as a generated .md page #4493's JSON once it exists rather than recomputing; until then it reads the tools directly. Blockers stay in Equivalence harness: self-report coverage, run status and actionable blockers as a generated .md page #4493 /
proof_blockers.py; this report only says what is left. - Epic: whole-migration harness: data, job streams, interfaces, performance, security, cutover #4514 (whole-migration epic): each part, when built, adds a section here; until then it is listed under residual risk as "not measured".
- An evidence record per ported program: the claim, the oracle, provenance, approval, staleness #4048 evidence records stay the per-port source of truth; this report aggregates them and never writes one.
Done when.
tests/tools/evidence_report.py ESTATE|--all [--out DIR]writesreport.md+report.jsonfrom the tools above; a schema for the JSON (gitgalaxy-evidence-report/1).- Committed for the burned estates under
docs/language_status/evidence_report/, with a staleness test likeevidence.py render --check. - The forbidden-words test, and a test that every number in the Markdown comes from the JSON.
- A short purchaser-facing preface (what the oracle is, what a level means, what is not measured) generated from one template.
Activity
tooling: purchaser-facing evidence report (#4601)
squid-protocol commentedon Oct 7, 2026
Owner decisions (2026-10-07) for PR #4603: L2 = det-sweep verdict (CI ratchet, or a local sweep for Db2) + coverage from the det-sweep coverage ledger (#4606); the #4048 evidence record (which covers the committed hand/model port, not the det port) becomes a reported column, not a gate. Coverage bars: strict, 100% paragraphs (L3) and 100% branches (L4), net of the reviewed infeasible outcomes from #4602 once that lands. CI runs
--check(stored status), not--check --live.tooling: purchaser-facing evidence report (#4601)
tooling: evidence report follows the owner's #4601 decisions
tooling: purchaser-facing evidence report (#4601)
tooling: evidence report follows the owner's #4601 decisions
squid-protocol commentedon Oct 7, 2026
Owner decision (2026-10-07): L5 = L4 + every surviving mutant accounted for (#4047 mutation testing on the DET port: each survivor killed by a strengthened scenario, or listed and reviewed as equivalent / unreachable, the #4602 reviewed-list pattern). The raw mutation score is always printed beside the level. Oracle backing (spec entry + hand-traced crucible case + no DIFFERS assumption reached) leaves the ladder and becomes a separate reported column; it measures trust in the oracle, not test strength. Implementation: new issue (det-port mutation), then #4603 reads it.
tooling: purchaser-facing evidence report (#4601)
tooling: evidence report follows the owner's #4601 decisions
tooling: evidence report ladder per the owner (#4601): net branches, …
tooling: purchaser-facing evidence report (#4601) (#4603)
squid-protocol commentedon Oct 8, 2026
Owner decision (2026-10-08) revises "CI runs
--check" for pull requests: the rendered evidence report is regenerated on main by the evidence-refresh bot (auto-merged), the per-PR report check becomes advisory (level deltas in the job summary), and a release/tag gate requires--check --liveclean. Record staleness (Q1) and the det-sweep baseline stay blocking. Tracked in #4703.🤖 Generated with Claude Code