Repository navigation
Description
What is wrong
11 programs sit at L2 in the evidence report (docs/language_status/evidence_report/, refresh #4923) only because coverage was never measured:
paragraph coverage >= 100.0 (coverage not measured: no fresh det-sweep ledger entry and no local sweep)
| estate | programs |
|---|---|
| carddemo | CBACT01C, CBACT02C, CBACT03C, CBACT04C, CBCUS01C, CBTRN01C, CBTRN02C, CBTRN03C, CSUTLDTC |
| dbb-mortgage | epsnbrvl |
| genapp | lgstsq (LINKed: its coverage is its caller's by design, see evidence_report.py:544; check whether its main program's case is also missing) |
Their evidence records already show full or near-full coverage (e.g. CBACT04C 22/22 paragraphs, 85/86 branches; CBTRN01C 18/18, 65/66; CSUTLDTC 2/2, 4/10), so several should reach L3 or L4 once the ledger has entries.
Evidence
tests/tools/evidence_report.py:548takes coverage only from a local sweep or the committed ledgertests/equivalence/det_sweep_coverage/<CASE>.json(bot-generate cics_spec_status.md (like the evidence report) and per-case coverage-ledger files, to end merge-main + re-render cycles #4789). It never takes it from the evidence record.- That directory has no file for any batch or CALL case: there is nothing for
carddemo-intcalc,carddemo-readcard,carddemo-dailyval,carddemo-dateutil,mortgage-nbrvl, ... Every listed file is a CICS/online case, plusmortgage-cmort/mortgage-mlist. proof_sweep.det_cases()globs everycase.json, so these cases are swept. The entry is lost after that.
Hypothesis (unverified)
proof_sweep._coverage(proof.log) finds no coverage line in the proof log of a batch or CALL det proof. Either the batch/CALL det runtime does not print one, or it prints it in a different form. det_coverage_ledger.py update then writes no entry.
Done when
- Root cause found: is the coverage line missing from batch/CALL proof logs, or is it dropped by
_coverageordet_coverage_ledger update? - Fixed for the whole class: every batch and CALL case (and any other case kind with no ledger file) gets a ledger entry. Check this by listing
tests/equivalence/*/case.jsonagainstdet_sweep_coverage/*.json. - A test that fails when a swept case with a passing det proof yields no ledger entry.
- After the next Evidence Refresh, the 11 programs have measured coverage. Their levels are whatever the measurement says; the issue does not assert counts.
Found while ranking level levers from the 2026-10-12 evidence report: this is the cheapest lever, with 11 programs and no translator work.
Activity
evidence: det-sweep coverage ledger entries for the 13 proven batch a…
evidence: re-sweep the 13 ledger entries on main's oracle (#5008)
ci: det-sweep aggregate finds a lone shard's sweep.json (download-art…
evidence: the det coverage ledger reads batch (runs) and CALL (calls)…