This work calls for failure prediction that explains why a run fails, evaluated on repeated-run benchmarks and in closed-loop, equal-budget settings.
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.
Results show that failure prediction should be evaluated not only by outcome accuracy, but by whether the captured signal supports the intended deployment decision.
Mohsen EsfandyariDoulabi, L. Arkoh, Biruk Tadesse et al.· 3 citations
StopLoss, a small external monitor that learns failure recognition from completed trajectories and their verifier outcomes, is introduced, inspired by the stop-loss order in finance, to make failure recognition cheap enough for early stopping to pay for itself.
Jia-Rong Liang, Xue-Guang Ma, Dongfu Jiang et al.· 0 citations
Long-running agents sometimes stop without a valid task outcome because a provider, runtime, or harness failed rather than the agent. Benchmarks then score such runs as failures or drop them. We treat this as a missing-data problem. When infrastructure failures are independent of the agent, both policies are closed-for...
Shilin Chhabra· Proceedings of the AAAI Symp...· 0 citations
Chronicle is presented, which records an agent run at its non-deterministic boundaries as immutable envelopes and replays it from the record, and its central operation, cut-point replay, serves a chosen subset of boundaries from the record and executes the complementary subset live with new code, turning a recorded inc...
CART turns red teaming from a one-time checklist into a continuous, adaptive, and auditable search for model and agent weaknesses, suggesting that contextual adaptation can reveal weaknesses that direct prompt replay does not exercise.
A tool-using language model must decide whether to retry a failed call, correct it, or stop and tell the user. The error text alone may not be enough: the same feedback can lead to different actions depending on where it appears in the conversation. We isolate this delivery problem by varying placement, guidance, retai...
Sunghyeun Woo, Javier Conde, P. Reviriego· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.