Repository navigation
Description
Part of #3803. Owner, 2026-11-07: run the blind trial as an L1 translation trial (pre-registration Amendment 1, PR #8067); draw at T0; churn focused on it.
T0 (2026-11-07, 10:32 PM Eastern)
- Main frozen at T0:
d675a619cbeacbeb95b91a78156cd4ef97f38141.cics_census.py preflight --t0passed with 0 findings. - Draw:
estate4_draw.py draw --round 6531446.- drand randomness
ff680aa0…ec2b; candidates sha256f26139254a8a5049…, matching the committed list. - seed
65d48566…f02f; index 15 of weight 44. - Winner:
ibm/example-health-apis, pinned at9cfe321e2028f4f91a780bbb7d4cbb8393565f76(weight 3).
- drand randomness
- Clone: 247 files, including 58
.cbl, 17.jcland 9.cpy(file names only).
T0 result (tools only, det translator at T0)
14 of 58 programs translate whole (24%). Accounted: 22 of 58 (whole, plus 8 clone-defect programs).
| Gap class (scrubbed) | Programs | Status | Owner |
|---|---|---|---|
refused: CopyUnresolved (all 21: the estate holds the member) |
21 | refused whole | slice issue below |
EXEC SQL: other |
10 | not modelled | slice issue below (#8060) |
missing copybook: clone defect (not in the clone) |
8 | named source defect | accounted |
EXEC: other (EXEC CICS keys the scrubber collapsed) |
3 | not modelled | slice issue below (#8059) |
EXEC CICS ASSIGN PRINSYSID |
2 | not modelled | slice issue below (#8059) |
Upper bounds if gaps close: the top 1 gives 35 / 58; the top 3 give 53 / 58.
Calibration (census mock trial #7709): about 20% whole at first contact, and about 33% whole / 95% accounted after three days. Forecast, frozen now: at close-out, 35-45 of 58 whole and at least 50 of 58 accounted.
Protocol
Blind-trial protocol (rule 3, estate-trial skill): nobody, human or agent, reads, opens, copies, excerpts or edits the estate's source, even unprinted. Tools run over the clone as is, and only aggregate or scrubbed output (counts, gap classes, IBM keywords) may be printed or posted. Reproduce every construct on an authored fixture or a burned program, cite IBM, and prove it there. The clone (pinned) is /srv/storage_16tb/projects/gitgalaxy-worktrees/_shared-scratch/blind/example-health-apis.
- L1 only (whole), with no claim above L1. Rule 10 applies to every source-defect label.
- Time box: 14 days from T0, so close-out is by 2026-11-21.
- Re-measure after each merge (counts only). The census tools refuse a non-census root; the measurement slice below fixes that. Until then, measure with
cics_census.run_det_survey(OUT, 'before', [('nb', BLIND_ROOT, ['example-health-apis'])]), thengap_prevalence.py --census-survey OUT --census-corpora BLIND_ROOT(no--write).
Checklist (slices)
🤖 Generated with Claude Code
- Blind trial #8073: COPY unresolved although the estate holds the member (21 of 58 programs refused whole) #8074 COPY unresolved although the estate holds the member (21 programs, top gap)
- Blind trial #8073: EXEC SQL forms not modelled (10 of 58 programs) #8075 EXEC SQL forms (10 programs, det Db2: standing owner for EXEC SQL refusals (successor of #4098; blind-trial prep) #8060 family)
- Blind trial #8073: EXEC CICS ASSIGN PRINSYSID and the scrubbed EXEC CICS keys (5 of 58 programs) #8076 EXEC CICS ASSIGN PRINSYSID + scrubbed EXEC CICS keys (5 programs, det/CICS: standing owner for EXEC CICS refusals (successor of #4270; blind-trial prep) #8059 family)
- Blind trial #8073: measurement tooling -- census_nightly / cics_census / preflight accept the blind-estate root #8077 measurement tooling for the blind root (blind generated series)
- Pre-draw gate: independent copybook-resolution census (engine resolver vs plain file search) #8111 pre-draw gate: independent copybook-resolution census
- Inventory: compile listings, expanded copies and duplicate PROGRAM-IDs are not programs #8112 inventory: listings, expanded copies, duplicates are not programs
- Clone evidence must come from an independent search (rule 10 for missing-copybook labels) #8113 clone evidence from an independent search
- L1 phase closed 2026-11-08: 0/29 first contact, 25/29 whole, 26/29 accounted
- Blind 1 proof phase: Amendment 3 (owner exception to rule 2) and trial.py start on a frozen system #8119 proof phase: Amendment 3 + trial.py start (frozen system, first-try proof rate)
- Promote ibm/example-health-apis to a development estate (after the proof trial starts) #8120 promote to a development estate (after Blind 1 proof phase: Amendment 3 (owner exception to rule 2) and trial.py start on a frozen system #8119)
- Blind 1 to L2: equivalence cases for ibm/example-health-apis, one program family per PR #8121 L2 equivalence cases, one family per PR (after Promote ibm/example-health-apis to a development estate (after the proof trial starts) #8120)
- Close-out by 2026-11-21: whole / 58 and accounted / 58 against the frozen forecast; write-up
🤖 Generated with Claude Code
Activity
census: --blind-root measurement path for the blind trial (Part of #8073
docs(wiki): COBOL-to-Java pages report evidence levels, not blanket "…
squid-protocol commentedon Nov 8, 2026
What the first blind trial taught us (2026-11-08, about 10 hours after T0)
Counts only; no estate source was read for this write-up.
Correction first: the estate has 29 programs, not 58
PR #8081 found that 29 of the 58 "programs" were `.expanded/` compile-listing copies of the real programs, in hidden directories. They are duplicates with copybooks already inlined, not programs. This is the same class of counting bug as the census copy member (#7901).
Re-counted from the T0 survey by path alone:
At first contact, none of the 29 real programs translated whole. All 14 "whole" rows at T0 were the expanded copies.
Every real-program failure at T0:
Proposed for the owner: restate the trial on 29 programs, as a recorded correction. The copies were never programs; the pre-registration's eligibility is programs. Both numbers stay published.
Lessons
How common are these gaps? (counts only, `corpus_cobol`, excluding blind candidates, census and this estate)
EXEC SQL is common in CICS estates (17% of development-estate programs; 10 of 29 here) and was already modelled. The copybook-layout plumbing shows up in about a third of public repos. A real mainframe export, whose library members usually have no extension, will hit it every time.
Implication for "churn common areas first" vs "go straight to new estates"
The semantic work we did ahead of time (SQL, CICS breadth) held up on first contact. The failures that zeroed first contact were layout and inventory problems that only a real estate exposed. Those are cheap to find and fix once seen, and they generalise.
Two process fixes before the next draw:
🤖 Posted by Claude Code
[-]Blind estate trial (L1, #3803): ibm/example-health-apis -- T0 14 of 58 whole[/-][+]Blind estate trial (L1, #3803): ibm/example-health-apis -- 29 programs; first contact 0 of 29 whole[/+]squid-protocol commentedon Nov 8, 2026
Owner ruling 2026-11-08: the trial is restated on 29 programs (recorded correction)
The 29 `.expanded/` compile-listing copies are not programs: they are duplicates with copybooks inlined, found by PR #8081. The pre-registration's eligibility is programs, so the basis is 29. This is a correction of the count, not a change of rules after the result. Both counts stay published:
The frozen forecast (35-45 of 58 whole) was set on the wrong basis. Scaled to 29 programs it is about 17-22 whole, and the trial has already passed it.
🤖 Posted by Claude Code
squid-protocol commentedon Nov 8, 2026
L1 phase closed (2026-11-08, 12:22 PM Eastern): 25 of 29 whole, 26 of 29 accounted
Final blind measurement at main `3b5c59556` (`cics_census.py survey --blind-root`, tools only, counts only). The program inventory now counts 29 programs by itself (#8112 / #8081).
Still open at L1:
The frozen forecast, scaled to 29 programs (about 17-22 whole), was beaten within a day.
The owner is moving this estate on to L2 (2026-11-08: "get Blind 1 to L2"). That needs cases, so it needs the code to be read. It is the deferred proof phase of the pre-registration and needs an owner exception to rule 2 for this repo (Amendment 3). The L1 blind result above is closed before anyone reads the estate's code, so nothing learned from reading can touch it. From here the estate is no longer blind. Proof-phase issues follow. This issue stays open as the parent until its pre-draw prep items (#8111-#8113) close.
🤖 Posted by Claude Code
[-]Blind estate trial (L1, #3803): ibm/example-health-apis -- 29 programs; first contact 0 of 29 whole[/-][+]Blind estate trial 1 (#3803): ibm/example-health-apis -- L1 closed: 0/29 first contact, 25/29 whole; proof phase next[/+]README hero: animated scan-flow film from a real scan (+ generator) (#…
squid-protocol commentedon Nov 9, 2026
Blind 1 proof phase started: frozen system and eligible list (trial-001, 2026-11-09)
Counts and names from the ledger only (
tests/cobol_mainframe/trials.json, #8154). Amendment 3 (#8141) applies from this start.Frozen system: engine
5e4575d77(v2.12.0), porting-rules hash23338a4462cb(ticket v1), modelclaude-sonnet-5-5viaanthropic, harnessc58cb3a69. Estateibm/example-health-apis@9cfe321e2028, now development for good.Eligible (28):
HCAPDB01,HCAPDB02,HCATDB01,HCAVDB01,HCAZERRS,HCAZMENU,HCIMDB01,HCIPDB01,HCITDB01,HCIVDB01,HCM1BI01,HCM1PL01,HCMABA01,HCMADB01,HCMADB02,HCMAPL01,HCMRESTW,HCP1BA01,HCP1BI01,HCP1PL01,HCPRESTW,HCT1BA01,HCT1BI01,HCT1PL01,HCTRESTW,HCV1BA01,HCV1BI01,HCV1PL01Out of scope (1), by the rule on missing source:
HCP1BU01: source missing from the repo: COPY member LGCMAREA is not in the estateDeclared fingerprint:
ffa129cd16a8fe6ba876d61298efc52dd3ca26f11b63a911453c32706ef69560(neither list may change afterwards). L1 result unchanged: 25 of 29 whole, 26 of 29 accounted.Blind 1: record the trial-001 start and the #8073 announcement in Ame…
Promote ibm/example-health-apis to a pinned development estate (Part of
squid-protocol commentedon Nov 11, 2026
L2 phase closed, study complete (owner, 2026-11-11)
The owner closed Blind 1 at its registered L2 endpoint. L3/L4 was never in the pre-registration or in the 2026-11-08 instruction ("get Blind 1 to L2"), so the climb that had started on this estate is off-registration and stops here.
Result
d675a619c)3b5c59556)HCP1BU01was declared out of scope up front by the missing-source rule (COPYmemberLGCMAREAis not in the estate), so 28 is the eligible denominator, not 29. The frozen forecast — 35–45 of 58, about 17–22 scaled to 29 programs — was beaten within a day.What we learned
The engine's semantics were ready; its plumbing was not. Every one of the 29 real programs failed at T0, and 28 of those failures were copybook resolution — the engine finding, or failing to find, members. Zero were unmodelled semantics. All 17 real SQL statements (INSERT, SELECT INTO, SET, cursor OPEN/FETCH/CLOSE) translated on first contact, which is the #4098 Db2 work paying off against an estate nobody had seen, and the CICS breadth work held up too.
Our own measurement lied to us twice, in opposite directions. The "10 EXEC SQL programs" were duplicates carrying listing line numbers — no SQL form was unmodelled. And 6 of the 7 programs scored "accounted: missing copybook" were our resolver bug, not missing source: 7/29 as measured became 1/29 in hindsight. Both artifacts survived until a real estate exposed them. This is the strongest argument for running these trials at all, and the strongest argument for keeping the first-contact number in the story rather than reporting only the 86%.
0/29 at first contact is the honest headline, and the gap was shallow. Going 0 → 25 whole in a day says the failures were layout and inventory problems, cheap to find once seen and generalisable — not that the engine was far off. Reporting only 86% would misrepresent what a cold estate does to us.
The forecast was set on the wrong basis. 35–45 of 58 was derived from an inflated program count — the same duplicate-counting problem the trial then exposed. Next draw: freeze the forecast after the eligibility rules have been applied, not before.
Process lesson: the focus had an endpoint but no stop condition. Once L2 was met, "focus starved" got read as "find more to do on this estate" rather than "this is finished". That produced an L3/L4 climb, three owner questions that were never needed for the registered endpoint (o259/o261 on the REST wrapper success paths, and one on
HCMAPL01 WHEN 70), and a day of churn ticks spent on work outside the registration. Two of those questions were auto-held at 2:32 AM Eastern by the 2-tick rule — a question raised overnight expires before the owner can see it. A focus item needs a declared endpoint, and a focus whose endpoint is met should retire rather than deepen.The proof phase, and why it is withdrawn
trial-001was started 2026-11-09 on a frozen system (engine5e4575d77/ v2.12.0, porting rules23338a4462cb, modelclaude-sonnet-5-5, harnessc58cb3a69) and never fed: all 28 programs sat at"attempts": [], "final": "open",closed: null. The porting loop never ran on this estate, so there was nothing fortrial.py syncto import.Closing it as the tool then stood would have published a 0/28 first-try proof rate for v2.12.0 —
close()forced every open program tonot-proven(<cause>)from a vocabulary that all asserts we tried and failed, and_counted()("or its trial is closed") pulled all 28 into the denominator. That is a fabricated negative against an engine that was never asked to try. The instrument had no way to represent an unrun trial.PR #8318 adds a
withdrawnstate: unattempted programs are left out of the denominator, the headline readsnot measured (proof phase withdrawn), andtrial-001is closed as withdrawn with its reason in the ledger. This does not rule out running the proof phase later — case-writing was a designed prerequisite for it, so a measurement on this estate would still be legitimate. The withdrawal records that it has not happened rather than asserting a result.Follow-ups
withdrawnstate andtrial-001closed as withdrawn. This issue closes when it merges.[-]Blind estate trial 1 (#3803): ibm/example-health-apis -- L1 closed: 0/29 first contact, 25/29 whole; proof phase next[/-][+]Blind estate trial 1 (#3803): ibm/example-health-apis -- closed at L2: 0/29 first contact, 25/29 whole, 28/28 cased; proof phase withdrawn[/+]squid-protocol commentedon Nov 11, 2026
Correction to the reflection: the registered first-contact calibration was ~20%, and we missed it
My reflection above compared the result to the T0 forecast (35–45 of 58, about 17–22 scaled to 29) and said it was beaten. That is true but it is the close-out comparison, and it left out the comparison that the registration makes the headline.
docs/language_status/estate4_preregistration.mdline 18 states in advance:Against that:
The first row is the registration's headline (line 12: "The headline is whole / programs at first contact"; line 88: "The det translator only rate ... is the headline"). We missed it, and by more than the margin: not 20% but zero. Both the miss and the beat belong in any report of this trial; quoting only the 86% or only the beaten T0 forecast misrepresents it.
Note also that line 110 is explicit that remediation is not the metric: "Fixes during the attempt: allowed, but never first-try. ... The first-try rate is computed only from attempts on the frozen system." The frozen system exists so post-freeze fixes cannot count. So "we fix it all" is not a result this trial can report, by design.
What the trial does support, stated plainly: we missed our first-contact calibration badly (0% against ~20%), beat our two-day remediation forecast (86% against ~30%), and hit the accounted forecast exactly (90%). The engine's semantics were ready and its plumbing was not — which only a cold estate could have revealed.
trial: keep trial-001 open -- its proof phase is still measurable (Pa…
squid-protocol commentedon Nov 11, 2026
Proof phase authorised; case audit clean (owner 2026-11-11)
Owner: "yes run it, audit the cases first." The proof phase — the registered star metric, the first-try proof rate — is now #8322, and churn's focus is set to it.
trial-001stays OPEN (#8318 reverted its premature withdrawal; thewithdrawnstate itself still lands, since the instrument genuinely could not express an unrun trial).Case audit: clean, and structurally so. No case holds an expected value — swept all 28, zero
expected/golden/baselinekeys; a scenario isname+commareainputs + a prosewhy. Expected results are computed by running the COBOL under the pinnedgitgalaxy-gnucobol:3oracle, so there is nothing to hand-tune. The 11 cases that were revised after being added only ever widened coverage (branch/paragraph lifts, one comparison widened to include the job log); none narrowed a comparison or dropped a scenario. 202 scenarios over 28 programs. Declared limitation: the three REST wrappers have error-path cases only.What the audit did find: the frozen harness moved after the freeze, and one of the changes is an oracle defect, not an instrument tweak. Four post-freeze commits were driven by this estate; three extend what the instrument can judge (a
layout_onlyRETURN read as raw bytes; the facade routing a no-DFHCOMMAREAre-entry throughrunTaskinstead of refusing; correct DDL reading). The fourth,2c3c7b488, inlines a PROCEDURE DIVISIONCOPYmember holdingEXEC CICS/EXEC SQLbefore the precompile — which is what z/OS does, meaning the frozen harness compiles some of these programs missing their EXEC statements. The frozen oracle is wrong for this estate.So the configuration is a declared deviation: system under test stays frozen (engine
5e4575d77, rules23338a4462cb, modelclaude-sonnet-5-5) and the measuring instrument runs at current main, recorded as Amendment 4, which lands before the first attempt. Measuring against a knowingly-defective reference would be worse than deviating, and none of the four commits changes what counts as equal. Anything the instrument still cannot judge gets causeharness— a registered cause and the honest label.Full reasoning, the commit classification table and the work checklist: #8322.
trial: a withdrawn trial reports "not measured", never a 0% first-try…
squid-protocol commentedon Nov 12, 2026
Blind 1 proof phase: RESULT — first-try det proof rate 23/28 (82%)
The proof phase ran on 2026-11-12.
trial-001is closed. Full record:docs/language_status/blind1_proof_run.md; ledgertests/cobol_mainframe/trials.json; published pagedocs/language_status/fresh_estate_trials.md.Headline
first-try proof rate: 23/28 (82%) on 1 fresh estate at engine v2.12.0
One attempt per eligible program, deterministic COBOL-to-Java port (
--backend det) at the frozen engine5e4575d77, tickets regenerated from it. Attempt 1 is the measurement.HCP1BU01is out of scope (source missing), so the denominator is 28.c58cb3a69harness)Run A is reported first, per Amendment 4, and it is not a proof rate. All 23 unjudged programs stop at the same line before any COBOL or Java runs —
SQL0104N An unexpected token "DSN SYSTEM(DB1S) RUN PROGRA" was found— the frozen harness's Db2 DDL step reading the estate's DSN run card as DDL. Nothing judged them, so they are not port failures. Its 5 "proven" are the programs with no Db2, three of them the REST wrappers that have error-path scenarios only, so they say little about the happy path.The 5 misses were two real engine bugs, both since fixed
Recorded in the ledger as
proven@2(engine)with their fix commits, which is exactly the shapetrial.pyis built for:HCIMDB01,HCIPDB01,HCITDB01,HCIVDB01tookWHEN OTHERafter SQLCODE +100 because a COMP-declared SQLCA was written little-endian — P126, fixed by Det Db2: a SQLCA declared COMP is held big-endian, so EVALUATE SQLCODE WHEN 100 matches (Part of #8121) #8225 (HCITDB01also needed Standalone Sysout honours gitgalaxy.sysout: DISPLAY in CICS-only estates reaches the compared file (#8243) #8246 for its sysout).HCMADB02lost the leading zero ofMOVE 08000000— P127, fixed by det port: a numeric literal MOVEd to a group or alphanumeric item keeps its digits (#8223) #8269.Reruns at the fixed engine prove 5/5, so the current engine does 28/28 on this estate.
What the 82% does and does not mean
It is final for this trial. Pre-registration section on fixes: "Fixes during the attempt: allowed, but never first-try. The first-try rate is computed only from attempts on the frozen system." The frozen system exists precisely so that post-freeze repairs cannot flatter the number. 82% is what the 2026-11-09 engine did cold; the two fixes land as first-try credit in trial 2, not here.
n=1. One estate's first-try rate is a data point, not a rate —
summary()aggregates per engine version across trials for that reason.The registered model figure is still missing. The trial registered
anthropic/claude-sonnet-5-5, and section 4 requires the det-then-model rate reported beside the det-only headline. That run needs an API key and spend and has not been made; it is tracked in #8352. Until it lands, the published figure is det-only.The trial's full arc
Read together: we missed our registered first-contact calibration badly (0% against ~20%), beat our two-day remediation forecast (86% against ~30%), hit the accounted forecast exactly (90%), and the frozen engine then proved 82% of the estate first try. The engine's semantics were ready; its plumbing was not — which only a cold estate could have shown us.
squid-protocol commentedon Nov 12, 2026
Closing: blind estate trial 1 is complete.
Close-out obligations met: the estate is in
BURNED_NAMES(#8120), so it can never be drawn as a blind target again;trial-001is closed in the ledger; the result is published indocs/language_status/fresh_estate_trials.mdand recorded indocs/language_status/blind1_proof_run.md.Still owed, tracked separately so it does not hold this open: the det-then-model rate, the registration's companion figure to the det-only headline — #8372 (needs API key + owner spend).
Carried into the next draw: #8321 (one registered forecast per trial, frozen after eligibility is applied — this trial had two that disagreed, built on a program count the trial itself then corrected), plus the prep gates #8111-#8113.
The short version of the lessons: the engine's semantics were ready and its plumbing was not; our own measurements lied to us twice in opposite directions; and only a cold estate exposed either.
[-]Blind estate trial 1 (#3803): ibm/example-health-apis -- closed at L2: 0/29 first contact, 25/29 whole, 28/28 cased; proof phase withdrawn[/-][+]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%)[/+]Progress slide: code we had never seen, first contact then the climb,…
Estate journey: record a blind draw by command (add-draw, point, l2-f…
Progress slide: Blind 1 (example-health-apis) joins the training ladd…