GrACE: Generation using Associated Code Edits
원문 초록
Developers expend a significant amount of time in editing code for a variety of reasons such as bug fixing or adding new features. Designing effective methods to predict code edits has been an active yet challenging area of research due to the diversity of code edits and the difficulty of capturing the developer intent. In this work, we address these challenges by endowing pre-trained large language models (LLMs) of code with the knowledge of prior, relevant edits. The generative capability of the LLMs helps address the diversity in code changes and conditioning code generation on prior edits helps capture the latent developer intent. We evaluate two well-known LLMs, Codex and CodeT5, in zero-shot and fine-tuning settings respectively. In our experiments with two datasets, the knowledge of prior edits boosts the performance of the LLMs significantly and enables them to generate 29% and 54% more correctly edited code in top-1 suggestions relative to the current state-of-the-art symbolic and neural approaches, respectively.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
CoreCodeBench: A Configurable Multi-Scenario Repository-Level Benchmark
RMoA: Optimizing Mixture-of-Agents through Diversity Maximization and Residual Compensation
Turning the Tide: Repository-based Code Reflection
Why Do Open-Source LLMs Struggle with Data Analysis? A Systematic Empirical Study
A Reward-driven Automated Webshell Malicious-code Generator for Red-teaming
The Devil behind the mask: An emergent safety vulnerability of Diffusion LLMs
토론
이 논문과 연결된 포럼 글이 아직 없습니다.