Repository navigation
Description
Owner 2026-11-11: run the proof phase. This produces the star metric the trial was registered for — the share of eligible programs whose first porting attempt yields Java the equivalence harness proves identical to the COBOL. Reported two ways per pre-registration line 88: det-translator-only is the headline, det-then-model alongside.
trial-001 stays OPEN for this (#8318 reverted its premature withdrawal).
Case audit: CLEAN
Owner asked for the case audit first. Result: the cases cannot have been tuned to the target, structurally.
- No case holds an expected value. Swept all 28
tests/equivalence/health-*/case.json: zeroexpected/expect/golden/baselinekeys. A scenario carriesname,commarea(inputs) andwhy(prose rationale). 202 scenarios total, 4–16 per program. - Expected results come from the oracle at run time. The harness compiles and runs the COBOL under the pinned
gitgalaxy-gnucobol:3image. There is nothing to hand-tune — the reference is computed, not written. - Revisions only widened coverage. 11 of 28 cases were revised after being added. Every revision adds scenarios or widens comparison: "SQL-fault scenarios lift HCIPDB01, HCITDB01, HCIVDB01 and HCMADB02 to every net branch", "PF3, PF12, CLEAR and MAPFAIL scenarios lift it to every paragraph run", "compare the job log now that DISPLAY reaches it". None narrows a comparison or drops a scenario.
- Known, declared limitation: the three REST wrappers (
HCPRESTW,HCTRESTW,HCMRESTW) have error-path cases only. Their success paths were never cased (o259/o261, never answered, moot once L2 closed). This is a coverage gap to declare up front, not tuning.
What the audit DID find: the frozen harness moved, and part of it is an oracle defect
Six commits touched the frozen HARNESS_PATHS after the harness freeze c58cb3a69. Four were driven by this estate (Part of #8121 / #8230):
| commit | what it does | class |
|---|---|---|
7effbf68c (#8231) |
a layout_only COMMAREA's RETURN is read as the bytes it passed (raw_commarea) |
instrument: makes a comparison possible |
4bed49868 (#8317) |
facade routes a no-DFHCOMMAREA program's raw-bytes re-entry through runTask instead of throwing FacadeRefused |
instrument: makes a comparison possible |
405a2e658 (#8170) |
ddl_text ends an in-stream block at any // card; filters a JCL-shaped .txt |
instrument: reads the DDL correctly |
2c3c7b488 (#8217) |
inline_exec_copies: a PROCEDURE DIVISION COPY member holding EXEC CICS / EXEC SQL (HCERRSPD) is inlined before the SQL precompile and CICS translation |
oracle correctness fix |
None of the four changes what counts as equal. Three extend what the instrument can judge; they decide whether a comparison can run, never who wins it.
The fourth is different and decides the configuration. On real z/OS, COPY expansion happens before the precompiler, so inlining is the faithful behaviour (cf. the IBM-reference rule). Without it the frozen harness compiles some programs missing their EXEC CICS / EXEC SQL statements — the oracle itself is wrong.
Configuration (deviation, to record as Amendment 4)
Running strictly at the frozen harness would measure several programs against a knowingly-defective reference, which is worse than deviating. So:
- System under test — FROZEN, unchanged. Engine
5e4575d77(v2.12.0), porting rules hash23338a4462cb(ticket v1), modelclaude-sonnet-5-5viaanthropic. This is what the metric measures. - Measuring instrument — current
main. Harness + oracle, with the four commits above named and classified in the amendment. - Anything the instrument still cannot judge gets cause
harness— already a registered cause, and the honest label for "our instrument could not judge this". - Any fix made during the run carries
Trial-Cause: <ticket|generator|engine|harness> <PROGRAM>and disqualifies that program from first-try (line 110).
Declare the denominator up front, again: 28 eligible, HCP1BU01 out of scope (source missing), and the three REST wrappers judged on error paths only.
Work
- Amendment 4 in
docs/language_status/estate4_preregistration.md: the instrument/system split above, the four commits with their classification, and the restated denominator. Land this BEFORE the first attempt. (Amendment 4: record the pre-run verification of the frozen system (Part of #8322) #8327) - Verify the frozen engine checkout and a reproducible
gitgalaxy-gnucobol:3; confirm the porting-rules hash still computes to23338a4462cb. (Blind 1: closing record of the frozen-system verification (Part of #8322) #8341) -
port_runner runthenproveper eligible program, at the frozen engine/rules/model. One program per attempt record; attempt 1 is the measurement. -
trial.py sync --project <W>/java_h2to importport_log.jsonlas attempts. -
trial.py closewith causes for the unproven;trial.py report --writeto publish. - Post the det-only headline and the det-then-model figure on Blind estate trial 1 (#3803): ibm/example-health-apis -- COMPLETE: 0/29 first contact, 25/29 whole, 28/28 cased, first-try det proof 23/28 (82%) #8073, whatever the result (prereg: "Published whatever the result").
Caveat for the write-up
n=1. summary() aggregates per engine version across trials for a reason — one estate's first-try rate is a data point, not a rate. Say so in the write-up.
Related: #8073, #3803, #8318, #8321 (one registered forecast per trial).
🤖 Generated with Claude Code
Activity
squid-protocol commentedon Nov 11, 2026
Owner ruling 2026-11-11: report BOTH numbers, frozen first
Owner: "keep the frozen harness number too, report both ... we'll wait a pre and post number after our remediation anyway, so if we say it's x and we did work to get it to y I'm happy reporting that lower number first, that seems more honest."
Adopted. The write-up leads with the frozen-instrument number and reports the fixed-instrument number beside it. Amendment 4 changes accordingly: it no longer declares a single configuration, it declares two runs.
Run A — frozen instrument (reported first)
Engine
5e4575d77, rules23338a4462cb, modelclaude-sonnet-5-5, harnessc58cb3a69. Everything as frozen at T0.Run B — frozen system, fixed instrument
Same system under test; harness + oracle at current
main, with the four post-freeze commits named and classified (table in the issue body).How big Run A's instrument gap is: 18 of 28
Measured, not estimated.
HCERRSPD.cpyis the estate's only copy member holdingEXEC CICS/EXEC SQL. Running the harness's owninline_exec_copiesover each eligible program's source, the compiled COBOL differs for 18 of the 28:So Run A's number is not a lower-bound measurement of the engine. For 64% of the denominator the reference itself is different, and most likely absent: pre-fix, the SQL precompile and CICS translation see only the program's own lines, so
HCERRSPD'sEXECstatements reachcobcuntranslated and GnuCOBOL cannot compile them. The expected outcome for those 18 is an oracle compile failure, i.e. causeharness— the instrument could not judge them — rather than a port verdict.That makes the pre/post story clean and genuinely honest, which is the point: Run A measures how much of the estate our instrument could judge at freeze (about 10 of 28). Run B measures the engine across all 28. Both are real; neither is dressed up.
Required reporting shape
Run A must be published decomposed, never as a bare rate:
model/ticket/generator/engineharness— with the 18 namedAdded work
Related: the case audit on #8073, and #8321.
squid-protocol commentedon Nov 11, 2026
Prerequisite confirmed: the port tickets must be regenerated
trial.py start's work directory did not survive. Searched the whole of/srv/.../gitgalaxyand the data pool:trial-001records nowork/projectpath — onlysystem,eligible,out_of_scope,declaredandprograms.ai_agent_jobsdirectory holds a ticket for any of the 28 eligible programs. The onlyHC*_port_ticket.jsonfiles on disk are cics-crucible's (HCQREAD,HCMAIN,HCSUB,HCOPT) — theHC*glob matches them coincidentally, and none is in this trial's eligible set.So before the first
port_runner run, the tickets have to be regenerated through the same scan -> refract -> cobol-to-java path (target configh2) thattrial.py startused, at the frozen engine5e4575d77with porting rules23338a4462cb— not at currentmain. The engine is the system under test; regenerating tickets at a later engine would silently change what is being measured.Two guards on that step:
ffa129cd16a8fe6ba876d61298efc52dd3ca26f11b63a911453c32706ef69560. If it differs, the eligible set or the out-of-scope reasons have drifted and the run must stop —_validate_trialenforces this, but check it deliberately rather than discovering it atsync.porting_rules_hash()still computes23338a4462cb. If the rules moved, that is a system change and the run is not first-try.Added to the checklist in the issue body.
Amendment 4: two runs (frozen-instrument Run A first, decomposed, 18 …
Pre-registration Amendment 4: instrument/system split for trial-001 (…
squid-protocol commentedon Nov 11, 2026
#8323 merged: a partial slice of [c:bcd80b26] "Amendment 4 in
docs/language_status/estate4_preregistration.md: the instrument/system split above, the four commits with their classification, and the restated denominator. Land this BEFORE the "; left: the amendment text is complete; the oracle-compile-status recorder it makes a precondition of Run A is sibling #8325, and the proof phase starts after both. (promoter-bot)Amendment 4: record the pre-run verification of the frozen system (Pa…
squid-protocol commentedon Nov 11, 2026
Churn run
8322-20261111T2350Z(host melek) ended without a PR. No PR: Amendment 4 already merged (#8323/#8327). Proof run not started; owner 11-11 closed Blind 1 at L2, proof phase withdrawn.trial.py verify: re-check a trial's frozen system mechanically (Part of
squid-protocol commentedon Nov 12, 2026
#8336 merged: a partial slice of [c:0dcec64c] "Verify the frozen engine checkout and a reproducible
gitgalaxy-gnucobol:3; confirm the porting-rules hash still computes to23338a4462cb."; left: verification is mechanical, but the oracle image rebuild-reproducibility and ticket regeneration at the frozen engine are not done. (promoter-bot)oracle rebuild goes through equivalence_common.docker_build (Part of #…
trial.py verify --rebuild-oracle: oracle Dockerfile rebuilds to the p…
10 remaining items
squid-protocol commentedon Nov 12, 2026
#8347 merged: a partial slice of [c:4e50ef84] "
trial.py closewith causes for the unproven;trial.py report --writeto publish."; left: ledger close and report publish; causes are recorded on the page only (promoter-bot)Merge origin/main into churn/8322 (Part of #8322)
Blind 1: headline and det-then-model status in the proof run record (…
squid-protocol commentedon Nov 12, 2026
#8348 merged: a partial slice of [c:09a5d938] "
port_runner runthenproveper eligible program, at the frozen engine/rules/model. One program per attempt record; attempt 1 is the measurement." (promoter-bot)Blind 1: book Run B in the trial-001 ledger (23/28 first-try, 5 prove…
Blind 1: trial.py run --backend anthropic, the det-then-model leg beh…
squid-protocol commentedon Nov 12, 2026
#8352 merged: a partial slice of [c:09a5d938] "
port_runner runthenproveper eligible program, at the frozen engine/rules/model. One program per attempt record; attempt 1 is the measurement."; left: the det-then-model figure needs the owner's ANTHROPIC_API_KEY and spend; the #8073 post is the orchestrator's (promoter-bot)squid-protocol commentedon Nov 12, 2026
Churn run
8322-20261112T1312Z(host melek) ended without a PR. No PR; det-only result final. Model leg needs ANTHROPIC_API_KEY + spend from owner (question written); #8073 post pending.squid-protocol commentedon Nov 12, 2026
Churn run
8322-20261112T1551Z(host melek) ended without a PR. No PR: det-then-model leg needs ANTHROPIC_API_KEY + spend (owner question blind1-api-key already open); nothing changed.squid-protocol commentedon Nov 12, 2026
Done. The proof phase ran 2026-11-12 and
trial-001is closed.first-try det proof rate: 23/28 (82%) at the frozen engine
5e4575d77. Run A (frozen harness) 5 of 28 proven, 23 not judged (causeharness, the Db2 DDL step reading the estate's DSN run card); Run B (harness at main) 23 of 28 proven, 5 not proven. The 5 are two real engine bugs since fixed — P126 little-endian COMP SQLCA (#8225, plus #8246 for HCITDB01) and P127 lost leading zero onMOVE 08000000(#8269) — bookedproven@2(engine)with their fix commits, so all 28 are eventually proven and the current engine does 28/28.Landed in #8341, #8351, #8352; record in
docs/language_status/blind1_proof_run.md; result posted on #8073.The one registered figure still outstanding, det-then-model, needs an API key and owner spend and is now #8372. Closing this.