Know Before Fix: QA-Driven Repository Knowledge Acquisition for Software Issue Resolution

Hugging Face Daily Papers Papers

Summary

ACQUIRE is a QA-driven framework that decouples knowledge acquisition from patch generation for software issue resolution, outperforming pre-repair methods on SWE-bench Verified.

LLM-based coding agents have significantly advanced automated software issue resolution, yet they remain highly prone to factual errors caused by insufficient repository understanding. Recent methods attempt to mitigate this limitation through pre-repair repository exploration; however, their fix-driven strategies explore repositories without identifying the agent's knowledge gaps, often yielding imprecise context that fails to bridge the underlying understanding deficit. In this paper, we propose ACQUIRE, a QA-driven framework for software issue resolution. Mirroring how experienced developers first comprehend unfamiliar code before attempting a fix, ACQUIRE explicitly acquires repository knowledge prior to repair. The framework decouples knowledge acquisition from patch generation through two stages: in the first stage, a Questioner and an Answerer collaborate to acquire structured repository knowledge, where the Questioner poses targeted questions and the Answerer produces evidence-grounded answers through autonomous exploration; in the second stage, the Resolver leverages the resulting QA knowledge to generate informed patches. By transforming implicit knowledge gaps into explicit, factually reliable understanding, ACQUIRE accelerates knowledge-intensive repair stages and enables more accurate resolution. Experiments on SWE-bench Verified demonstrate that ACQUIRE consistently outperforms representative pre-repair methods, raising Pass@1 by up to 4.4 percentage points with modest additional cost and time.
Original Article
View Cached Full Text

Cached at: 07/15/26, 04:21 AM

Paper page - Know Before Fix: QA-Driven Repository Knowledge Acquisition for Software Issue Resolution

Source: https://huggingface.co/papers/2607.11111

Abstract

LLM-basedcodingagentshavesignificantlyadvancedautomatedsoftwareissueresolution,yettheyremainhighlypronetofactualerrorscausedbyinsufficientrepositoryunderstanding.Recentmethodsattempttomitigatethislimitationthroughpre-repairrepositoryexploration;however,theirfix-drivenstrategiesexplorerepositorieswithoutidentifyingtheagent’sknowledgegaps,oftenyieldingimprecisecontextthatfailstobridgetheunderlyingunderstandingdeficit.Inthispaper,weproposeACQUIRE,aQA-drivenframeworkforsoftwareissueresolution.Mirroringhowexperienceddevelopersfirstcomprehendunfamiliarcodebeforeattemptingafix,ACQUIREexplicitlyacquiresrepositoryknowledgepriortorepair.Theframeworkdecouplesknowledgeacquisitionfrompatchgenerationthroughtwostages:inthefirststage,aQuestionerandanAnswerercollaboratetoacquirestructuredrepositoryknowledge,wheretheQuestionerposestargetedquestionsandtheAnswererproducesevidence-groundedanswersthroughautonomousexploration;inthesecondstage,theResolverleveragestheresultingQAknowledgetogenerateinformedpatches.Bytransformingimplicitknowledgegapsintoexplicit,factuallyreliableunderstanding,ACQUIREacceleratesknowledge-intensiverepairstagesandenablesmoreaccurateresolution.ExperimentsonSWE-benchVerifieddemonstratethatACQUIREconsistentlyoutperformsrepresentativepre-repairmethods,raisingPass@1byupto4.4percentagepointswithmodestadditionalcostandtime.

View arXiv pageView PDFAdd to collection

Get this paper in your agent:

hf papers read 2607\.11111

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2607.11111 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2607.11111 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2607.11111 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Review

Hugging Face Daily Papers

This paper introduces SWE-Review, a framework that closes the loop on AI-generated pull requests by enabling iterative agentic review and revision cycles, improving code quality and issue resolution. Experimental results show that it outperforms single-turn review and enables effective test-time scaling.

QA Crow

Product Hunt

QA Crow is a bug tracking and quality assurance tool designed to help manage bug backlogs for development teams.

Fixing Data Before Retrieval

Reddit r/AI_Agents

The article argues that fixing underlying data quality is more critical than improving retrieval methods for AI agents, and introduces a platform that continuously audits knowledge bases to serve as a single source of truth via an API.

DAIS: Dependency-Aware Intermediate QA Supervision for Complex Reasoning

arXiv cs.CL

Introduces DAIS, a training-time framework that converts chain-of-thought rationales into dependency-conditioned intermediate QA records to provide better supervision for complex reasoning. Achieves up to 5.6% accuracy improvement over baselines on policy-compliance benchmarks.