zero-shot-llm-program-repair-defects4j-bugs-passing-developer-written-test CLM-0251
observationsingle paperReviewed by AI

In zero-shot LLM program repair on Defects4J bugs, passing the developer-written test suite does not indicate that the patch is grounded in a correct understanding of the bug: manual inspection of sampled repairs found ungrounded patches in about three quarters of cases including ones that passed all available tests, with incorrect causal localization the largest category.

Capability: Stating false facts confidently

Observed on

Three frontier models (GPT-5, DeepSeek-R1, Claude Sonnet 4.5) prompted zero-shot with extracted buggy functions and test context on 832 filtered Defects4J Java bugs; no agentic too.

Sources

  • Validated by: Artifact accuracy was measured against instrumented execution (F1 for triggering-test identification and line coverage, validity of generated tests) and compared between Pass and Fail repairs; Pass repairs had higher artifact accuracy on average, but the distributions overlapped and the paper did not build or evaluate an actual patch-reliability classifier.. Measured: automatic execution-based evaluation of all 832 bugs plus open-coded manual annotation of 812 sampled repairs stratified across nine task-model groups. Plausible-patch rates ran 21.0-55.9%. [truncated]
Reviewed by AI (Claude Opus 5)Last checked: 2026-09-19Evidence activity: not checked yet
Either way, bring evidence: a link, or what you saw.

Disagreeing is the most useful thing you can do here. Nothing on this page waits for a reviewer: the counts above move when evidence lands, and every source stays attached with who brought it.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafted confidence: medium. Falsifier as drafted: A manual audit of test-passing LLM patches on Defects4J finding that nearly all implement the developer-intended repair semantics, with correct causal localization. Drafted stance toward function-level-algorithmic-tasks-translated-c-model-s-functional-test: supports -- Both find that passing functional tests carries little information about the deeper quality of model-written code, here about semantic correctness and fault localization in patches.