AI & ML
Hard Issue, Weak Model, or Bad Run? Rethinking Failure Prediction for Coding Agents
arXiv cs.SE0 views
arXiv:2611.08285v1 Announce Type: new Abstract: Trajectory-based failure predictors for software engineering (SE) agents read the partial trajectory of a run to flag whether it is going right or wrong. If it is going wrong, the run can be stopped, retried, or switched to another model. We ask whether these predictors learn anything about the run itself. On public SWE-bench Verified trajectories, where each model attempts each issue once, two run-independent factors dominate predictor performance. The first is issue difficulty: a reference score that never looks at the run, only at how hard the issue is for other models, reaches 0.92 AUROC, whereas trajectory predictors reach about 0.62. The second is model ability: within an issue, knowing which model ran predicts failure better than our predictors do, and the predictors largely reproduce the overall ability ranking of the models. Beyond difficulty and ability, what predictors gain from the trajectory is statistically equivalent to zero. This confusion carries over to the actions taken after a prediction. Model switching is often motivated by the gap between the best single model's resolution rate and an any-model oracle. This gap is no larger than random variation alone produces. Per-issue switching gains nothing on held-out runs. In a repeated-run pilot, the same model often solves an issue in some runs and fails it in others. Retrying thus has real room to repair failures, but it rescues only failures caused by a bad run, not those on an issue beyond the model's ability. Current predictors cannot tell the causes apart, as they mostly predict the issue and the model, not the run. We call for failure prediction that explains why a run fails, evaluated on repeated-run benchmarks and in closed-loop, equal-budget settings.
Source:https://arxiv.org/abs/2611.08285PreviousAccepted but Wrong: Silent Failures of LLM Code Repairs after API MigrationsNextCognitive Tours: Making Understanding a Deliverable in AI-Assisted Development
Related posts

Kubernetes, mark II? Why Google’s giving away gVisor, a code sandbox used by Anthropic and OpenAI
0The New Stack
AI helps find better recipes for 3D-printing titanium parts
0Phys.org Tech
Newly-developed paint could keep your home cooler and lower energy bills
0Phys.org Tech

Warhammer 40,000: Dawn of War 4 creative director explains how core 40K tabletop features like ‘Armor of Contempt’ were adapted to the RTS — ‘It’s not the same mechanic, but it does kind of the same t
0TechRadar

'The progress is real': Deloitte report claims some firms are finally seeing return on AI investment — but still lack insight into what actually works
0TechRadar

Hideo Kojima says AI can’t replace human craftsmanship in video games
0TechRadar