Manuscript Offprint
arXiv:2610.34633CodeMeepo: A Multi-Agent Workflow for Repository-Level Code Migration and Optimization
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Farzad Habibi*§, Changrong Wu†, Jinzhou Jiang†, and Guohan Lu‡§
*University of California, Irvine, †Microsoft, ‡OpenAI
*habibif@uci.edu, †{changrongwu, riffjiang}@microsoft.com, ‡lgh@openai.com
§All contributions were made while at Microsoft.
Abstract—Repository-level code migration rewrites an entire project in a new programming language while preserving its observable behavior. This task is challenging because behavior spans interdependent modules, dependencies and build infrastructure must be adapted to the target ecosystem, and the source code often serves as the only specification [1]–[3].
Large language model agents can now attempt these migrations end to end [4], [5], but three challenges remain. First, an agent that writes both the translation and its acceptance tests may overlook the same requirements in both, leaving missing or incorrect behavior undetected. Second, large repositories can exceed a model's context window, and dividing the work into smaller tasks does not ensure that all required behavior is migrated. Third, even behaviorally correct translations may be slower than the original implementation.
We present CODEMEEPO, a multi-agent pipeline designed for complete and efficient migration of large repositories. Each milestone is evaluated against a fixed external oracle that the agents neither author nor modify. A separate parity assessment compares source and target components within the migration scope and adds identified gaps back into the plan as required work. Ordered milestones limit the scope of each task, while cumulative regression checks guard against breaking previously migrated behavior. A benchmark-guided optimization phase addresses performance, followed by full-suite conformance testing and repair. Eight specialized agent roles communicate through file artifacts, while a deterministic state machine governs repair, deferral, scope changes, and termination.
On nine subjects in three language pairs, CODEMEEPO achieves the best pass rate on every subject and passes 18% more tests than a state-of-the-art multi-agent baseline using the same model. On a production daemon, its optimization phase then improves half of the benchmarks, by 25% on average.
Index Terms—multi-agent workflows, software evolution, repository-level code migration, large language models, test oracles, validation
I. INTRODUCTION
Programming-language migration allows organizations to maintain software when its original implementation no longer meets their security, interoperability, or maintainability requirements [1]. Organizations move business applications from COBOL to Java [6], [7], port components between general-purpose languages, and replace C with memory-safe Rust [3]. Such changes are not simply syntactic translations. They must preserve established behavior while replacing dependencies, interfaces, build procedures, and deployment assumptions. Across language pairs, practitioners report that the dominant cost is not writing the target code but establishing that it behaves like the original [2].

