Skip to content

ci: evidence refresh re-measures the translation every run (Part of #4863) - #4864

Merged
squid-protocol merged 1 commit into
mainfrom
ci/4863-refresh-survey
Oct 10, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
ci/4863-refresh-survey

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4863 (step 1 of 5).

What this fixes, in plain words. The nightly evidence refresh re-proved the records and re-swept coverage, but it never re-measured how much of each program the translator translates. That number was taken once (2026-10-07, translator 3bcbb8c6) and copied forward, so programs the translator has made whole since then (BNK1CAC, CREACC, BNKMENU, lgwebst5, ZECSPLT, …) stayed at L0 in the published reports even though their cases are equal.

Change. In the refresh job, which already fetches the pinned corpora:

  1. cics_census.py survey --baseline --no-census --no-fetch --sha <run's pinned main> — translation only, burned / pinned corpora, no census repos (the survey blocker-baseline.yml already runs nightly, ~5 min). Its headline goes to the job summary.
  2. The reports are built from that survey (evidence_report.py --all --baseline --sha) instead of re-rendered (--refresh --live). The record status and coverage-ledger freshness are still computed at build time, as before.
  3. If the survey can't run, the step falls back to the old re-render and prints a warning, so the records are never held back.

Also: the burned async credit-card estate (pinned in corpora.json) now gets a committed report too (10 programs: 9 at L4, stale until the next sweep, and 1 at L0).

Proved locally (this branch, a fresh scratch root, the exact two commands): survey exit 0 (~5 min); build exit 0; evidence_report.py --check exit 0 on the output. Burned levels after the build: L2+ 86 / L3+ 46 / L4 24 (was 71 / 34 / 18 with the frozen survey); 76 levels are stale on harness/oracle until the sweep, which this same run does. pr_gates.py --fast: 5/5 pass. Ratchets not run: no translator, case or corpus change. test_the_committed_reports_are_current fails locally on main too (#4858's spec change; the test is advisory in CI and the nightly re-renders it).

Not in this PR (next steps of #4863): survey staleness in --check --live, one nightly survey + history on the generated branch, shorter daytime staleness, and a release gate over all three clocks.

Proving it on CI: once this merges, dispatch Evidence Refresh once (gh workflow run "Evidence Refresh" -R squid-protocol/gitgalaxy); its bot PR should quote a survey of that commit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MhEx8PwSow3Pyfg6J4KZ97

…4863)

The evidence reports' translation column is a cics_census survey frozen into
report.json; the bot only re-rendered it (`--refresh --live`), so the reports
kept the translator of 2026-10-07 (3bcbb8c) and showed programs made whole
since then at L0. The refresh job already fetches the pinned corpora: it now
surveys its pinned commit (burned / pinned corpora, --no-census, ~5 min, the
same survey blocker-baseline.yml runs) and builds every burned report from it
(`evidence_report.py --all --baseline --sha`). A survey that cannot run falls
back to the old re-render and warns; it never holds back the records.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MhEx8PwSow3Pyfg6J4KZ97
@squid-protocol squid-protocol added ci-cd Continuous integration, delivery, and automated runners priority: high Core feature broken, but workarounds exist shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 10, 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 10, 2026 23:06
@squid-protocol
squid-protocol enabled auto-merge (squash) October 10, 2026 23:06
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit b383911 into main Oct 10, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the ci/4863-refresh-survey branch October 10, 2026 23:16
squid-protocol added a commit that referenced this pull request Oct 11, 2026
…s' counts (Part of #4863) (#4869)

The stale-level and Db2-ledger tests build their fixtures from the committed
reports and asserted counts of those reports: exactly one CardDemo program at
L3, and lgacus01 / LGSTSQ reached only through the genapp-lgacus01 case. Once
the evidence refresh re-measures the translation (#4864), the reports move
(COCRDLIC / COMEN01C / CORPT00C at L3; genapp-lgtestc1 LINKs LGACUS01 with a
ledger entry), so the bot's refresh PR #4867 failed them. The stale test now
asserts only CASE's stale level; the two Db2 fixtures can isolate DB2_CASE
(every other ledger entry dropped). Passes on main's reports and on #4867's.


Claude-Session: https://claude.ai/code/session_01MhEx8PwSow3Pyfg6J4KZ97

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd Continuous integration, delivery, and automated runners priority: high Core feature broken, but workarounds exist 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