Feed
Agentic Method for Deterministic Validation of Legacy Code Migration
An AI agent edits COBOL and its Java translation in lockstep to reach hidden code paths.
91.90%
Branch coverage, production-like program
4,114-line program, with Java matching COBOL on every test
How it works
Search hits a ceiling
Six input-search algorithms stall at the same coverage. Some COBOL branches can't be reached by changing inputs alone.
Drill locked paragraphs
An AI agent proposes matching edits to both COBOL and Java. A deterministic parity check keeps only edits that add coverage.
Deeper coverage, full parity
Mutations opened many paragraphs search missed. Java matched COBOL on all 166 production-run test cases.
From the paper