Revisiting Feedback-Driven LLM Code Repair: A Replication and Exploratory Java Extension

📅 2026-08-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究通过部分复制和扩展Java版本的FeedbackEval基准,评估了不同反馈类型在LLM代码修复中的效果,揭示了反馈类型有效性受编程语言及工具生态系统影响。
📝 Abstract
Since the advent of Large Language Models (LLMs), practitioners have increasingly leveraged them to support their software engineering tasks, including automated code repair, showing promising results. Yet, concerns regarding reproducibility and generalizability remain largely unexplored. To further evaluate these concerns and associated impacts, we partially reproduce and conduct an exploratory Java extension of the FeedbackEval benchmark [1], which evaluates how LLMs leverage different feedback types for Python code repair. First, we partially replicate the original study on 394 repair tasks using GPT-4o and Claude 3.5 Sonnet, reproducing and observing the main qualitative trends reported in the original work. Second, we conduct an exploratory Java extension by constructing 100 erroneous repair instances from 50 Java tasks and evaluating feedback effectiveness. Our results show that previous conclusions from Python may be sensitive to benchmark construction, feedback representation, and tooling ecosystem, motivating more controlled multilingual benchmarks. Specifically, while test feedback remains the strongest feedback type in our Python replication, the same ranking is not observed in our Java extension, as simple and JUnit-based test feedback do not differ significantly. We hypothesize that differences in feedback informativeness and tooling ecosystems, such as the verbosity of test frameworks, may partly explain such a difference. Finally, lighter prompts reduce cost without significant differences in repair effectiveness. Overall, our findings confirm key trends under a partially controlled replication and highlight the need for more rigorous multilingual evaluation and careful feedback design in LLMbased repair systems.
Problem

Research questions and friction points this paper is trying to address.

Large Language Models
code repair
reproducibility
generalizability
feedback types
Innovation

Methods, ideas, or system contributions that make the work stand out.

Feedback-Driven LLM
Code Repair
Multilingual Evaluation
Java Extension
Lighter Prompts
🔎 Similar Papers
2023-12-25IEEE Transactions on Software EngineeringCitations: 57