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

DevFeed: [BRIEF: An Evidence-Assessed Repair-Intent Interface for LLM-Based Program Repair](<https://devfeed.tech/articles/brief-an-evidence-assessed-repair-intent-interface-for-llm-based-program-repair-162955.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.38455>)

Author: Yi Su, Zhenghang Zhao, Wei Cheng, Haifeng Chen, Juan Zhai

Published: 2026-12-01T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Hallucination detection](<https://devfeed.tech/topics/hallucination-detection.md>)

Tags: [assessment](<https://devfeed.tech/tags/assessment.md>), [automated](<https://devfeed.tech/tags/automated.md>), [backend](<https://devfeed.tech/tags/backend.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [code](<https://devfeed.tech/tags/code.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [interface](<https://devfeed.tech/tags/interface.md>), [llm](<https://devfeed.tech/tags/llm.md>), [program](<https://devfeed.tech/tags/program.md>), [repair](<https://devfeed.tech/tags/repair.md>), [results](<https://devfeed.tech/tags/results.md>), [source](<https://devfeed.tech/tags/source.md>), [structured](<https://devfeed.tech/tags/structured.md>), [tests](<https://devfeed.tech/tags/tests.md>), [using](<https://devfeed.tech/tags/using.md>)

## AI overview

BRIEF improves LLM-based program repair by turning documentation, failing tests, and code context into a structured Repair Plan, then checking and refining that plan against its evidence before passing it to a repair backend. If the plan is rejected, the backend follows its original procedure. On 835 Defects4J bugs, tests with RepairAgent and ReinFix and with DeepSeek-V3.2 and GPT-6-Luna found 117-197 more correct repairs than the corresponding baselines across all four configurations. An ablation found that structuring evidence raised correct repairs from 127 to 216; assessment and refinement raised them further to 256. Average per-bug cost fell in three of four configurations, by up to 60.1%, and repair iterations fell in all four. These results are limited to the reported benchmark and configurations.

## Source excerpt

arXiv:2611.38455v1 Announce Type: cross 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. 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.