Skip to content

evidence: batch and CALL det cases never get a det-sweep coverage ledger entry, so 11 programs are stuck at L2 'coverage not measured' #5008

Closed

Description

@squid-protocol

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

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 _coverage or det_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.json against det_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions