Skip to content

Equivalence harness: generated coverage / run-status / input / blocker page (Part of #4493) - #5309

Merged
squid-protocol merged 2 commits into
mainfrom
churn/4493-20261017T0514Z
Oct 17, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/4493-20261017T0514Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4493. First slice: the harness reports on itself for the burned estates.

What

tests/tools/harness_report.py turns proof_blockers.py --json (or --survey DIR) into harness_report.{md,json}:

  • Coverage: programs, with a runnable case, proven (counts and %), paragraphs and branches exercised (from each case's evidence.json).
  • Run status per program: proven / differs / couldn't run / not attempted (plus ran, coverage open), with the reasons.
  • Input generation per case: datasets generated from a layout, shipped data, skipped; generated scenarios.
  • Blockers as fixes: each non-proven program under exactly one blocker (its highest-ranked gap), phrased as the action, sorted by tests unlocked. tests_unlocked is exact (scenarios of the cases of programs for which it is the only gap); then_needs names what else a program needs.
    Burned estates only; non-burned programs are counted, never named. The page is generated output, not committed.

Tests

tests/tools/test_harness_report.py (7): status counts, one blocker per program, the unlock prediction equals the recount after the fix, two-gap programs, input classes, non-burned never named, empty estate.

Sibling gaps (no burned-estate program needs them yet)

Lessons for agents

ruff from the selfscan venv is 0.16.0 and lints tests with S101; use pr_gates.py --fast (it fetches 0.16.10) and ruff_audit.py --ci.

Cross-repo: none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 17, 2026 05:24
@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 05:25
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant