BRIEF: An Evidence-Assessed Repair-Intent Interface for LLM-Based Program Repair

Yi Su, Zhenghang Zhao, Wei Cheng, Haifeng Chen, Juan Zhai
11/28/2026
cs.SEcs.AI

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) have substantially advanced automated program repair (APR). Recent approaches further externalize pre-repair reasoning as diagnoses, plans, or repair hypotheses, but such guidance is typically consumed within the workflow that creates it and may be unsupported, incomplete, or inconsistent before patch generation begins.

Show full abstract

Repair intent should instead be reusable across repair backends and assessable before a backend acts on it. We introduce BRIEF, an evidence-guided repair harness that externalizes repair intent as a backend-decoupled, evidence-assessed interface. BRIEF synthesizes natural-language documentation, failing tests, and code context into a structured Repair Plan capturing intended behavior, observed violations, repair requirements, target locations, and repair direction. A Plan Assessor checks the plan against its source evidence, and rejected plans are refined before use. Only an accepted plan is supplied to the backend; otherwise, the backend proceeds with its original repair procedure. We evaluate BRIEF on all 835 bugs from 17 Defects4J projects using two repair backends, RepairAgent and ReinFix, and two LLMs, DeepSeek-V3.2 and GPT-6-Luna. Across all four configurations, BRIEF increases correct repairs by 117-197 bugs (relative gains of 60.9%-333.9%) and correctly repairs 86-206 bugs per configuration for which the corresponding baseline produces no plausible patch. Ablation results show that structuring the same evidence into a Repair Plan increases correct repairs from 127 to 216 (+70.1%), and assessment and refinement further increase them to 256 (+18.5%). Average per-bug cost decreases in three of four configurations, by as much as 60.1%, and repair iterations decrease in all four.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{su2026brief,
  title  = {BRIEF: An Evidence-Assessed Repair-Intent Interface for LLM-Based Program Repair},
  author = {Yi Su and Zhenghang Zhao and Wei Cheng and Haifeng Chen and Juan Zhai},
  year   = {2026},
  eprint = {2611.38455},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.38455v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.38455.svg)](https://codeofpaper.com/paper/2611.38455)

Discussion