Repository navigation
Rebuild on GitGalaxy's verified mainframe corpora, with behavioural equivalence - #2
Merged
Merged
Conversation
…behavioural equivalence Replaces the 10 pre-epic scaffolds (2026-08-31: an older pipeline, committed target/ folders, no provenance) with the output of today's pipeline on the six pinned, answer-keyed corpora GitGalaxy verifies against: - CardDemo, CBSA, GenApp, zECS and the Z Open Editor sample; - DSF, 431 PL/I programs. Each examples/<name>/ holds: - java/: the generated Spring project, as generated, with its traceability.json and migration worklist; - PROVENANCE.md: source commit and licence, generator commit, commands; - scan_comparison.md: the source estate and the Java, scanned by the same engine. equivalence/carddemo-intcalc/ shows CardDemo's CBACT04C run as COBOL under GnuCOBOL and as the Java on the same inputs, diffed record by record, decimals exact: - 100/100 records equal with the hand port; - 4/100 as generated. The run also found a defect in the original: the last account's interest is never posted. A compile workflow builds every example on each push. Everything is regenerated by gitgalaxy's tests/tools/publish_examples.py, so later refreshes arrive as pull requests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
…THIRD_PARTY_NOTICES The examples are derived from third-party sources (Apache-2.0, EPL-2.0, MIT), so: - each example and equivalence case carries its source's own LICENSE / NOTICE files, unchanged; - every generated Java file opens with a notice naming the source, its commit and licence, and that it was modified in generation; - THIRD_PARTY_NOTICES.md lists each directory's source and licence, with a trademark note (no affiliation or endorsement); - LICENSE (Apache-2.0) covers only this repository's own files. Regenerated by gitgalaxy's publish_examples.py. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
…ites a main commit Every generated file is byte-identical to the previous publish; only the generator commit in PROVENANCE.md / README and the port's licence header change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebuilds this repository on GitGalaxy's current COBOL→Java pipeline (epic squid-protocol/gitgalaxy#3625) and adds behavioural-equivalence evidence. Depends on squid-protocol/gitgalaxy#3748: the provenance currently cites that PR's commit. Once it merges I'll re-run the publisher from
mainand push here before this merges.What changes
target/folders and no record of how they were made. Several sources weren't mainframe applications (editor, compiler, fake repo).Each example holds:
java/: the project as generated;PROVENANCE.md: source commit, source licence, generator commit and commands;scan_comparison.md: GitGalaxy's scan of the source next to its scan of the Java.Added:
equivalence/carddemo-intcalc/. CardDemo's CBACT04C (the interest calculator) runs as COBOL under GnuCOBOL and as the Java on the same inputs, diffed record by record, decimals exact:The run found a defect in the original: the last account's interest is never posted to its balance, because the loop's EOF branch is unreachable.
Added:
.github/workflows/compile.yml, which builds every example (JDK 17, Maven; actions pinned by SHA).README rewritten around evidence. It says what is generated from verified facts, what is not (business logic, a traced TODO per program), and where the proof is.
How it's made
python tests/tools/publish_examples.py <this checkout>in gitgalaxy regenerates everything deterministically, with run timestamps blanked. So future refreshes arrive as PRs here, and each diff is exactly what a pipeline change did.Licences and notices
The examples are treated as derived from their sources:
So:
examples/<name>/andequivalence/<case>/carries its source's own LICENSE / NOTICE files, unchanged.THIRD_PARTY_NOTICES.mdmaps each directory to its source and licence, with a trademark note (no affiliation or endorsement).LICENSE(Apache-2.0) covers only this repository's own files: README, notices, workflow.🤖 Generated with Claude Code
https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g