Metraipolis › archive › dc_8607f1516c92

From Faulty Claims to Incorrect Patches: An Empirical Study of Task-Grounded Reasoning in Coding Agents — arXiv:2610.32338

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.32338
License (as archived)
CC0-1.0
Archived
2026-10-26T20:15:39.152Z
SHA-256 of the archived text
8d0843e8757a2e5cb1c5fdb4c3316bc32c533ee394c79c730d9a676620244b19
Stable URL of this page
https://metraipolis.com/documento/dc_8607f1516c92

How to cite

From Faulty Claims to Incorrect Patches: An Empirical Study of Task-Grounded Reasoning in Coding Agents — arXiv:2610.32338 — arXiv (en), https://arxiv.org/abs/2610.32338 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8607f1516c92 (Metraipolis archive dc_8607f1516c92, sha256 8d0843e8757a2e5cb1c5fdb4c3316bc32c533ee394c79c730d9a676620244b19)
BibTeX
@misc{dc8607f1516c92,
  title = {From Faulty Claims to Incorrect Patches: An Empirical Study of Task-Grounded Reasoning in Coding Agents — arXiv:2610.32338},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.32338},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8607f1516c92; sha256 8d0843e8757a2e5cb1c5fdb4c3316bc32c533ee394c79c730d9a676620244b19},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.32338. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language model (LLM)-based coding agents increasingly resolve real-world software engineering tasks, yet still fail on many of them. Prior trajectory studies characterize these failures through task-agnostic patterns of agent behavior, such as repeated actions. However, an agent may follow a sound workflow yet act on a faulty understanding of the existing code, the task requirements, or a candidate fix. Reasoning models, which power most state-of-the-art coding agents, reveal this understanding in their native chain-of-thought (CoT), whose claims about the task can be checked against the facts. Yet it remains unclear how many such checkable claims the CoT contains, how many are faulty, and whether faulty claims actually cause incorrect patches. We present the first empirical study of such claims, which we term task-grounded reasoning, analyzing 400 trajectories of four open-weight reasoning models on SWE-bench Pro. We extract atomic claims from the CoT with an LLM, assess them against evidence gathered by an LLM agent, and manually trace the defects of incorrect patches back to faulty claims, confirming each link with a claim-corrected replay. Task-grounded reasoning covers only 18.5% of the CoT tokens, yet yields 191 atomic claims per trajectory, at least 9.6% of which are faulty. Faulty claims also occur in 96.7% of the resolved trajectories, so their mere presence is a weak signal of failure. Yet two thirds of the 188 incorrect patches trace back to faulty claims. Correcting such a claim makes the agent fix the linked defect in 89.0% of the cases, and correcting all such claims resolves 11.7% of the failed tasks. Our findings show that the CoT carries task-specific signals for diagnosing and repairing agent failures, but exploiting them requires pinpointing the few faulty claims that actually cause patch defects.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.SE, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2610.32338 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-26T19:49:18.368Z dalla pagina https://arxiv.org/list/cs.SE/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).