paper-with-me

홈 › Papers

What a diff makes: automating code migration with large language models

2025-10-31 · Katherine A. Rosenfeld, Cliff C. Kerr, Jessica Lundin arxiv

Modern software programs are built on stacks that are often undergoing changes that introduce updates and improvements, but may also break any project that depends upon them. In this paper we explore the use of Large Language Models (LLMs) for code migration, specifically the problem of maintaining compatibility with a dependency as it undergoes major and minor semantic version changes. We demonstrate, using metrics such as test coverage and change comparisons, that contexts containing diffs can significantly improve performance against out of the box LLMs and, in some cases, perform better than using code. We provide a dataset to assist in further development of this problem area, as well as an open-source Python package, AIMigrate, that can be used to assist with migrating code bases. In a real-world migration of TYPHOIDSIM between STARSIM versions, AIMigrate correctly identified 65% of required changes in a single run, increasing to 80% with multiple runs, with 47% of changes generated perfectly.

📄 PDF Abstract BibTeX arXiv:2511.00160

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Automatic Qiskit Code Refactoring Using Large Language Models

2025-06-17 · José Manuel Suárez, Luis Mariano Bibbó, Joaquin Bogado, Alejandro Fernandez

As quantum software frameworks evolve, developers face increasing challenges in maintaining compatibility with rapidly changing APIs. In this work, we present a novel methodology for refactoring Qiskit code using large l…

MigGPT: Harnessing Large Language Models for Automated Migration of Out-of-Tree Linux Kernel Patches Across Versions

2025-04-13 · Pucheng Dang, Di Huang, Dong Li, Kang Chen 외

Out-of-tree kernel patches are essential for adapting the Linux kernel to new hardware or enabling specific functionalities. Maintaining and updating these patches across different kernel versions demands significant eff…

Migrations, vaccinations and epidemic control

2017-12-21

We consider three regions with different public health conditions. In the absence of migration among these regions, the first two have good health conditions and the disease free state is stable; for the third region, on…

A Machine Learning Approach to Modeling Human Migration

2017-11-15 · Caleb Robinson, Bistra Dilkina

Human migration is a type of human mobility, where a trip involves a person moving with the intention of changing their home location. Predicting human migration as accurately as possible is important in city planning ap…

BIG-bench Machine Learning

SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?

2026-08-24 · Deyao Hong, Yizhe Chi, Wenyi Li, Xiaoqiu Wang 외 arxiv

Modern software systems accumulate technical debt over decades of development, which makes migration expensive and largely manual. As coding agents become increasingly capable at bug fixing, can they autonomously perform…