Skip to content

trial page: input generation, measured coverage, tests-unlocked blocker order (Part of #4493) - #7216

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4493-20261030T2350Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4493-20261030T2350Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4493. Checklist: partial [c:4e3383b1] -- a fresh estate's page published through the trial protocol is still blocked on #3806 (owner draw, trial start on a fresh estate, publishing); this slice makes that page complete when it lands.

What

The per-trial page (trial.py, written by start/sync/close, and by preview --page for a rehearsal) reported less than the issue lists. It now takes optional equivalence-case facts (--case PROG=CASE, --cases-dir), read with harness_report's own readers (load_case, scenario_count, input_generation, case_coverage) so it cannot disagree with the estate page:

  • Input generation table: generated / shipped-data / no-input datasets per program, tests per case, and the eligible programs with no case.
  • Coverage: measured paragraph and branch share where a case has an evidence.json; otherwise the old "not measured" line.
  • Blockers sorted by tests unlocked (programs held back break ties) and stated as "unlocks N programs, T tests".

With no cases given, output is byte-identical (pinned by a test), so no committed page or ledger check moves. Only case JSON is read; no estate code.

Class / Sibling gaps

Class: a generated harness page that reports less than #4493's list (input generation, paragraph/branch coverage, tests-unlocked ordering). Members: the trial page and the rehearsal page share trial_page, both handled here; the estate page (harness_report.py) was handled by #5309, #5391, #5489, #5506, #6194, #6224, #6410, #6421, #6426, #6619.
Sibling gaps: (1) a fresh estate's trial and published page: owner-blocked in #3806, no burned program needs it. (2) trial start/sync do not yet pass a program-to-case map, since an unseen estate has no cases until its trial runs; the map is an explicit input of preview only. Whether docs/language_status/trials/ is on the generated-branch publish list is not checked here.

Tests

tests/cobol_mainframe/test_trials.py: inputs/coverage/ordering with generated, shipped, no-input and missing-case shapes; byte-identical output without cases; unlock-count prediction after a fix. pr_gates --fast 9/9, audit_check clear, trial.py check ok. No engine code touched, no golden bless.

🤖 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 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 30, 2026 23:59
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 00:03
@squid-shepherd
squid-shepherd Bot merged commit 9cc871e into main Oct 31, 2026
62 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4493-20261030T2350Z branch October 31, 2026 00:34
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