Skip to content

docs(wiki): COBOL <-> Java scan parity (05-18) - #4161

Merged
squid-protocol merged 3 commits into
mainfrom
docs/port-scan-parity
Oct 2, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
docs/port-scan-parity

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

New wiki page docs/wiki/05-18-cobol-java-scan-parity.md (nav + index entries added).

GitGalaxy scans of 49 converted programs (CardDemo 28, CBSA 8, GenApp 13) in three forms: the original COBOL, the deterministic Java port (proven against GnuCOBOL / CICS model / Db2), and the 23 CardDemo model-written ports. The page records:

  • what stays the same: structural rank (paragraphs to methods rho 0.94, branches 0.83, mutations 0.76), per estate as well;
  • what changes and why: size x5 / tokens x9 for det ports vs x1.09 / x1.18 for model ports; I/O moves into the cobolrt runtime; risk scores are normalised per scan; archetype shifts; model-port TODOs vs det-port named Holes; fixed overhead in small programs;
  • the method (per-estate trees, galaxyscope, file_data, Spearman), including the two adjustments the det trees needed (line rewrap, Lexical Monotony gate lifted) and the line inflation the rewrap causes (median +19%);
  • scanner lessons and translation lessons;
  • a Follow-ups section with PR-number placeholders for the work in progress (cobolrt I/O and holes in the scanner, proven-port header, structural parity warning, 49-pair invariance test).

mkdocs build renders the page (7 tables).

🤖 Generated with Claude Code

https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ

…and after a port

49 programs from CardDemo, CBSA and GenApp scanned as COBOL, as the proven
deterministic Java port and (23 CardDemo programs) as the model-written port:
structure keeps its rank (functions rho 0.94, branches 0.83, mutations 0.76),
size and token mass do not, I/O moves into the cobolrt runtime, risk scores
rank within one language only. Method, tables, scanner and translation lessons,
and the follow-ups in progress.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 3940b93 into main Oct 2, 2026
29 checks passed
@squid-protocol
squid-protocol deleted the docs/port-scan-parity branch October 2, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant