mlsanityData to 24 Nov 2026

Certifying Repeatable Entry-Replay Witnesses for COBOL-to-Java Migration

arXiv 2610.27272 ↗Submitted 19 Oct 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 5 of its 16 references that are in the map. Submitted 19 Oct 2026.

Builds on

5 of 16 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026Agentic Method for Deterministic Validation of Legacy Code Migration30 Jul

Other references · 4

  1. 2016A Survey of Symbolic Execution Techniquescited by 39
  2. 2024Mokav: Execution-driven Differential Testing with LLMscited by 8
  3. 2025Automated Testing of COBOL to Java Transformationcited by 5
  4. 2025Automated Validation of COBOL to Java Transformationcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Replay Fidelity in LLM Agent Evaluation: Randomness, Hidden State, and Test Oracles in AppWorld
  2. 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?
  3. 2025MigrationBench: Repository-Level Code Migration Benchmark from Java 8
  4. 2026AgentTrustCI: Build-Time Policy, Grounding, and Trajectory Tests for Java LLM Agents
  5. 2026WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses
  6. 2026IntentTester: Intent-Driven Multi-agent Framework for Cross-Library Test Migration
  7. 2026StatePortal: Agentic Checkpoint Synthesis for Testing Deep States in Interactive Software
  8. 2026VibeCheck: Assessing the Quality of LLM-Generated Unit Tests: A Multi-agent Empirical Study across Heterogeneous Repositories