arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.22597cs.SEcs.CL
收藏

TimeMachine-bench:一个评估仓库级迁移任务模型能力的基准

TimeMachine-bench: A Benchmark for Evaluating Model Capabilities in Repository-Level Migration Tasks

Tohoku University(东大理工大学);Future Corporation(未来公司);RIKEN(日本理化学研究所);NII LLMC(国家信息研究所LLMC)

Ryo Fujii, Makoto Morishita, Kazuki Yano, Jun Suzuki

AI总结:

本文提出TimeMachine-bench基准,用于评估软件迁移任务中的模型能力,通过自动化构建GitHub仓库测试失败数据集,评估基于11种模型的基线方法,发现LLM在迁移任务中仍存在可靠性挑战。

摘要:

随着自动化软件工程的发展,研究重点逐渐转向反映软件工程师日常工作的实际任务。其中,软件迁移作为适应环境变化的关键过程,长期被忽视。本文介绍TimeMachine-bench,一个用于评估现实世界Python项目软件迁移的基准。该基准包含GitHub仓库,其测试在依赖更新后开始失败。构建过程完全自动化,允许实时更新基准。此外,我们精心挑选了一个经过人工验证的子集以确保问题可解性。我们评估了基于11种模型的代理基线,包括强大的开放权重模型和最先进的LLM。结果表明,尽管LLM在迁移任务中显示出一些潜力,但仍面临显著的可靠性挑战,包括利用低测试覆盖率的虚假解决方案和源于次优工具使用策略的不必要的修改。我们的数据集和实现可在https://github.com/tohoku-nlp/timemachine-bench获取。

英文摘要:

With the advancement of automated software engineering, research focus is increasingly shifting toward practical tasks reflecting the day-to-day work of software engineers. Among these tasks, software migration, a critical process of adapting code to evolving environments, has been largely overlooked. In this study, we introduce TimeMachine-bench, a benchmark designed to evaluate software migration in real-world Python projects. Our benchmark consists of GitHub repositories whose tests begin to fail in response to dependency updates. The construction process is fully automated, enabling live updates of the benchmark. Furthermore, we curated a human-verified subset to ensure problem solvability. We evaluated agent-based baselines built on top of 11 models, including both strong open-weight and state-of-the-art LLMs on this verified subset. Our results indicated that, while LLMs show some promise for migration tasks, they continue to face substantial reliability challenges, including spurious solutions that exploit low test coverage and unnecessary edits stemming from suboptimal tool-use strategies. Our dataset and implementation are available at https://github.com/tohoku-nlp/timemachine-bench.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