Fig. 1. Repository-level code migration: task and challenges.
Large language models (LLMs) have expanded the range of migration tasks that can be automated. Research has progressed from translating isolated functions [8], [9] to planning repository-wide edits [10] and translating interdependent project components [4], [5]. Multi-agent approaches distribute the work across specialized roles, while retrieval can supply migration-specific knowledge [11]. These developments make repository-level migration a promising application of agentic software engineering, and raise the question this paper addresses: how can agents produce a complete and efficient port of a large repository without human intervention?
Three challenges. Figure 1 illustrates the three challenges that such a port faces. The first challenge is scale. Repository-level code migration requires extensive analysis and planning to coordinate changes across components and dependencies. For large repositories, this work cannot fit within a single model context, and model accuracy degrades as the relevant material is buried in a longer one [12]. The work must therefore be divided into smaller tasks, each with its own plan, whether by call-graph order [4], dependency-aware planning [10], or bounded code chunks [7]. Decomposition makes tasks more manageable, but introduces a coordination challenge: later changes must not break previously migrated behavior, and the system must track and revisit tasks that remain unresolved.
The second challenge is self-validation. When the same agentic process writes both the target implementation and its acceptance tests, both may reflect the same misunderstanding of the source. Generated oracles tend to record the behavior a program exhibits rather than the behavior it should exhibit, so they can encode a defect as though it were the specification [13]. Passing these tests can therefore create false confidence in an incorrect or incomplete translation, and this is compounded by the tendency of language models to produce code that compiles but is semantically wrong [14]. For example, a port may compile and pass its generated tests while omitting a required interface or an error-handling path. We call a translation that appears complete but lacks required behavior a silently unfinished port. The problem is not simply limited test coverage; for generated suites, coverage and mutation scores are themselves unreliable indicators of fault-detection ability [15]. The deeper issue is that the implementation and the tests used to accept it may share the same blind spots. Independent verification tests, source-derived checks, and explicit coverage accounting address different parts of this concern.
The third challenge is efficiency. Behavioral compatibility does not establish that a translated application has acceptable runtime or resource use, and generated code is frequently far less efficient than competent human implementations [16], [17]. A maintainable replacement can still be unsuitable if an inefficient data representation or synchronization strategy substantially increases its operating cost. Performance therefore needs an explicit measurement and refinement process rather than an assumption that it will follow from successful translation.
Our approach. We present CODEMEEPO, a multi-agent workflow that migrates a repository in two phases, each carried out by a team of specialized LLM agents. The translation phase builds a target implementation that reproduces the required behavior of the source. The optimization phase then improves the performance of that implementation. Agents perform the analysis, editing, and assessment, and hand work to one another by writing files rather than by conversing. A deterministic state machine decides which agent runs next and whether a phase may end, applying explicit rules to the outcomes those agents record. Termination is therefore determined by those rules, not by an agent's own judgment that its work is finished.
The translation phase never attempts the whole repository at once. It first analyzes the source, then divides the migration into an ordered sequence of milestones, each one a slice of functionality together with the tests that must pass for it to count as done. Milestones are attempted one at a time, and each is checked against the tests of all earlier milestones as well as its own, so work on one slice cannot silently break another. Whether a slice is finished is judged by a fixed external oracle that the agents may neither author nor modify.
Because a passing suite still cannot show that nothing was left behind, a parity verifier—an LLM judge with no ability to edit code—then compares the components of the source against those of the target and reports whatever is missing or left as a placeholder. Crucially, a reported gap is not merely recorded. It is fed back into the plan as a new milestone, so the pipeline returns to work rather than finishing with a known omission, and the verifier runs again on the result.
The optimization phase begins once the translation is accepted. It alternates measurement against the project’s benchmark with targeted improvement, and then runs the full test suite as a final milestone that can itself be repaired, so performance work cannot quietly trade behavior for speed. The two phases thus meet the three challenges in turn: milestones for scale, independent checks for self-validation, and performance measurement for efficiency.
Across nine subjects in three language pairs, CODEMEEPO achieves the best test pass rate on every subject against ReCodeAgent [5] and four simpler baselines that use the same model. It passes 1,166 of 1,180 Java-to-Python tests, all 63 C-to-Rust tests, and all 105 tests of a production daemon, against 1,029, 47, and 53 for ReCodeAgent. Five rounds of its optimization phase then improve five of the daemon's ten benchmarks by more than 5%, cutting hardware reads by 21.6% and idle CPU use by 12.2%.
In summary, this paper makes the following contributions:
-
CODEMEEPO, a two-phase repository-level migration workflow combining specialized agents with deterministic orchestration and explicit termination criteria.
-
A translation phase addressing scale and self-validation through ordered milestones, cumulative test gates, a fixed external oracle, and parity verification that converts detected gaps into new milestones.
• An optimization phase alternating benchmark measurement and targeted improvement, followed by full-suite conformance testing and repair.
• An evaluation on nine subjects in three language pairs, in which CODEMEEPO has the best pass rate on every subject and passes 18% more tests than ReCodeAgent. On a production daemon, its optimization phase improves half of the benchmarks, by 25% on average.
Section II defines the problem. Section III describes the design. Sections IV and V present the evaluation. Section VI reviews related work and Section VII concludes.
Migration instances. A migration instance is a tuple
where S is the source repository and is the target language and environment. The scope is the set of source components that the migration must reproduce, where a component is a module, type, function, or exported interface. Components outside are declared exclusions rather than gaps. The acceptance oracle is an executable test suite that is fixed before the migration begins and authored independently of it; we write when a target repository passes it. The optional benchmark suite defines representative workloads and a cost measure , such as time or peak memory.
A migration procedure applied to M produces a target repository T, a suite G of tests that it authored itself, and a realization map
which records, for each in-scope source component, the set of components of T that realize it. R is partial because a component may be omitted. It is set-valued because a migration may split one source component across several target components or merge several into one.
Obligations and acceptance. Ideally, T would be observationally equivalent to S on every in-scope behavior. This condition cannot be checked in general, so we approximate it with three kinds of obligation, stated as the following conditions:
C1 (build) T builds in the target environment;
(3)
C2 (behavior)
(4)
C3 (coverage) R is total on and each
substantively implements c.
(5)
Each oracle test is a separate behavioral obligation, and each in-scope component is a separate coverage obligation. C3 rules out realizations that are present but vacuous, such as a stub with a compatible signature. C2 and C3 are independent of each other. A target can pass every oracle test while omitting a component that no test exercises, and a total R says nothing about whether the realized components behave correctly. When a benchmark suite is given, the optimization objective is to reduce among the targets that satisfy C1–C3.
Progressive discharge. For a repository of realistic size, no single step can discharge every obligation. A procedure therefore works in stages, and at any point each obligation is open, discharged, or deferred. A deferred obligation has been set aside, but its status is recorded so that it is not lost. This view leads to four requirements, each met by a mechanism described in Section III. First, each stage should take on a bounded subset of the obligations, which is the role of milestones. Second, work on one stage must not reopen obligations discharged in earlier stages, which cumulative test gates enforce. Third, a plan can miss obligations, so missed obligations must be found by inspecting the target and fed back into the plan; the parity loop provides this path. Fourth, explicit rules over the obligation state, rather than an agent's own judgment, should decide when a run ends, and the result should report which obligations remain open or deferred.
Who may discharge an obligation. The tests in G are an output of the same procedure that produced T. As a result, can be achieved by weakening G just as easily as by improving T. The oracle O, by contrast, is an input fixed before the run, so C2 cannot be satisfied in this way. For the same reason, coverage should be judged by an assessor that did not write T and is not allowed to change it. Generated tests are still useful because they help localize defects during repair, but they do not count as acceptance evidence. Finally, a procedure's own stopping rule, which we call internal completion, reports only that the procedure has finished. It does not show that C2 or C3 holds.
III. CODEMEEPO DESIGN
CODEMEEPO takes a migration instance (Section II) and produces a target repository in two phases, shown in Figure 2. Translation constructs and assesses the port. Optimization refines its performance using a supplied benchmark. In both phases the work is carried out by specialized LLM coding agents, each with a single responsibility, which hand work to one another by writing files. A deterministic state machine, not an agent, decides which agent runs next and when a phase ends. The remainder of this section is organized as follows. Sections III-A and III-B describe the controller and the agent roles, Section III-C defines the acceptance oracle against which behavior is judged, Section III-D traces the end-to-end execution of a migration, and Section III-E gives the rationale and remaining details of the mechanisms on which that execution relies.
A. Separating reasoning from control
CODEMEEPO organizes migration as a sequence of evidence-producing actions. Its controller is a state machine that evaluates explicit predicates over persisted state to decide whether to advance, repair, defer, re-scope, or terminate. Actions launch a specialized LLM coding agent, run with a per-role profile (an agent .md file) that fixes the agent's standing instructions and the tools it may use, while each invocation adds a stage-specific prompt. Within its action, the harness runs its own loop of reading files, executing commands, and editing code.
An LLM does not, however, choose the graph edge, so routing is deterministic given the observed state even though the agents' observations and edits are not. This prevents a conversational statement such as “the migration is complete” from replacing the configured stopping rule, and it exposes decisions that would otherwise be buried in a model’s trajectory: repair budgets, outstanding skips, parity findings, and the reason for termination. The controller still relies on agent-produced reports, and deterministic processing of a mistaken report does not make it correct.
B. Specialized roles and file handoffs
Table I lists the eight roles and the artifact each produces.
Agents exchange these files rather than relying on conversational handoffs. JSON reports carry machine-consumed verdicts; analysis and plans provide context for subsequent reasoning. Persistent artifacts make decisions easier to inspect and let an interrupted run recover its working context.
Only the Translator and the Optimizer change the target's implementation. The Planner contributes the skeleton, which

