name stringlengths 9 26 | category stringlengths 5 14 | description stringlengths 47 74 | onset_step int64 2 9 ⌀ | is_healthy bool 2
classes | deterministically_detectable bool 2
classes | affected_steps listlengths 0 2 | events listlengths 3 11 |
|---|---|---|---|---|---|---|---|
tool_exit_code | tool_execution | a build step fails and the run continues on a broken tree | 5 | false | true | [
8
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
tool_timeout | tool_execution | a slow command times out and its output is never produced | 4 | false | true | [
7
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
blocked_action | safety | a destructive command is refused by policy and the task cannot finish | 3 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
model_error | planning | the provider rejects a call and the agent proceeds without a plan | 2 | false | true | [
5,
7
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
truncated_plan | planning | a plan is cut off by the length limit and the agent acts on half of it | 2 | false | true | [
4,
6
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
retry_storm | control_flow | one failing call is retried four times without changing anything | 2 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
tool_loop | control_flow | the same command with identical arguments runs four times | 2 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
state_flapping | state | two steps disagree about whether the migration ran | 2 | false | true | [
7
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
stale_memory | memory | a deploy target recalled from an old session is no longer valid | 3 | false | true | [
5
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
incomplete_handoff | handoff | a sub-agent is given a task without the branch it should work on | 2 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
unsupported_claim | reasoning | the agent asserts the fix works with nothing backing it | 4 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
contradicted_claim | reasoning | the agent asserts success while the evidence says otherwise | 3 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
outcome_mismatch | outcome | the run reports success while a step plainly failed | 3 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
interrupted_run | outcome | the process is killed before it can report an outcome | 6 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
missing_run_start | goal_input | the stream begins mid-run, so the task is unknown | 6 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_04",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 4,
"timestamp": "2026-07-30T09:00:04Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "tool_call... |
trace_gap | validation | events are missing, so any conclusion is drawn over a hole | 9 | false | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
early_failure_late_symptom | tool_execution | the run breaks at step 4 but nothing visible happens until step 20 | 4 | false | true | [
20
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
two_failures_earliest_wins | tool_execution | two steps fail; the earlier one is where the run went wrong | 5 | false | true | [
9,
12
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
silent_wrong_config | tool_selection | a write succeeds but stores the wrong environment; nothing looks anomalous | 4 | false | false | [
14
] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
healthy_run | outcome | a clean run that must produce no finding at all | null | true | true | [] | [
{
"schema_version": "0.2",
"event_id": "evt_00",
"run_id": "run_case",
"agent_id": "main",
"parent_id": null,
"sequence": 0,
"timestamp": "2026-07-30T09:00:00Z",
"state_delta": {},
"security": {
"redacted": false,
"contains_secret": false
},
"kind": "run_start... |
Runopsy-Bench
Twenty labelled agent traces for measuring failure-onset localization: given a run that went wrong, which step did it start going wrong at — not which step it stopped at.
Produced for Runopsy, an open-source causal failure
analysis engine for agent runs. pip install runopsy.
Read this first: these traces are synthetic
Every case here was generated, not recorded. They are single-fault traces written to exercise a specific failure mode, with the onset declared by construction rather than judged by a person.
That makes them useful for one thing and useless for another:
- Useful for regression testing and for comparing localization strategies on a fixed, reproducible set. The same code always produces the same numbers.
- Useless as evidence that a tool saves anyone time on real work. A benchmark whose author also wrote the engine measures agreement with its own assumptions.
If you want human-labelled traces of real agents, use TRAIL or Who&When instead. Runopsy scores 0.0% on both, and that result is published alongside its 94.4% here — see Results below.
Format
One JSON object per line in runopsy_bench.jsonl:
| field | meaning |
|---|---|
name |
case identifier |
category |
failure taxonomy class (tool_execution, state, handoff, …) |
description |
what the case is meant to represent |
onset_step |
the ground truth: sequence number where it started going wrong, or null for the healthy case |
affected_steps |
steps the onset plausibly reached |
is_healthy |
true for the one case with nothing wrong, used to measure false positives |
deterministically_detectable |
whether structural analysis alone can reach it |
events |
the trace, as OpenInference-compatible typed events |
Events carry run_start, tool_call, llm_call, state_snapshot, memory_op, claim,
handoff and run_end kinds with hashes rather than payload text.
Results
Measured with runopsy bench --compare, reproducible offline:
| strategy | top-1 | top-3 | mean step distance |
|---|---|---|---|
| no diagnosis | 0.0% | 0.0% | — |
| blame the last failing step (what reading a log achieves) | 22.2% | 44.4% | 3.50 |
| blame the earliest failing step | 50.0% | 50.0% | 1.31 |
| Runopsy deterministic engine | 94.4% | 100.0% | 0.11 |
False positive rate on the healthy case: 0.0%.
Where the same engine fails, on labelled traces somebody else annotated:
| benchmark | onset top-1 |
|---|---|
| TRAIL (expert-labelled SWE-Bench agent traces) | 0.0% |
| Who&When (expert-labelled multi-agent traces) | 0.0% |
On TRAIL, not one of the 30 annotated onsets carries an error status of any kind — they are formatting mistakes, instruction non-compliance, a wrong assumption about a file path. Runopsy's deterministic layers read exit codes and tool statuses, so they are blind to those by construction. The 94.4% above is on traces where the onset was itself a failure. Both numbers belong on the same page.
Loading
import json
cases = [json.loads(line) for line in open("runopsy_bench.jsonl", encoding="utf-8")]
print(cases[0]["onset_step"], len(cases[0]["events"]))
Or with the tool that produced it:
pip install runopsy
runopsy bench --compare # reproduces the table above
Licence and citation
Apache-2.0.
@software{feryad_runopsy,
author = {Feryad, Vahit},
title = {Runopsy: causal failure analysis for AI agent runs},
url = {https://github.com/vahit19/runopsy},
orcid = {0000-0002-3282-339X}
}
- Downloads last month
- -