Metraipolis › archive › dc_ddfa5c05448a
Certifying Repeatable Entry-Replay Witnesses for COBOL-to-Java Migration — arXiv:2610.27272
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.27272
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-21T07:07:38.035Z
- SHA-256 of the archived text
b3f645aa8b622afe8aa5e25e2cd8e5faa9cdf1a8abba6225f249db3e1c0932a5- Stable URL of this page
https://metraipolis.com/documento/dc_ddfa5c05448a
How to cite
Certifying Repeatable Entry-Replay Witnesses for COBOL-to-Java Migration — arXiv:2610.27272 — arXiv (en), https://arxiv.org/abs/2610.27272 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ddfa5c05448a (Metraipolis archive dc_ddfa5c05448a, sha256 b3f645aa8b622afe8aa5e25e2cd8e5faa9cdf1a8abba6225f249db3e1c0932a5)
BibTeX
@misc{dcddfa5c05448a,
title = {Certifying Repeatable Entry-Replay Witnesses for COBOL-to-Java Migration — arXiv:2610.27272},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.27272},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ddfa5c05448a; sha256 b3f645aa8b622afe8aa5e25e2cd8e5faa9cdf1a8abba6225f249db3e1c0932a5},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.27272. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Producing synthetic data for comparison testing a migrated COBOL application is a major challenge that agentic migrations face today. Our prior paper, the Agentic Method for Deterministic Validation of Legacy Code Migration, presents a deterministic oracle to facilitate such migrations, the Locksmith Loop. We now propose a novel method for achieving high branch and paragraph coverage through generated synthetic end-to-end test cases, by means of entry-replay test-case certification by observing the code execution trace on a surrogate COBOL program that mocks external interactions via a chronological external-operation tape. We applied our method to a very large COBOL program with 33,429 lines of code to generate 849 synthetic end-to-end test cases covering 2,973/3,806 source branches (78.1%) and 989/1,033 main-AST paragraphs (95.7%). Using the Locksmith Loop's projected-agreement validation, the generated Java code matched the COBOL surrogate on the specified observations across all 849 certified synthetic end-to-end test cases. During the campaign we detected 61 defects and fixed the Java generator accordingly. To test whether the coding agent could silently introduce business logic bugs, we seeded 450 defects into the Java code, such as deleted writes, deleted paragraph calls, and altered rounding, to verify how many of these would be detected by the gating methodology. The gate detected 47.6%, including all deleted writes and paragraph calls in executed code, but was unable to detect the rounding and precision defects. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2610.27272 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-21T07:05:43.544Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).