Fig. 2. CODEMEEPO control flow and artifacts. Phase 1 (top) runs left to right; the optional Phase 2 (bottom, dashed) runs right to left after a complete parity verdict. Numbers mark the steps in the order traced in Section III-D. The acceptance oracle between the panels is run by the Validator of each phase, on the cumulative gate in Phase 1 and in full in the conformance milestone, which reuses the Phase-1 Translator–Validator repair loop. Bands show the target working copy that agents write or run, and tabs name the file each step writes. Validation advances after either a pass or a recorded give-up, and eligible deferred-test retries take precedence over accepting the parity verdict. Terminal failure edges and bootstrap entry points are omitted.
TABLE I AGENT ROLES AND AUTHORITATIVE HANDOFF ARTIFACTS.
| Role | Artifact | Responsibility |
|---|---|---|
| Translation phase | ||
| Analyzer | analysis.md | Source analysis and target design |
| Scoper | milestones.json | Initial work scope and gap-driven extensions |
| Planner | plan.json; skeleton | Implementation plan and target structure |
| Translator | Target working copy | Implementation, unit tests, and repairs |
| Validator | report.json | Test execution and failure diagnosis |
| Parity | parity.json | Source-target coverage assessment |
| Optimization phase | ||
| Benchmarker | bench.json | Benchmark execution and measurements |
| Optimizer | optimize.json; code | Focused performance changes and rationale |
holds stubbed signatures and test seams but no logic; the Analyzer and the Scoper write only their own artifacts; and the Validator, Parity agent, and Benchmarker assess code without changing it. The Parity agent and the Benchmarker are given no file-editing tool, whereas the Analyzer, Scoper, and Validator have one because each writes its own artifact, and are instructed to write nothing else. Separating assessment from authorship reduces role conflicts: the agent explaining a failed test should not silently weaken that test, and the agent measuring a change should not choose the outcome.
C. The acceptance oracle
Behavioral acceptance in CODEMEEPO is judged against an acceptance oracle, the executable end-to-end test suite that its validation step runs, fixed before the migration begins and authored independently of it. It instantiates the oracle of Section II; in a deployed system, it can be an existing end-to-end acceptance suite. During translation the oracle is run on subsets chosen by test selectors, and after optimization it is run in full (Section III-D).
Because the oracle tests the target end to end, it runs in an environment that reproduces the conditions under which the target operates, including the services and devices it depends on. Unit tests may replace such dependencies with mocks; an acceptance test may not, since its purpose is to observe the target as it will be deployed. Passing the oracle therefore provides evidence for condition C2 that rests on no test written during the migration. The oracle is fixed before migration, and agents are instructed not to edit or regenerate it.
Only the Validator interacts with the oracle, and it writes no code. The agents that change the implementation receive only its report, which gives pass and fail counts and a diagnosis of missing or incorrect functionality, enough to direct a repair without disclosing what the tests check. Withholding the test source is intended to limit overfitting in the sense of Goodhart's law [18]. It reduces this risk rather than eliminating it, since runner output can contain assertion text and expected values, and the Validator's diagnosis may relay them. We therefore treat oracle conformance as evidence for C2, not proof of equivalence, and rely on parity assessment for in-scope behavior the oracle does not exercise. The Validator also runs the unit tests that the Translator writes (G in Section II), but these carry little weight as verification because they come from the same agent as the code.
D. End-to-end execution
This subsection traces a migration through Figure 2, from configuration to final verdict, and introduces each mechanism where execution first depends on it. Numbered markers such as refer to the corresponding steps in Figure 2.
Inputs. Project configuration supplies the source and target languages, repository paths, build and test commands, loop budgets, and a migration brief stating required interfaces, architectural constraints, and exclusions. This keeps the orchestration independent of a particular language pair, though a new deployment still needs toolchains, commands, and acceptance tests; configuration portability is not demonstrated effectiveness across arbitrary languages. Agents build the target in a configured working copy and are instructed never to modify the oracle or any provided starting code and scaffolding.
Preparation. Three agents prepare the migration. The Analyzer ① studies the source, including its dependencies and its own unit tests, and records a design for the target in analysis.md, but writes no target code. The design maps source modules to target modules, names target counterparts for third-party libraries, plans unit tests against mocked boundaries, and inventories the behaviors of the source. The Scoper ② partitions these behaviors into an ordered list of milestones in milestones.json; when the configuration already declares the milestones, this step records them without invoking an agent. The first milestone is a skeleton that only has to build and start, each later one adds a slice of functionality that depends only on earlier ones, and the last covers the full contract. Each milestone also lists the test selectors it adds, which are names of oracle tests or test modules that a configured template renders into the test runner's syntax, such as a pytest -k expression. The Planner ③ sets up the working copy from the provided starting code and turns the design into an executable plan in plan.json, which lists every unit to translate, maps each source name to its target counterpart, and records the steps of each milestone. It also generates a compilable skeleton of the target, with stubbed signatures and mock seams for unit tests but no logic.
The milestone loop. The controller then selects the milestones one at a time ④. The Translator ⑤ implements the current milestone in the working copy, replacing the stubs of its slice with real logic, translating the corresponding source unit tests, and adding unit tests for new code. The Validator ⑥ then tests the result at two layers without changing any code (Section III-C). It runs the unit tests, and it runs the oracle restricted to the milestone's cumulative gate, the selectors of this milestone together with those of every earlier one, so that new work cannot silently break earlier work. The milestone passes only if both layers pass, and a build failure counts as a failure. The Validator records its verdict in report.json, with pass and fail counts for each layer and, for each failure, the likely cause and a repair hint. On failure, the Translator works from that report, determines whether each failure is a defect or functionality not yet translated, and fixes its root cause; the Validator then runs again, until the milestone passes or its attempt budget runs out. Under the default skip-on-give-up policy, a milestone that exhausts its budget is recorded as skipped, and its failing oracle tests are deferred, which removes them from later gates but keeps them on record in skips.json. Without that policy, giving up ends the run as a failure. In every other case the controller advances to the next milestone, whether the current one passed or was skipped.
Coverage assessment. Passing every gate does not show that nothing was left behind, because no test asserts that a component exists. After the last milestone, the Parity agent ⑦ therefore compares source and target component by component, from modules and types to functions and the public interface, ignoring anything the brief excludes. Without editing either code base, it writes parity.json, which holds a completeness verdict and, for each missing, stubbed, or partial component, its source location and a suggested milestone. The controller then chooses among three paths, the first two bounded by a parity-round budget. If some deferred tests have not yet had their one retry, it appends a single milestone that re-enables them. Otherwise, if gaps remain, the Scoper ② appends milestones for them, the Planner ③ revisits the plan, and the loop resumes at the new work. In both cases the Parity agent runs again once the appended milestones conclude. Otherwise the translation phase ends, successfully if parity reported complete coverage and unsuccessfully if gaps remain.
Optimization. The second phase begins after a complete parity verdict. It requires optimization to be enabled, a positive round budget, and parity checking; without these prerequisites, execution ends after the translation phase. Before the first change, the controller snapshots the working copy so that the pre-optimization port can be recovered. In each round, the Benchmarker runs the benchmark command against the working copy and records the measurements in bench.json without editing anything. Without a configured command, the Benchmarker devises one in the first round for later rounds to reuse, though configuring one is preferable. The Optimizer then uses them, together with the history of earlier rounds, to make one small change set that preserves behavior. It records in optimize.json the files it touched, its rationale, and the effect it expects, and it is instructed to leave the unit tests passing. Changes accumulate from round to round. When the round budget is spent, the controller appends a final full-suite conformance milestone , which runs the entire suite with no selector, deferred tests included, and repairs any failure through the Translator-Validator loop of steps - . Its instructions are to restore behavior while keeping performance work where possible, and to undo an optimization that cannot be made correct rather than weaken a test. The run succeeds only if this milestone passes. Throughout, the controller persists its state, so an interrupted run can resume from its recorded progress.
E. Design rationale and details
Milestones as regression boundaries. Cumulative gates make each milestone a regression boundary without requiring the full suite at every intermediate step. Formally, let be the selectors introduced by milestone . Its cumulative gate is
which the controller renders into the configured test-runner syntax. The boundary is, however, only as comprehensive as the selected tests, since accumulating selectors does not establish that every relevant test exists or was selected correctly. Each milestone's attempt budget counts every round of implementation and validation, including the first. When a milestone concludes, the controller clears its validation report from state, so that old failures are not mistaken for the new milestone's initial task.
The parity-completeness loop. The parity report estimates condition C3 of Section II. Its gaps are the components of on which the Parity agent believes R to be undefined or vacuous. Users can also confirm the structural half of C3, that R is total on , with deterministic tools such as a comparison of symbol inventories extracted from both code bases, so the agent's judgment is needed mainly to decide whether each counterpart is substantive, which no syntactic check can establish.
The key design choice is to connect this assessment back to execution, which creates an explicit path from “a source obligation is missing” to implementation, validation, and another assessment. Existing milestone identifiers are intended to remain stable as gap milestones are appended. The loop complements, rather than replaces, earlier inventory and coverage techniques. A plan is a statement of intended work; a post-translation assessment asks whether that intent is reflected in the artifact. The loop is useful precisely when the initial plan was incomplete or an implementation step did not fulfill it. Its effectiveness nevertheless depends on the Parity agent recognizing the omission and the subsequent work repairing it; neither outcome follows from the graph structure alone.
Bounded repair and deferral. One difficult milestone should not necessarily prevent useful work on the rest of the repository. When a milestone gives up, the controller attempts to identify its failing oracle tests from the Validator's report and defers only those, so the milestone's passing tests and all other obligations remain in later gates. This is a deliberate trade-off between making progress and retaining an unresolved acceptance obligation, not a claim that the skipped behavior is satisfactory. Starting a retry milestone re-enables its deferred tests and records that their dedicated retry has been used. If they fail again, they remain recorded but receive no further dedicated retry. Thus, the policy provides at most one such retry per test, not an unconditional guarantee that every deferred test is eventually repaired.
Benchmark-guided optimization. The performance phase separates the question of whether a change improves measured performance from the question of whether the resulting program still satisfies its behavioral contract. The Optimizer also consults the migration brief, and the history of earlier rounds is append-only, so every change and its rationale stay on record. Accumulating changes across rounds is deliberate. No round is validated against the full suite or rolled back on failure, and the controller does not enforce the Optimizer's instruction to keep the unit tests passing. The round budget, rather than a measured speedup threshold, governs the loop. This design aims to avoid paying for an expensive end-to-end run after every local optimization and to separate performance exploration from final behavioral repair. Since the conformance milestone uses the normal repair loop, a failure can be diagnosed and repaired rather than immediately discarding all accumulated changes. "One milestone" does not mean one test execution, since its bounded repair loop may execute the suite several times. The current schedule benchmarks before each optimization change, so it does not automatically remeasure the final change or any subsequent conformance repair. A performance evaluation must therefore benchmark the final accepted artifact separately. The phase supplies a refinement mechanism, not a guarantee of speedup or retention of the best-performing intermediate program.
Persistence and re-entry. State is kept in a database under a run identifier, and the milestone list is reloaded from disk, so resuming preserves recorded progress, counters, and deferrals rather than reconstructing them from a transcript. Entry at a named milestone, at parity, or at benchmarking is supported when the prerequisite artifacts are supplied, which is useful for reassessment but constitutes operator-provided starting conditions rather than evidence that omitted stages succeeded. Persistence does not provide exactly-once execution. Filesystem edits and external commands are not atomic with a checkpoint, so replaying an interrupted action can encounter its earlier side effects. Reproducible routing is likewise distinct from reproducible generated code; replication requires preserving the source and target revisions, configuration, model and tool versions, artifacts, and environment, as Section IV does.
IV. EXPERIMENTAL SETUP
We compare CODEMEEPO with ReCodeAgent and four simpler baselines that use the same model, on two benchmark suites and a production migration that also exercises the optimization phase. This section describes the implementation we evaluate, the subjects and their test suites, the baselines, and how we score their outputs.
A. Implementation
CODEMEEPO is implemented in Python on two existing systems. Its controller (Section III-A) is an Apache Burr [19] application in which every stage of Figure 2 is an action and every routing rule is a transition guarded by a predicate over the application state. The repair edge from validation back to translation, for example, is taken while the milestone has not passed and its attempt count is below the budget. Burr persists the state to an SQLite database after every action, keyed by the run identifier, which supports the resumption and re-entry of Section III-E. An action that needs an agent launches one non-interactive GitHub Copilot CLI [20] process with the configured model and reasoning effort and with all permission prompts pre-approved, and Copilot CLI runs the agent loop of reading files, executing commands, and editing code. The controller logs the process's JSON event stream but never routes on it, so what an agent says in its session cannot change the route; only the files it writes can, such as the Validator's report.json.
The eight roles of Table I are Copilot custom agents, each defined by an agent.md profile. The profile's header names the role and lists the tools it may use, and its body states the role's standing instructions and hard boundaries; the Validator's, for instance, lets it run the two test commands and write its report but forbids editing the implementation, the tests, or the oracle. Copilot CLI enforces the tool list, whereas the boundaries are instructions only. Each invocation also receives a stage prompt rendered from a template. The templates encode the method and are shared across language pairs. The project configuration fills in the languages, paths, build and test commands, and migration brief, and the controller fills in the current milestone, whether it is to be implemented or repaired, the Validator's failures, and the cumulative gate. Each subject's test suite serves as the pipeline's acceptance oracle.
B. Subjects
We evaluate on nine subjects from three suites that differ in language pair and test provenance (Table II), and we report each suite separately. Section V-A reports all three.
AlphaTrans (Java to Python). This suite comprises the four Tier A projects of AlphaTrans [4], Apache Commons libraries for command-line parsing, CSV processing, file uploads, and input validation. Their tests are AlphaTrans's manually verified Python tests. Every arm receives the Java src/main tree.
CRUST-Bench (C to Rust). CRUST-Bench [21] pairs C projects with safe Rust interfaces and Rust tests. We take four of its projects (a hash set, a homomorphic encryption scheme, a lambda-calculus interpreter, and an integer-set library), chosen by assertion density because the largest projects carry almost no assertions. As a negative control we also score the benchmark's unimplemented! () stubs; one inversion_list test passes on them and stays in the denominator.
TABLE II SUBJECTS, GROUPED BY SUITE.
| Subject | Source LOC | Modules | Tests |
|---|---|---|---|
| AlphaTrans, Java → Python | |||
| commons-cli | 2,315 | 22 | 381 |
| commons-csv | 2,308 | 11 | 298 |
| commons-fileupload | 1,634 | 30 | 39 |
| commons-validator | 6,950 | 63 | 462 |
| CRUST-Bench, C → Rust | |||
| cset | 598 | 1 | 15 |
| c-aces | 777 | 7 | 11 |
| lambda-calculus-eval | 1,399 | 7 | 22 |
| inversion_list | 695 | 1 | 15 |
| SONiC xcvrd, Python → Rust | |||
| xcvrd daemon | 15,554 | 37 | 105 |
SONiC xcvrd (Python to Rust). Translation benchmarks are built mostly from small standalone projects whose tests run in isolation; CRUST-Bench's projects average about 958 lines, and earlier C-to-Rust benchmarks targeted single functions [21]. Production migrations often replace components of deployed systems instead, so we add xcvrd, the transceiver daemon of the open-source network operating system SONiC [22], which manages a switch's pluggable optical modules. Its concurrent worker threads drive per-module state machines, read and write three Redis databases, and call a vendor platform plugin that the Rust port must keep reaching through a bridge. The daemon also depends heavily on the rest of SONiC, building on its shared libraries and exchanging state with other services, and a port must preserve all of these interactions. It is a plausible rewrite target as well, since developers adopt Rust largely for its performance and safety [23] and xcvrd's polling cost grows with the number of ports.
Because the daemon's behavior is observable only through the system around it, we wrote an end-to-end suite of 105 tests that treats the daemon as a black box. It runs on a SONiC virtual switch with emulated optical modules, drives the daemon through the channels a deployment would use (plugging and unplugging modules, writing their EEPROM, injecting faults, and changing port configuration), and observes the published tables together with a trace of every EEPROM read and write. The tests cover hot-plug handling, decoding for two module standards, the CMIS bring-up state machine, fault recovery, and restarts, and three conformance tests compare the published tables with snapshots from the upstream Python daemon, which serves as the reference. Each session first flushes the daemon's tables and requires it to repopulate them, so stale rows cannot produce a pass, and on an earlier version of the suite a stand-in daemon that wrote placeholder rows failed every test that depended on the daemon. Because the suite never imports the daemon, it grades the Python original and the Rust port identically.

