AI Aulis

AI NEWS IN ENGLISH · 28 November 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

← Issue 28 November 2026Paper

Tests made up 61 per cent of agents’ extra edits on SWE-bench Verified

AI-generated contentWritten by AI

arXiv, wisevoter.com · 2 sources · Sources published: 25–27 November 2026

Microsoft researchers compared patches that 18 frontier models wrote with GitHub Copilot CLI against developers’ own. On a second benchmark, DeepSWE, 58 per cent of the extra edits were code.

Microsoft researchers Aakash Goel, Benjamin Steenhoek and Yu Hu published their study on arXiv on 25 November. It is a preprint and has not been peer reviewed. The data cover 7,660 runs in which 18 frontier models solved a task with the GitHub Copilot CLI coding agent on the SWE-bench Verified and DeepSWE benchmarks.

The researchers’ DRA method (Delta Residue Attribution) replays the agent’s steps and splits the finished patch into units that can be reverted one at a time. Each unit is traced to the step that wrote it. The unit is then reverted and the task’s tests are run again. If the tests pass without it, the unit is unneeded. The NP_code metric gives the share of code units that are needed. The researchers graded developers’ own patches the same way.

Agent patches change more lines than developers’ patches, the study found. On SWE-bench Verified, 61 per cent of the extra edits were tests and 13 per cent documentation, while on DeepSWE 58 per cent were code. Counting code lines alone, the median model on SWE-bench Verified changed 0.86 times as many as developers did. A Wisevoter report based on Crypto Briefing said agent patches on SWE-bench Verified changed a median of 2.33 times more lines than developers’ patches. That figure does not appear in the available text of the study.

Measured by the task’s tests, agents’ code was on average at least as necessary as developers’: on SWE-bench Verified NP_code was 0.887 for agents and 0.864 for developers, and on DeepSWE 0.797 and 0.785. The result depends on how necessity is checked, however. On SWE-bench Verified, the GPT-6.1 Sol model wrote behavioural tests for units classed as unneeded. A unit counted as needed if the developer’s patch behaved in those tests like the agent’s full patch. Developers’ score then rose to 0.970 and agents’ to 0.925, leaving agents 4.5 percentage points behind. Had any change in behaviour counted as needed, agents would have been 0.8 percentage points ahead.

On SWE-bench Verified, an average of 11 per cent of the code units in agent patches were unneeded, and 89 per cent of those changed the program’s behaviour. A reviewer therefore cannot ignore them, the authors said.

The table shows results for some of the models.

Model Tasks resolved, % NP_code
Developer patch – 0.864
Claude Opus 5.5 89.4 0.900
Gemini 3.8 Flash 82.4 0.765
Gemini 3.7 Flash 81.4 0.789
Claude Sonnet 5.5 76.4 0.929
GPT-5.6 Luna 76.0 0.946
Gemini 3.6 Flash 73.2 0.791
Claude Haiku 4.5 64.0 0.873

SWE-bench Verified, Copilot CLI, graded with the task’s tests (Goel et al., preprint).

On SWE-bench Verified, the resolve rate was unrelated to code necessity. On DeepSWE, the more tasks a model resolved, the lower its NP_code tended to be (Spearman −0.59).

On SWE-bench Verified, fix steps wrote 83 per cent of the unneeded code and debugging steps almost none. The authors therefore see cleaning up the finished patch as more promising than cleaning up during the work. When a model audited its own change, it found 36 per cent of the unneeded code with 66 per cent precision. DRA pruning with the agent’s own tests and the repository’s found 67 per cent with 46 per cent precision, meaning it also removed needed code. The pruning figures cover the 2,495 patches to which it could be applied. Of these, 89 per cent still resolved the task after pruning.

The authors recommend that benchmarks report NP_code and the developer-patch baseline alongside the resolve rate, and that patch-size comparisons separate test changes from code changes. In their view, over-editing should be reduced through model training and through pruning in the harness, the program that drives the agent, gives the model its tools and runs its steps.

The main results cover only one harness, Copilot CLI, and only successful solutions. SWE-bench Verified contains only Python code and may have ended up in the models’ training data. Because units are reverted one at a time, units that are needed together can mislead the method. Whether a human reviewer would remove the flagged units has not yet been tested.

Report an error in this story