Fixed or Deleted? External Feedback Lets Cheaper AI Coding Agents Repair Rule Violations
Empirical study on cost-effective AI coding agents with practical implications for software engineering workflows
AI Summary
Research shows external feedback from CodeAssure checker dramatically improves LLM coding agents' ability to repair rule violations, with medium models achieving 90% success at 1/5 the cost of largest models.
Excerpt
Many defects violate project rules that the code itself does not reveal, such as layering constraints or required tests. We study whether LLM coding agents repair such violations better when an external checker reports them, with their location and a repair goal. Three models, a small, medium and large model, driven by an AI agent, worked on 25 pull requests with 31 planted defects in ten open-source projects, plus 5 correct controls, five times alone and five times with findings from CodeAssure