Fig. 3. Test pass rate of every arm on every subject, one panel per suite. E marks a crate that did not compile or a test suite that ended in an error, and is not a zero. CODEMEEPO achieves the best pass rate on every subject and passes 18% more tests than ReCodeAgent using the same model.
C. Baselines
We compare CODEMEEPO with ReCodeAgent, two un-scaffolded baselines, and two repair loops applied to the single-shot output. All suite runs use claude-sonnet-5 at medium reasoning effort, so differences reflect scaffolding rather than model choice, and CODEMEEPO runs with max_iter = 6 and max_parity_rounds = 4.
• GitHub Copilot CLI. A single software engineering agent in the client that hosts our agents (Section IV-A), with all tools enabled and all permissions granted, given the translation goal, the whole repository, and the command that runs the subject's suite in one prompt as in CRUST-Bench [21], but lack CODEMEEPO's workflow structure: no milestones, parity loop, or repair.
• Single-shot LLM. One independent direct-API request per module, matching AlphaTrans’s class-by-class ablation [4], with no shared state, retries, or feedback.
• + build repair, + test repair. Up to three repair iterations on the frozen single-shot output, guided by compiler or parse-and-import diagnostics, the signal of CODEMEEPO's build_check, and for test repair also by the suite's failure output. Following CRUST-Bench [21], both keep the final iteration rather than the best one.
• ReCodeAgent [5]. A state-of-the-art multi-agent workflow whose agents analyze, plan, translate, and validate a repository. We implemented ReCodeAgent with Copilot CLI custom agents orchestrated in Burr.
All arms operate under the same information conditions. Every arm except the single-shot LLM, which only issues one request per module, can execute the subject's suite and read its output, and none is given the test source. What differs is whether a workflow is designed to use that signal. This mirrors practice when an organization migrating a deployed system usually already owns an acceptance suite, and the question we study is which workflow best turns that existing contract into a conforming port. CODEMEEPO is designed to treat the suite as its acceptance oracle at every milestone gate and test repair reads its failure output, whereas the other baselines do not systematically integrate this feedback into their workflows. Using external acceptance evidence to drive migration is a central capability of CODEMEEPO. Our comparison evaluates the resulting end-to-end workflows.
Scores are recomputed independently from frozen artifacts, not read from any pipeline’s self-report. Scoring stages the candidate source together with a pristine copy of the test suite into a throwaway tree, so no arm can have modified the tests it is judged by. We report passed out of passed + failed.
V. RESULTS
A. Comparison with baselines
CODEMEEPO achieves the best pass rate on every subject, is matched only where it passes every test, and leads by the widest margin on the production xcvrd daemon. Figure 3 places every arm on every subject. Only CODEMEEPO and ReCodeAgent produce a scoreable artifact on all nine, and CODEMEEPO passes more tests than ReCodeAgent on eight of them, while both pass every test on c-aces, 1,166 against 1,029 of AlphaTrans's 1,180 tests, 63 against 47 of CRUST-Bench's 63, and 105 against 53 of xcvrd's 105. Overall, it passes 18% more tests than ReCodeAgent, 1,334 against 1,129.
Cross-module agreement. The single-shot baseline breaks wherever modules must agree with one another. On commons-cli, 243 of its 271 failures reduce to one naming disagreement between callers and the interface skeleton, a similar disagreement makes the single-shot commons-csv uncollectable, neither unscaffolded baseline produces a collectable commons-csv, and in Rust the same defect stops three of the four single-shot crates from compiling. The damage follows coupling rather than size, since every arm scores within one test of every other on commons-fileupload, whose dependency graph is the flattest, and the one single-shot crate that compiles, inversion_list, has no cross-module surface.
The Copilot CLI baseline holds the whole repository in view and largely agrees with itself, reaching 368 and 381 on the two AlphaTrans subjects where the single-shot arm collapses. It still fails cset like every unscaffolded arm, because the C source relies on aliasing that Rust rejects and the ownership structure has to be reworked. Although its tools let it run the compiler, the agent ended its session without finishing

