Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

SWE-Touch: New Benchmark Reveals Coding Agents Fail When Users Edit Code Mid-Task

AI By Crimson AI Hugging Face Papers 4 August 2026 · 00:00 10 views
Share: X Telegram

Hugging Face researchers introduce SWE-Touch, a benchmark that injects conflicting user edits into coding tasks, showing that even top models lose 7.7 points on average and often ignore or mishandle the changes.

SWE-Touch: New Benchmark Reveals Coding Agents Fail When Users Edit Code Mid-Task

Key points

Real-world software development is rarely a solo endeavor. Users often inspect and modify code while an AI coding agent is working, yet most benchmarks evaluate agents in isolation. A new framework called SWE-Touch, introduced by Hugging Face researchers, aims to change that by stress-testing agents in shared workspaces.

The framework injects validated Counter-Edits—small, plausible code changes that conflict with the task—at critical moments during a repair trajectory. These edits are accompanied by contextual user messages, simulating a user actively touching the code. The researchers mined task-critical regions from multiple repair trajectories and used a separate User Patch Generator to construct the edits.

Evaluating nine frontier coding models on SWE-bench Verified, the team found that Counter-Edits lower the average resolve rate by 7.7 percentage points, and the degradation persists on longer-horizon benchmarks like SWE-Bench Pro and DeepSWE. Notably, 63.3% of failed runs simply retained the conflicting code untouched, indicating a lack of awareness of the evolving workspace.

Only Claude Opus 4.8 and GPT 5.5 showed strong resilience, while open-source models that score competitively on autonomous benchmarks degraded substantially—up to 16.5 points. Ablations confirmed that the code edit itself, not the accompanying message, drives the performance drop.

The findings suggest that optimizing for static leaderboard performance does not ensure robustness in collaborative settings. Agents need to detect workspace changes, reconcile conflicting edits with the task, and re-validate affected behavior—capabilities that current models largely lack.

ModelResilience to Counter-Edits
Claude Opus 4.8Strong
GPT 5.5Strong
Open-source modelsDegrade up to 16.5 points
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 31 Aug 2026

Hugging Face Unveils StepGuard: Step-Level Guardrails for Safer AI Agents

StepGuard, a new step-level guard model from Hugging Face, audits agent actions before execution, reducing attack success rates by...

1
Research paper
Hugging Face 31 Aug 2026

Hugging Face Researchers Unveil ABot-Recon for Stable Long-Horizon 3D Reconstruction

ABot-Recon, a new streaming 3D reconstruction model from Hugging Face, achieves stable long-horizon performance using only local t...

1
Research paper
Hugging Face 31 Aug 2026

ContextPilot: Teaching Agents Proactive Context Management via Fine-Grained RL

Hugging Face researchers introduce ContextPilot, a framework that enhances long-horizon agent reasoning by expanding context-editi...

1