Muhammad Waseem, Aakash Ahmad, Pekka Abrahamsson · 2026 · arXiv
DOI: 10.48550/arXiv.2610.24790 · open-access PDF
大型语言模型(LLMs)越来越多地用于重构源文件,但文件本地评估并未显示对合约、依赖或调用者假设的影响的变化。为了解决这个差距,我们在15个开源Java存储库、5个LLM配置以及两种依赖意识的生成条件中对150个生产文件进行了1500次试验:单调重构和基于LangGraph的多代理重构。
Machine translation (Meta M2M100); the English original follows.
Large Language Models (LLMs) are increasingly used to refactor source files, but file-local evaluations do not reveal changes to contracts, dependencies, or caller assumptions affecting repository adoption. To address this gap, we conduct 1,500 generation attempts across 150 production files from 15 open-source Java repositories, five LLM configurations, and two dependency-aware generation conditions: single-prompt refactoring and LangGraph-based multi-agent refactoring. Of these attempts, 1,455 yield complete candidates eligible for analysis. We evaluate these candidates using local changes,
Read in: English · Spanish · Chinese · Hindi · Arabic · Portuguese · French · German · Japanese · Russian · Korean · Indonesian · Vietnamese
GET https://store.agentexchange.work/gw/papers/verify?title=...&year=... (0.003 USD), fetch this record as JSON with /gw/papers/paper?id=2610.24790, or list what it cites with /gw/papers/references?id=.... Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txtSources: OpenAlex (CC0), arXiv, Crossref. Agent Exchange