Fig. 4. Oracle tests gated at each phase-1 milestone of the xcvrd run.
the subjects it failed, leaving cset and lambda-calculus-eval uncompilable and commons-csv uncollectable.
Repair after the fact. Repair recovers only part of the gap. Build-guided repair fixes import-time defects cheaply, turning commons-validator's collection errors into 382 of 462 passes with a single call, but it cannot see the runtime errors that dominate commons-cli. Test-guided repair reads the test failures and reaches 370 and 403 on those two subjects, still below CODEMEEPO's 380 and 452, and no repaired crate compiles in CRUST-Bench.
ReCodeAgent is the strongest baseline in every suite and the only other arm with a scoreable artifact everywhere, yet it trails CODEMEEPO by 65 tests on commons-csv, 51 on commons-validator, and 52 on xcvrd. Three design differences separate it from CODEMEEPO. ReCodeAgent translates the repository as a whole, with no milestones that break the work into gated slices, which leaves its final port incomplete. Its Validator, though able to run the subject's suite, checks the port mainly against tests it translates or writes itself, which scales poorly to large repositories and can miss behavior. And it has no parity check that compares the finished port with the source and turns each gap into new work, so nothing confirms that everything in scope was translated.
The production subject. The gap is widest on xcvrd, whose behavior depends on databases, a platform plugin, and concurrent tasks. The Copilot CLI passes 27 of its 105 tests and ReCodeAgent 53, and the single-shot output and both repair loops produce nothing the suite can score, while CODEMEEPO passes all 105, including the tests it deferred during the run. Its parity loop also recovered four source behaviors that no test exercises and added each as a new milestone, which no pass rate in Figure 3 can show.
B. CODEMEEPO on xcvrd
After the five optimization rounds of phase 2, the optimized port beats the port it started from by more than on five of the ten benchmarks, and it still passes every test.
One run, step by step. Figure 4 follows phase 1, the translation phase, milestone by milestone. The Analyzer, Scoper, and Planner turned the 37 source modules into 73 translation units scheduled over thirteen milestones, M0 to M12, and the cumulative gate grew with each of them until M12 ran the full 105-test suite. The Parity agent then found four source behaviors that no oracle test exercises. Re-scoping appended the first three as M13–M15, debouncing a newly inserted module, holding start-up until the port configuration is complete, and keeping the DOM polling set in step with ports added and removed at run time. A further parity round added the original's command-line options as M16, and M17 gave the three tests deferred along the way their single retry, after which the Parity agent reported complete coverage. Four of the eighteen milestones thus add behavior that no pass rate can show, and by the end of phase 1 the port carried 320 unit tests, up from 25 at M0.
TABLE III THE LAST RECORDED SESSION OF EACH AGENT ROLE IN THE XCVRD RUN.
| Role (unit of work) | Ph. | Model | Calls | Wrote |
|---|---|---|---|---|
| Analyzer | 1 | 49% | 66 | analysis document |
| Scoper (re-scope) | 1 | 96% | 9 | milestone list |
| Planner | 1 | 98% | 53 | plan |
| Translator (M17) | 1 | 18% | 163 | 10 crate files |
| Validator (M16) | 1 | 3.5% | 16 | its report |
| Parity agent | 1 | 96% | 60 | its report |
| Benchmarker | 2 | 5.9% | 12 | — |
| Optimizer (last round) | 2 | 97% | 40 | its round record |
| Validator (last round) | 2 | 5.3% | 13 | its report |

