Plain Reckoner
English
← All issue reports

Workflow failures · Research note

The AI wrote the code—and tests that agree with its mistake

Open limitation · mitigations only

Plain Reckoner editorial desk · Reviewed 2026-11-11 · Publisher date 2026-09-08

ExecCritic finds that generated tests can encode incorrect requirements. When the same trajectory writes code and tests, their mistakes can agree.

01 / Understand the issue

What’s affected

In its SWE-bench Verified setup, weak generated feedback hurt repair performance while stronger test generation helped. The result is about test quality, not a guarantee that adding tests improves a patch.

OBSERVEIdentify the failed task
VERIFYCheck the source and scope
RESPONDApply a bounded next step

02 / Editorial recommendation

Mitigations, not a complete fix

Write expected behavior from the requirement before inspecting the implementation. Check that a regression test fails on the known-broken version and passes on a separately reviewed fix. Review changes to assertions independently.

Follow the step-by-step guide ↗

03 / Keep the limits in view

What this doesn’t establish

This September 2026 preprint evaluates particular agents and scaffolds. It does not prove that every latest model fails, or that independent test generation is a complete fix.

Original source

ExecCritic researchers · preprint ↗
Reviewed 2026-11-11 · Published 2026-09-08

We summarize the original source. Suggested next steps are our editorial guidance.

How we choose sources ↗