StopLoss: A Cheap External Monitor Predicts Coding-Agent Failures Early, at 10-100x Lower Cost Than LLM Judges
Jiarong Liang · hf · 2026-10-21
Researchers at the University of Waterloo's TIGER-AI-Lab released StopLoss, a paper and open-source project named after the financial stop-loss order. It trains a small external monitor to predict whether a coding-agent run will fail verification, using completed trajectories and their verifier outcomes.
Key points:
- A fine-tuned LM scores recent tool steps in a single forward pass; a threshold calibrated on successful runs turns the score into an abort decision — no changes to the executor agent.
- Trained on GPT-family SWE-rebench trajectories, evaluated on SWE-bench Verified and a SWE-bench Pro subset with GPT and Claude executors.
- Compared against six general-purpose LLM judges reading identical windows, outcome supervision lifts failure prediction from near chance to a useful signal at the first check, at one to two orders of magnitude lower cost per check.
Code: github.com/TIGER-AI-Lab/StopLoss
More from coding & agent
- "PUA Prompting" Gemini to rewrite an app: state updates drop from 26.5ms to 0.036ms — vista8 · 2026-12-06
- "Claude writes slop, then switch models to clean it": the new coding loop, memed — zephyr_z9 · 2026-12-06
- Specular finds replayable bugs, incl. a fundamental safety issue, in formally verified code — tianyin_xu · 2026-12-06
- Orchestrator runs parallel coding agents: DeepSeek, Sol and local Qwen 35B split the work — teortaxesTex · 2026-12-06
- Engineer: Neon nails optimization with right inputs but confidently fails when inputs are missing — caglar_ee · 2026-12-06
- Grok's 2026 X Wrapped crowns 'secure agent infrastructure' as one dev's top genre — OwariDa · 2026-12-06