Fig. 5. Benchmarks on which the optimized port improved by more than over the unoptimized port, from one back-to-back run of each. Labels give the improvement and the values before and after.
Table III shows how the work divided among the roles. Its Model column is the share of each session spent in model calls; the rest went to the tool calls counted in its Calls column, such as reading files, building the crate, and running the unit tests and the oracle. The judging roles never wrote to the crate. The Validators and the Benchmarker, which run the tests and benchmarks, spent only 3.5–5.9% of their sessions in model calls, whereas the Scoper, Planner, Parity agent, and Optimizer spent 96–98% of theirs there, so the oracle, not the model, sets the pace of a milestone.
Optimization. None of the baselines optimizes performance, so we compare CODEMEEPO's port only with the unoptimized port it started from. We ran the optimization loop of phase 2 for five rounds, and in each the Optimizer proposed one change set. The full-suite conformance milestone then ran all 105 tests on the accumulated changes, repairing any failure or undoing a change that could not be made correct, so the final port retains only optimizations that pass the full oracle suite. We then benchmarked both versions on the same machine, with ten benchmarks covering start-up, reactions to hardware events, idle resource use, steady-state work, and shutdown, 23 measurements in all. Counting a change of more than 5% as an improvement, these five rounds improved five of the ten benchmarks, by 25% on average (Figure 5). The optimized port reports an injected hardware fault 1.9 times as fast, clears removed modules 40.3% faster during a burst of insertions and removals, issues 21.6% fewer hardware reads, uses 12.2% less CPU when idle, and finishes start-up 5.4% sooner. The rest of the benchmarks changed by less than 5%.
VI. RELATED WORK
Language translation and repository evolution. Neural code translation began at function granularity [8], later grounded by executing unit tests to filter unreliable outputs [9], and empirical study shows that syntactically valid translations can still be semantically defective [14]. Repository-level migration adds dependencies among translated units and requires reconstructing the surrounding project. AlphaTrans addresses this through compositional decomposition, target skeletons, incremental translation, and validation using source and translated tests [4]; we evaluate on four of its projects. Zhang et al. translate Go projects to Rust in validated fragments [24]. CodePlan addresses the related but distinct problem of propagating repository-wide edits from an initial change specification [10]. Other work eases long or domain-specific inputs by chunking [7] or summary augmentation [6]. These improve the information available to a translation step; CODEMEEPO operates at the workflow level, where milestones define integration boundaries and post-translation findings can create work after the original plan is exhausted.
Multi-agent migration. CoMRA [11] combines retrieval-augmented generation and multi-agent collaboration for Qt4-to-Qt5 version migration, emphasizing migration knowledge rather than the control rules CODEMEEPO relies on. ReCodeAgent [5] combines analysis, planning, translation, and validation for language-agnostic repository migration, and it already describes scripts checking fragment existence and file omission as well as comparisons between exercised tests and planned functions. Unlike CODEMEEPO, it translates the repository as a whole without gated milestones, validates mainly against tests it translates or writes itself, and has no parity check that turns each gap into new work. Our design emphasizes a dedicated post-translation parity assessment whose findings feed a bounded re-scoping loop, integrated with cumulative gates and explicit deferred-test retry. Project-level C-to-Rust agents orchestrate translation along dependencies [25] or repair a port where its regenerated documentation disagrees with the source's [26]. ChatDev [27], MetaGPT [28], and StateFlow [29] coordinate agents through dialogue, operating procedures, or state machines; CODEMEEPO routes on rules, never on model decisions.
Feedback and behavioral validation. Compiler feedback can improve compilability without establishing behavioral correctness [30], while Weiss et al. [31] study C-to-Rust feedback loops using compiler diagnostics and differential testing. Our repair results (Section V-A) sharpen this, since on a dynamically typed target a parse-and-import check cannot observe the runtime attribute errors that dominate a badly assembled translation. Models can self-debug from execution feedback [32], and ACToR fuzzes for divergence from the C source [33]. Other approaches exploit stronger structure in particular language pairs. VERT [34] model-checks candidate Rust against a reference, SACTOR [35] combines static analysis with FFI-based verification, and Syzygy [36] uses dynamic analysis in joint code and test translation. These should not be conflated with LLM-based parity inspection, because CODEMEEPO's coverage report is a fallible assessment, not a verifier.
Performance optimization. LLMs can learn performance-improving edits [37], be guided by evolutionary search [38], or revise code against execution profiles [39], yet trail experts on real repositories [40]. CODEMEEPO optimizes the port it just produced and returns all accumulated changes to the conformance milestone.
Benchmarks and agentic software engineering. CRUST-Bench [21] supplies safe Rust interfaces and tests for C projects, RepoTransBench [41] supports executable repository-level assessment, and RepoMod-Bench [42] hides its tests from the agents; the provenance of such contracts affects what success establishes, which is why CODEMEEPO separates generated tests from its oracle. The broader agentic literature contributes repository-task benchmarks [43], agent–computer interfaces [44], and program-improvement workflows [45], while Agentless [46] shows why workflow design should be evaluated rather than equated with autonomy. Agentic app generation [47] and build repair [48] show the value of environment scaffolding and executable feedback. CODEMEEPO applies these principles to behavior-preserving migration; its distinction is the specific integration of progress accounting with post-translation coverage feedback, not a claim that deterministic orchestration, multiple agents, or repair loops are individually new.
VII. Conclusion
Repository-level migration must split work that exceeds one model context into milestones without breaking earlier ones, accept a port only on evidence that its agents did not author, and keep a behaviorally correct port from being slow.
CODEMEEPO meets these challenges with explicit workflow structure, in which deterministic routing coordinates eight specialized roles, cumulative milestone gates support regression checking, parity findings reopen the plan, bounded repair records unresolved obligations, and accumulated performance changes return to a repairable conformance milestone. These mechanisms make progress and acceptance evidence inspectable without treating an LLM verdict as a proof.
Across nine subjects, CODEMEEPO achieves the best test pass rate on every subject. On a production daemon it passes all 105 tests against ReCodeAgent's 53, its parity loop added four milestones beyond the plan, and five optimization rounds improved half of the benchmarks, by 25% on average.
REFERENCES
[1] S. Nikolov, D. Codecasa, A. Sjovall, M. Tabachnyk, S. Chandra, S. Taneja, and C. Ziftci, “How is google using AI for internal code migrations?” 2025, arXiv:2501.06972.
[2] A. Ferenczi, J. Docherty, M. Bessonov, M. Findlay, and K. Lingamneni, "Agentic method for deterministic validation of legacy code migration," 2026, arXiv:2607.28271.
[3] R. Li, B. Wang, T. Li, P. Saxena, and A. Kundu, “Translating C to Rust: Lessons from a user study,” in Network and Distributed System Security Symposium (NDSS), 2025.
[4] A. R. Ibrahimzada, K. Ke, M. Pawagi, M. S. Abid, R. Pan, S. Sinha, and R. Jabbarvand, “AlphaTrans: A neuro-symbolic compositional approach for repository-level code translation and validation,” Proceedings of the ACM on Software Engineering, vol. 2, no. FSE, pp. 2454–2476, 2025.
[5] A. R. Ibrahimzada, B. Paulsen, D. Kroening, and R. Jabbarvand, “Re-CodeAgent: A multi-agent workflow for language-agnostic translation and validation of large-scale repositories,” 2026, arXiv:2604.07341v3.
[6] A. Bhardwaj, V. Arya, and Y. Sabharwal, “Refining LLM-based Cobol-to-Java translation via natural language summary augmentation,” in IEEE Int. Conf. on Software Analysis, Evolution and Reengineering (SANER), 2026, pp. 400–410.
[7] V. T. Chakaravarthy, A. R. Choudhury, V. Kanvar, R. Katan, S. S. Pandian, A. Raghuvanshi, and Y. Sabharwal, “Efficient translation of long code blocks using large language models,” in IEEE Int. Conf. on Software Analysis, Evolution and Reengineering (SANER), 2026, pp. 377–387.
[8] M.-A. Lachaux, B. Rozière, L. Chanussot, and G. Lample, “Unsupervised translation of programming languages,” 2020, arXiv:2006.03511.
[9] B. Rozière, J. M. Zhang, F. Charton, M. Harman, G. Synnaeve, and G. Lample, “Leveraging automated unit tests for unsupervised code translation,” 2021, arXiv:2110.06773.
[10] R. Bairi, A. Sonwane, A. Kanade, Vageesh D. C., A. Iyer, S. Parthasarathy, S. Rajamani, B. Ashok, and S. Shet, “CodePlan: Repository-level coding using LLMs and planning,” Proceedings of the ACM on Software Engineering, vol. 1, no. FSE, pp. 675–698, 2024.
[11] B. Lu, W. Yu, H. Wang, J. Zhao, Y. Zhang, and R. Chen, “CoMRA: A framework for automated code migration via retrieval-augmented generation and multi-agent collaboration,” in IEEE Int. Conf. on Software Analysis, Evolution and Reengineering (SANER), 2026, pp. 114–124.
[12] N. F. Liu, K. Lin, J. Hewitt, A. Paranjape, M. Bevilacqua, F. Petroni, and P. Liang, “Lost in the middle: How language models use long contexts,” Transactions of the Association for Computational Linguistics, vol. 12, pp. 157–173, 2024.
[13] M. Konstantinou, R. Degiovanni, and M. Papadakis, “Do LLMs generate test oracles that capture the actual or the expected program behaviour?” 2024, arXiv:2410.21136.
[14] R. Pan et al., “Lost in translation: A study of bugs introduced by large language models while translating code,” 2023, arXiv:2308.03109.
[15] J. Zhao, S. Zhou, and E. Cohen, “Do coverage and mutation scores of LLM-generated test suites correlate with their effectiveness? (replicability study),” 2026, arXiv:2607.22880; to appear in PACMSE, Vol. 3, ISSTA.
[16] D. Huang, Y. Qing, W. Shang, H. Cui, and J. M. Zhang, “EffiBench: Benchmarking the efficiency of automatically generated code,” 2024, arXiv:2402.02037; camera-ready for NeurIPS 2024.
[17] Y. Peng, J. Wan, Y. Li, and X. Ren, “COFFE: A code efficiency benchmark for code generation,” 2025, arXiv:2502.02827; accepted at FSE 2025.
[18] C. A. E. Goodhart, “Problems of monetary management: The UK experience,” in Monetary Theory and Practice. London: Macmillan Education UK, 1984, pp. 91–121.
[19] The Apache Software Foundation, “Apache Burr (incubating),” Software, 2026, accessed Oct. 21, 2026. [Online]. Available: https://github.com/apache/burr
[20] GitHub, “GitHub Copilot CLI,” Software, 2026, accessed Oct. 21, 2026. [Online]. Available: https://github.com/github/copilot-cli
[21] A. Khatry et al., “CRUST-Bench: A comprehensive benchmark for C-to-safe-Rust transpilation,” 2025, arXiv:2504.15254.
[22] “SONiC: Software for open networking in the cloud,” Software, 2026, accessed Oct. 21, 2026. [Online]. Available: https://sonic-net.github.io/SONiC/
[23] K. R. Fulton, A. Chan, D. Votipka, M. Hicks, and M. L. Mazurek, “Benefits and drawbacks of adopting a secure programming language: Rust as a case study,” in Proceedings of the Seventeenth Symposium on Usable Privacy and Security (SOUPS). USENIX Association, 2021, pp. 597–616.
[24] H. Zhang, C. David, M. Wang, B. Paulsen, and D. Kroening, “Scalable, validated code translation of entire projects using large language models,” Proceedings of the ACM on Programming Languages, vol. 9, no. PLDI, pp. 1616–1641, 2025.
[25] M. Farrukh, B. Coskun, T. Palit, and M. Polychronakis, “ORBIT: Guided agentic orchestration for autonomous C-to-Rust transpilation,” 2026, arXiv:2604.12048.
[26] M. Le-Anh, A. N. Hoang, B. Le, and N. D. Q. Bui, “Documentation-guided agentic codebase migration from C to Rust,” 2026, arXiv:2605.14634.
[27] C. Qian et al., “ChatDev: Communicative agents for software development,” in Proc. Annual Meeting of the Association for Computational Linguistics (ACL), 2024, pp. 15 174–15 186.
[28] S. Hong et al., “MetaGPT: Meta programming for a multi-agent collaborative framework,” in Int. Conf. on Learning Representations (ICLR), 2024.
[29] Y. Wu, T. Yue, S. Zhang, C. Wang, and Q. Wu, “StateFlow: Enhancing LLM task-solving through state-driven workflows,” 2024, arXiv:2403.11322.
[30] V. Kjellberg, M. Staron, and F. Fotrousi, “From LLMs to agents in programming: The impact of providing an LLM with a compiler,” in IEEE Int. Conf. on Software Analysis, Evolution and Reengineering (SANER), 2026, pp. 103–113.
[31] M. Weiss, J. Hecking-Harbusch, J. Quante, and M. Woehrle, “Feedback loops and code perturbations in LLM-based software engineering: A case study on a C-to-Rust translation system,” in IEEE Int. Conf. on Software Analysis, Evolution and Reengineering (SANER), 2026, pp. 367–376.
[32] X. Chen, M. Lin, N. Schärli, and D. Zhou, “Teaching large language models to self-debug,” in Int. Conf. on Learning Representations (ICLR), 2024.
[33] T. Li, R. Li, B. Wang, B. Paulsen, U. Mathur, and P. Saxena, “Adversarial agent collaboration for correctness improvements of C to safe Rust translation,” 2025, arXiv:2510.03879.
[34] A. Z. H. Yang, Y. Takashima, B. Paulsen, J. Dodds, and D. Kroening, "VERT: Verified equivalent rust transpilation with large language models as few-shot learners," 2024, arXiv:2404.18852.
[35] T. Zhou, Z. Zhang, H. Lin, S. Jha, M. Christodorescu, K. Levchenko, and V. Chandrasekaran, “SACTOR: LLM-driven correct and idiomatic C to Rust translation with static analysis and FFI-based verification,” 2025, arXiv:2503.12511.
[36] M. Shetty, N. Jain, A. Godbole, S. A. Seshia, and K. Sen, “Syzygy: Dual code-test C to (safe) Rust translation using LLMs and dynamic analysis,” 2024, arXiv:2412.14234.
[37] A. Shypula et al., “Learning performance-improving code edits,” in Int. Conf. on Learning Representations (ICLR), 2024.
[38] S. Gao, C. Gao, W. Gu, and M. R. Lyu, “Search-based LLMs for code optimization,” in IEEE/ACM Int. Conf. on Software Engineering (ICSE), 2025, pp. 578–590.
[39] D. Huang et al., “EffiLearner: Enhancing efficiency of generated code via self-optimization,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 37, 2024, pp. 84482–84522.
[40] X. He et al., “SWE-Perf: Can language models optimize code performance on real-world repositories?” in Int. Conf. on Machine Learning (ICML), 2026, arXiv:2507.12415.
[41] Y. Wang et al., “RepoTransBench: A real-world benchmark for repository-level code translation,” 2024, arXiv:2412.17744.
[42] X. Li, N. Ben-Israel, Y. Raz, B. Ahmed, D. Serebro, and A. Raux, "RepoMod-Bench: A benchmark for code repository modernization via implementation-agnostic testing," 2026, arXiv:2602.22518.
[43] C. E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei, O. Press, and K. Narasimhan, “SWE-bench: Can language models resolve real-world GitHub issues?” 2023, arXiv:2310.06770.
[44] J. Yang, C. E. Jimenez, A. Wettig, K. Lieret, S. Yao, K. Narasimhan, and O. Press, “SWE-agent: Agent-computer interfaces enable automated software engineering,” 2024, arXiv:2405.15793.
[45] Y. Zhang, H. Ruan, Z. Fan, and A. Roychoudhury, “AutoCodeRover: Autonomous program improvement,” 2024, arXiv:2404.05427.
[46] C. S. Xia, Y. Deng, S. Dunn, and L. Zhang, “Agentless: Demystifying LLM-based software engineering agents,” 2024, arXiv:2407.01489.
[47] E. Kniazev, A. Kravchenko, I. Rekun, J. Broadhead, N. Shamgunov, P. K. Sah, P. Nichite, and I. P. Yamshchikov, “app.build: A production framework for scaling agentic prompt-to-app generation with environment scaffolding,” in IEEE Int. Conf. on Software Analysis, Evolution and Reengineering (SANER), 2026, pp. 147–157.
[48] C. Macho, K. Stengg, and M. Pinzger, “Agent-based dependency-related build repair,” in IEEE Int. Conf. on Software Analysis, Evolution and Reengineering (SANER), 2026, pp. 1–6.