Learning Project-wise Subsequent Code Edits via Interleaving Neural-based Induction and Tool-based Deduction
Chenyan Liu, Yun Lin, Yuhuan Huang, Jiaxin Chang, Binhang Qi, Bo Jiang, Zhiyong Huang, and Jin Song Dong

TL;DR
This paper introduces TRACE, a hybrid code editing approach that combines neural induction and IDE tools to improve scope, accuracy, and efficiency in project-wise code modifications.
Contribution
It proposes a novel interleaving method for neural and tool-based predictions, enhancing project-wide code editing capabilities.
Findings
TRACE outperforms existing models in scope, accuracy, and efficiency.
The neural model effectively detects when to invoke IDE tools.
The fine-grained editing representation improves neural prediction performance.
Abstract
In industrial and open-source software engineering tasks, developers often perform project-wise code editing tasks, including feature enhancement, refactoring, and bug fixing, where the leading AI models are expected to support the productivity. Hence, researchers and practitioners have proposed and adopted many LLM-based solutions to facilitate their real-world development. However, they largely suffer from the balance among predicting scope, accuracy, and efficiency. For example, solutions like Cursor achieve high accuracy only in a local editing scope while its performance drops on cross-file edits. In contrast, solutions like CoEdPilot exhibit efficiency limitations when used to predict project-wise edits. In this work, we propose TRACE (Tool-integrated RecommendAtion for Code Editing), a novel subsequent code editing solution to push the boundary of scope, accuracy, and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
