paper-with-me

Papers

Agentic Method for Deterministic Validation of Legacy Code Migration

2026-07-30 · Andras Ferenczi, Jordan Docherty, Mariya Bessonov, Matthew Findlay, Krishna Lingamneni arxiv

Migration of legacy COBOL programs to Java requires extensive testing to ensure correct functionality. This effort is often complicated by the lack of test data and the difficulty of validating all corner cases. In this paper we propose a novel agentic test-synthesis method, the "Locksmith Loop," which is initiated by preparing two runtime environments: the COBOL source and the generated Java target are each instrumented with mocks and executed off-mainframe on commodity hardware, then an iterative agentic loop performs Witness Search over input mocks to penetrate program branches, followed by parity-preserving mutations. When routing boundaries are reached, an analyzer identifies a Locked Paragraph: a condition preventing deeper exploration. Across three COBOL-Java case studies, spanning two open-source programs and one internal production-like COBOL program and ranging from 430 to 4,114 source lines, Locksmith consistently improved coverage beyond input-search plateaus, reaching nearly complete coverage on the two open-source programs and 91.90% branch coverage on the internal production-like COBOL program. The generated Java matched the COBOL reference under deterministic parity checks in all accepted test cases. Through these findings we demonstrate, to the best of our knowledge, a novel approach for validating agentic coding output using a deterministic oracle.

📄 PDF Abstract BibTeX arXiv:2607.28271

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

IDP Accelerator: Agentic Document Intelligence from Extraction to Compliance Validation

2026-02-26 · Md Mofijul Islam, Md Sirajus Salekin, Joe King, Priyashree Roy 외 arxiv

Understanding and extracting structured insights from unstructured documents remains a foundational challenge in industrial NLP. While Large Language Models (LLMs) enable zero-shot extraction, traditional pipelines often…

Toward Self-Evolution-Ready Workflow Harnesses: A Reversible Migration Path and Convertibility Taxonomy for Expert LLM Pipelines

2026-06-15 · Yimo Lin, Zhen Zhang, Yibin Li arxiv

While expert-validated "LLM + script" workflows deliver significant value, they remain static: they encode hard-won domain knowledge yet fail to adapt execution based on feedback. Existing agent research predominantly ta…

Structuring agentic AI for HPC code modernization

2026-06-07 · Anthony Marinov, Igor Sfiligoi arxiv

Modernization of legacy scientific codes is often necessary to keep up with the ever-evolving changes in the compute resource ecosystem. Parallelization and migration from poorly supported software ecosystems are two of …

A Process Harness for Uplifting Legacy Workflows to Agentic BPM: Design and Realization in CUGA FLO

2026-06-25 · Fabiana Fournier, Lior Limonad arxiv

We introduce the process harness, a new mechanism for uplifting legacy workflows into Agentic Business Process Management (Agentic BPM) without replacing the underlying workflow engine. A process harness places a policy-…

CODEMENV: Benchmarking Large Language Models on Code Migration

2025-06-01 · Keyuan Cheng, Xudong Shen, Yihao Yang, Tengyue Wang 외

Large language models (LLMs) have shown remarkable capabilities across various software engineering tasks; however, their effectiveness in code migration, adapting code to run in different environments, remains insuffici…

Benchmarking