Skip to content

status slide: estate sizes and JCL coverage, recorded from the pinned corpora (Part of #7065) - #7707

Merged
squid-shepherd[bot] merged 1 commit into
claude/progress-slide-estatesfrom
claude/estate-size
Nov 4, 2026
Merged

squid-shepherd[bot] merged 1 commit into
claude/progress-slide-estatesfrom
claude/estate-size

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Follow-up to #7699 (stacked on it; retarget to main once #7699 merges). Owner request 2026-11-04: show how big the real codebases are, and how much of their JCL the step-flow reader covers.

What it adds

  • tests/tools/estate_size.py measures, per burned estate:
    • the ladder's programs and their lines;
    • the copybooks they COPY / EXEC SQL INCLUDE, and those members' lines;
    • JCL members, jobs job_flow reads with a step, jobs whose flow depends on COND / IF, and jobs with IBM-based run/bypass answers.
  • Recorded numbers. The docs run has no corpus, so the results live in tests/fixtures/estate_size.json (python tests/tools/estate_size.py CORPORA --write). test_estate_size.py re-counts and compares wherever the corpora are present, and checks the counters on small inputs.
  • Slide: each real-codebase row has a size line, e.g. "30k lines · 72 copybooks · 55 jobs". The total reads 76k lines, 116 copybooks, 143 jobs.
  • Capability ledger: "JCL in the real codebases": 143 jobs read in 213 JCL members; 18 depend on COND / IF; 8 / 18 answer-checked (CardDemo).

Checks

  • The 387 related tests pass, including the live corpus comparison.
  • ruff_audit --ci: no new findings.

🤖 Generated with Claude Code

… corpora (Part of #7065)

Owner 2026-11-04 (follow-up to #7699): show how big the real codebases are and how much of their JCL the
step-flow reader covers.

- tests/tools/estate_size.py measures, per burned estate: the ladder's programs and their lines, the copybooks they
  COPY / EXEC SQL INCLUDE and those members' lines, JCL members, jobs job_flow reads with a step, jobs whose flow
  depends on COND / IF, and jobs with IBM-based run / bypass answers. The docs run has no corpus, so the numbers
  are recorded in tests/fixtures/estate_size.json (`estate_size.py CORPORA --write`); test_estate_size.py re-counts
  and compares wherever the corpora are present, and checks the counters on small inputs.
- The slide's real-codebase rows carry a size line (e.g. "30k lines · 72 copybooks · 55 jobs"; all six: 76k lines,
  116 copybooks, 143 jobs). The capability ledger gains "JCL in the real codebases": 143 jobs read in 213 JCL
  members, 18 depend on COND / IF, 8 of them answer-checked (CardDemo).

Stacked on #7699.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit b573e4d into claude/progress-slide-estates Nov 4, 2026
3 of 4 checks passed
@squid-shepherd
squid-shepherd Bot deleted the claude/estate-size branch November 4, 2026 15:29
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

squid-shepherd Bot pushed a commit that referenced this pull request Nov 4, 2026
…4 stance, Open World level build (Part of #7065) (#7699)

* progress slide: external vs internal estates, L4 highlighted, below-L4 stance, Open World level build (Part of #7065)

Owner request 2026-11-04: with the L1-L4 ladder finished, the "where we stand" slide now
- highlights L4+ as its own hero tile (five tiles: L1, L2, L4, L5, CICS commands);
- drops the per-level count table: one-line, larger legend, full-width bars, an "N / M at L4+" cell per row;
- splits the ladder into external estates (burned, the headline totals) and internal estates (cics-crucible, the
  estate crucible), kept out of every total;
- names every burned program below L4 with its ruling (source defect, refused by design, owner hold, or the
  report's next step), so a refusal reads as a stance, not a dropped program;
- adds a card per Open World level (Batch Badlands, Alternate Index Archipelago, Warlords of the Message Seas,
  The Hierarchy Keep): built % = planned constructs whose horrors are all in the pinned baseline, horrors and
  passes at the pin, first-time run date once recorded.

New tests/estate_crucible/levels.json holds each level's planned constructs (from #7065 and the level docs),
mapped to merged horror ids only; a test refuses a half-pinned construct. ladder_exclusions gains short reasons
and HELD_BELOW_L4 (BANKDATA: its last branch outcome is reachable per #7577's z3 check, owner skip 2026-10-30).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ladder_exclusions: no BANKDATA hold (#7700 nets its last outcome by owner ruling); test uses a synthetic hold

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* progress slide round 3: one story top to bottom, plain words, ladder in three matching bands (Part of #7065)

Owner request 2026-11-04 after four reviews of the slide (a data-viz designer, a skeptical buyer, an evidence
auditor, a story editor), merged where they agree and the owner's direction where they don't:

- Order: header with the GnuCOBOL / not-z/OS caveat in plain words -> the six steps defined once -> four program
  tiles (L4 the hero) -> results ladder -> results by age of code -> planted bugs (L5) -> what the translator can
  do -> how faithful the runtime is -> work done. Section titles are computed claims ("Results: 125 of 129 ...").
- Ladder: one panel, three bands of the same geometry: real codebases (with the "not at every branch yet, each
  named" box right under them and a computed "net of N reviewed infeasible / undefined by IBM" line), our CICS
  test suite, and our Open World practice codebases as L0 bars ("being built: 12 of 20 planned constructs, 60% of
  our plan"; "first run pending"). Level horror counts are per level (27 of 27), not the crucible's 88 of 90.
- Honesty: no "blind" for our own levels; "proved sort cases" -> "sort equivalence cases"; "none needed" ->
  "0 claimed"; a stale level (L4*) now counts at its level and is reported, not dropped; issue counts are labelled
  activity, not evidence; plain names for the milestones and the runtime rule families.
- Colour: ladder hues mean a ladder level only; every other bar is one neutral ink; the runtime status palette no
  longer reuses ladder hues and its two warm statuses are no longer neighbours.
- levels.json carries members_at_pin (COBOL programs / JCL jobs per level app at the pin); a test checks them
  against the pinned estate-crucible key when a clone is present.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* progress slide: results panel split in half, levels left and the L5 planted-bug bars right; L5 table gone

Owner request 2026-11-04: the L1-L4 ladder no longer takes a whole panel. Each codebase row now carries two bars:
left, L0-L4 (an L5 program counts at L4 there); right, its L5 work in its own single-hue ramp (pass, pass not
yet counted, tested with planted bugs still open, not yet tested). The "N / M at L4+" sum column and the L5 table
are gone; the L5 raw and sample shares and the hand-written ports' score are one line each under the bars. Our
CICS test suite and the Open World levels show "L5 not yet started" the same way. L5's level swatch is the L5
bar's pass shade, so L5 is one colour everywhere. Segment labels print only where they fit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* progress slide: headline tiles first with our test suite's numbers; L5 tile counts planted bugs caught

Owner request 2026-11-04: the four headline boxes come first, the level legend under them. Each box now carries
the real-codebase figure and, under a rule, our CICS test suite's (85 / 85, or "L5 not yet started"). The L5 box
leads with the planted bugs our tests caught (12,350 of 18,585 run, 66%) and says how many programs pass L5,
rather than "11 / 129". Under the bars, the L5 note gives the full accounting: caught, explained as harmless
(equivalent / unreachable, labelled reviewed claims not yet audited, per the 2026-11-01 L5 audit), and the share
of the 42,693 possible planted bugs run. Explained survivors are not added to the caught count.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* progress slide: one internal-test-suites band; JCL step flow row computed; level plan at v0.7.0

- Bands 2 and 3 are one band, "Our internal test suites": the CICS test programs and the Open World practice
  codebases, never in a total (owner 2026-11-04).
- Capability ledger: a computed "JCL step flow" row. The jcl_flow evaluator is run live on the 14 IBM-written FLOW
  fixture scenarios (the bar) and on CardDemo's 34 answers over its 8 EXEC COND jobs (34 of 34). Without the
  corpus (the docs run) it reads tests/equivalence/jcl/carddemo/measured.json, recorded by
  `capability_ledger.py jcl-measure CORPORA`, only while its answers hash matches; a corpus-gated test keeps the
  record equal to a live run. The old row is "JCL job execution" (steps still wired by the case).
- levels.json follows the v0.7.0 pin (#7702): the horrors of slices 4-5 and Hierarchy Keep slice 1 (H-0083..85,
  H-0094..98) and the v0.7.0 member counts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* capability ledger: "Code pages and national text" group (EBCDIC pages, cultural dialects, multicultural estate)

Owner 2026-11-04: the slide hid the World Tour work. Three computed rows:
- EBCDIC code pages: the pages the scanner decodes (ebcdic_codecs / ebcdic_dbcs: 15 single-byte national, 5
  double-byte) and how many the generated Java decodes too (a JDK charset name): 20 / 20.
- Cultural dialects: the Cultural Gauntlet's source dialects x data code pages, and its known-failing cells read
  from the CI ratchet (tests/cultural_gauntlet/baseline.txt): 10 dialects in 7 pages, 0 failing.
- Multicultural test estate: the estate crucible's phase-2 horrors (H-0035..H-0049) passing at the pin: 15 / 15.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* status slide: estate sizes and JCL coverage, recorded from the pinned corpora (Part of #7065) (#7707)

Owner 2026-11-04 (follow-up to #7699): show how big the real codebases are and how much of their JCL the
step-flow reader covers.

- tests/tools/estate_size.py measures, per burned estate: the ladder's programs and their lines, the copybooks they
  COPY / EXEC SQL INCLUDE and those members' lines, JCL members, jobs job_flow reads with a step, jobs whose flow
  depends on COND / IF, and jobs with IBM-based run / bypass answers. The docs run has no corpus, so the numbers
  are recorded in tests/fixtures/estate_size.json (`estate_size.py CORPORA --write`); test_estate_size.py re-counts
  and compares wherever the corpora are present, and checks the counters on small inputs.
- The slide's real-codebase rows carry a size line (e.g. "30k lines · 72 copybooks · 55 jobs"; all six: 76k lines,
  116 copybooks, 143 jobs). The capability ledger gains "JCL in the real codebases": 143 jobs read in 213 JCL
  members, 18 depend on COND / IF, 8 of them answer-checked (CardDemo).

Stacked on #7699.

Co-authored-by: Claude Opus 5.5 <[email protected]>

* change_classifier: regenerate docs_read_by_tests.txt for the slide and estate_size changes

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

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

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