跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2611.29321 (cs)
[提交于 2026年11月22日 (v1),最后修订于 2026年11月25日 (此版本, v2)]

标题:Multi-Agent Coordinated Method-Level Refactoring of Rust Code

作者:Yijian Zheng, Yi Zhang, Juyuan Zhang, Di Cui
查看论文《Multi-Agent Coordinated Method-Level Refactoring of Rust Code》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:As Rust codebases evolve, developers refactor code to reduce duplication, simplify complex methods, and keep related functionality together. Developers can make these changes manually or use IDE assists for supported operations, then check the resulting code with compiler diagnostics and tests. Method-level refactoring in Rust must preserve observable behavior while accounting for ownership, borrowing, and lifetimes. We present a large language model (LLM)-based workflow for extracting, inlining, and moving methods in Rust. The workflow combines candidate generation, configurable specialist review,and container-based validation. On six tasks from three open-source Rust projects, three end-to-end configurations passed all task checks on their first attempt, using 6, 13, and 31 model calls. To isolate the effect of review, we then gave four configurations the same six reference patches and six deliberately behavior-changing variants. A designated specialist rejected all six behavior-changing patches before container validation and let all six reference patches proceed, reducing Docker invocations from 24 to 12 relative to direct validation. The fixed specialist panel also caught all six faults early and rejected two reference patches over unmeasured performance concerns. On this workload, specialist review reduced execution work, while its effect on total time depended on review overhead and which patches reached validation.
评论: Added a workbench screenshot, documented the openPangu-2.1-Pro backend, and added a reference
主题: 软件工程 (cs.SE)
引用方式: arXiv:2611.29321 [cs.SE]
  (或者 arXiv:2611.29321v2 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.29321

提交历史

来自:Yijian Zheng
[v1] 2026年11月22日 星期日 08:34:05 UTC (22 KB)
[v2] 2026年11月25日 星期三 11:36:18 UTC (54 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站