Datasets:
episode_id string | track string | family string | template_id string | config_id string | split string | task_id string | seed int64 | objective string | monitor_mode string | policy string | detector string | steps list | fault dict | detection dict | recovery dict | outcome dict | cost dict | meta dict | harmful bool | trace_provenance string | expected_final_state_json string | observed_final_state_json string | counterfactual_final_state_json string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tickets|A|cfg1|s0|none|no_recovery|none|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | no_recovery | none | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "none",
"inject_at": null,
"propagation_window": null,
"payload_json": "{}",
"target_tool": null,
"target_agent": null,
"recoverable": null,
"severity": null
} | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "no_fault",
"n_attempts": 0,
"actions": [],
"ttr_steps": null,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[]"
} | {
"tokens_in": 5791,
"tokens_out": 540,
"tool_payload_tokens": 120,
"latency_ms": 2271.728,
"usd": 0.02163467,
"tool_calls": 7,
"tokens_total": 6451
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | false | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|none|retry_only|rules|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | retry_only | rules | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "none",
"inject_at": null,
"propagation_window": null,
"payload_json": "{}",
"target_tool": null,
"target_agent": null,
"recoverable": null,
"severity": null
} | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "no_fault",
"n_attempts": 0,
"actions": [],
"ttr_steps": null,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[]"
} | {
"tokens_in": 5791,
"tokens_out": 540,
"tool_payload_tokens": 120,
"latency_ms": 2281.641,
"usd": 0.02163566,
"tool_calls": 7,
"tokens_total": 6451
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | false | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|none|rule_based|rules|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | rule_based | rules | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "none",
"inject_at": null,
"propagation_window": null,
"payload_json": "{}",
"target_tool": null,
"target_agent": null,
"recoverable": null,
"severity": null
} | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "no_fault",
"n_attempts": 0,
"actions": [],
"ttr_steps": null,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[]"
} | {
"tokens_in": 5791,
"tokens_out": 540,
"tool_payload_tokens": 120,
"latency_ms": 2309.253,
"usd": 0.02163843,
"tool_calls": 7,
"tokens_total": 6451
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | false | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|none|model_based|supervised|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | model_based | supervised | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "none",
"inject_at": null,
"propagation_window": null,
"payload_json": "{}",
"target_tool": null,
"target_agent": null,
"recoverable": null,
"severity": null
} | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "no_fault",
"n_attempts": 0,
"actions": [],
"ttr_steps": null,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[]"
} | {
"tokens_in": 5791,
"tokens_out": 540,
"tool_payload_tokens": 120,
"latency_ms": 2280.153,
"usd": 0.02163552,
"tool_calls": 7,
"tokens_total": 6451
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | false | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|invalid_arguments|no_recovery|none|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | no_recovery | none | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "invalid_arguments",
"inject_at": 4,
"propagation_window": 0,
"payload_json": "{\"_sig\": \"{\\\"amount_cents\\\": 2400, \\\"order_id\\\": \\\"o000\\\"}\", \"attempts\": 2, \"detail\": \"amount_cents must be int\", \"locus\": \"env\"}",
"target_tool": "issue_refund",
"target_agent": null,
"recov... | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "undetected",
"n_attempts": 0,
"actions": [],
"ttr_steps": null,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": false,
"n_violations": 1,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 1,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[\"o000: refund 0 != expected 2400\"]"
} | {
"tokens_in": 5791,
"tokens_out": 530,
"tool_payload_tokens": 110,
"latency_ms": 2293.928,
"usd": 0.02153189,
"tool_calls": 7,
"tokens_total": 6431
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | true | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 0, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 0, "status": "resolved"}}} |
tickets|A|cfg1|s0|invalid_arguments|retry_only|rules|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | retry_only | rules | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "invalid_arguments",
"inject_at": 4,
"propagation_window": 0,
"payload_json": "{\"_sig\": \"{\\\"amount_cents\\\": 2400, \\\"order_id\\\": \\\"o000\\\"}\", \"attempts\": 2, \"detail\": \"amount_cents must be int\", \"locus\": \"env\"}",
"target_tool": "issue_refund",
"target_agent": null,
"recov... | {
"step": 4,
"type": "invalid_arguments",
"score": 0.97,
"detected": true,
"latency_steps": 0,
"latency_ms": 1657.296,
"posterior_json": "{\"invalid_arguments\": 1.0}",
"n_events": 1
} | {
"outcome": "attempted_failed",
"n_attempts": 2,
"actions": [
"retry",
"retry"
],
"ttr_steps": null,
"contained": false,
"stop_reason": "repeated_failure",
"attempts_json": "[{\"action\": \"retry\", \"ok\": false, \"step\": 5}, {\"action\": \"retry\", \"ok\": false, \"step\": 6}]"
} | {
"success": false,
"n_violations": 4,
"claimed_success": false,
"retries": 2,
"tool_calls": 7,
"n_corrupted_fields": 3,
"n_downstream_fields": 0,
"detected": true,
"early_alarms": 0,
"handled_at": 4,
"violations_json": "[\"o000: status still open\", \"o000: refund 0 != expected 2400\", \"o000: st... | {
"tokens_in": 5790,
"tokens_out": 509,
"tool_payload_tokens": 89,
"latency_ms": 2498.77,
"usd": 0.02132938,
"tool_calls": 7,
"tokens_total": 6388
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | true | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": null, "refund_cents": 0, "status": "open"}}} | {"orders": {"o000": {"notification": null, "refund_cents": 0, "status": "open"}}} |
tickets|A|cfg1|s0|invalid_arguments|rule_based|rules|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | rule_based | rules | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "invalid_arguments",
"inject_at": 4,
"propagation_window": 0,
"payload_json": "{\"_sig\": \"{\\\"amount_cents\\\": 2400, \\\"order_id\\\": \\\"o000\\\"}\", \"attempts\": 2, \"detail\": \"amount_cents must be int\", \"locus\": \"env\"}",
"target_tool": "issue_refund",
"target_agent": null,
"recov... | {
"step": 4,
"type": "invalid_arguments",
"score": 0.97,
"detected": true,
"latency_steps": 0,
"latency_ms": 1650.562,
"posterior_json": "{\"invalid_arguments\": 1.0}",
"n_events": 1
} | {
"outcome": "recovered",
"n_attempts": 1,
"actions": [
"revalidate_args"
],
"ttr_steps": 3,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[{\"action\": \"revalidate_args\", \"ok\": true, \"step\": 5}]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 8,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": true,
"early_alarms": 0,
"handled_at": 4,
"violations_json": "[]"
} | {
"tokens_in": 6781,
"tokens_out": 600,
"tool_payload_tokens": 120,
"latency_ms": 2715.476,
"usd": 0.02496405,
"tool_calls": 8,
"tokens_total": 7501
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | true | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|invalid_arguments|model_based|supervised|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | model_based | supervised | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "invalid_arguments",
"inject_at": 4,
"propagation_window": 0,
"payload_json": "{\"_sig\": \"{\\\"amount_cents\\\": 2400, \\\"order_id\\\": \\\"o000\\\"}\", \"attempts\": 2, \"detail\": \"amount_cents must be int\", \"locus\": \"env\"}",
"target_tool": "issue_refund",
"target_agent": null,
"recov... | {
"step": 4,
"type": "invalid_arguments",
"score": 0.9998813359971233,
"detected": true,
"latency_steps": 0,
"latency_ms": 1657.705,
"posterior_json": "{\"communication_failure\": 0.00010844059026199965, \"contradictory_evidence\": 0.0010288412413112671, \"invalid_arguments\": 0.9969281420082657, \"object... | {
"outcome": "recovered",
"n_attempts": 1,
"actions": [
"revalidate_args"
],
"ttr_steps": 3,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[{\"action\": \"revalidate_args\", \"ok\": true, \"step\": 5}]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 8,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": true,
"early_alarms": 4,
"handled_at": 4,
"violations_json": "[]"
} | {
"tokens_in": 6781,
"tokens_out": 600,
"tool_payload_tokens": 120,
"latency_ms": 2700.841,
"usd": 0.02496258,
"tool_calls": 8,
"tokens_total": 7501
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | true | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|stale_state|no_recovery|none|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | no_recovery | none | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "stale_state",
"inject_at": 3,
"propagation_window": 3,
"payload_json": "{\"lag\": 1, \"locus\": \"env\"}",
"target_tool": "get_order",
"target_agent": null,
"recoverable": true,
"severity": 0.5
} | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "undetected",
"n_attempts": 0,
"actions": [],
"ttr_steps": 3,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[]"
} | {
"tokens_in": 5791,
"tokens_out": 540,
"tool_payload_tokens": 120,
"latency_ms": 2306.348,
"usd": 0.02163813,
"tool_calls": 7,
"tokens_total": 6451
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | false | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|stale_state|retry_only|rules|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | retry_only | rules | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "stale_state",
"inject_at": 3,
"propagation_window": 3,
"payload_json": "{\"lag\": 1, \"locus\": \"env\"}",
"target_tool": "get_order",
"target_agent": null,
"recoverable": true,
"severity": 0.5
} | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "undetected",
"n_attempts": 0,
"actions": [],
"ttr_steps": 3,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[]"
} | {
"tokens_in": 5791,
"tokens_out": 540,
"tool_payload_tokens": 120,
"latency_ms": 2295.578,
"usd": 0.02163706,
"tool_calls": 7,
"tokens_total": 6451
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | false | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|stale_state|rule_based|rules|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | rule_based | rules | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "stale_state",
"inject_at": 3,
"propagation_window": 3,
"payload_json": "{\"lag\": 1, \"locus\": \"env\"}",
"target_tool": "get_order",
"target_agent": null,
"recoverable": true,
"severity": 0.5
} | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "undetected",
"n_attempts": 0,
"actions": [],
"ttr_steps": 3,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[]"
} | {
"tokens_in": 5791,
"tokens_out": 540,
"tool_payload_tokens": 120,
"latency_ms": 2307.958,
"usd": 0.0216383,
"tool_calls": 7,
"tokens_total": 6451
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | false | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|stale_state|model_based|supervised|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | model_based | supervised | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "stale_state",
"inject_at": 3,
"propagation_window": 3,
"payload_json": "{\"lag\": 1, \"locus\": \"env\"}",
"target_tool": "get_order",
"target_agent": null,
"recoverable": true,
"severity": 0.5
} | {
"step": 3,
"type": "objective_drift",
"score": 0.9024106313139896,
"detected": true,
"latency_steps": 0,
"latency_ms": 1254.312,
"posterior_json": "{\"communication_failure\": 0.03011130610808952, \"contradictory_evidence\": 0.14814753346912835, \"invalid_arguments\": 0.05766352484138479, \"objective_dr... | {
"outcome": "recovered",
"n_attempts": 2,
"actions": [
"reanchor_objective",
"replan"
],
"ttr_steps": 9,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[{\"action\": \"reanchor_objective\", \"ok\": true, \"step\": 4}, {\"action\": \"replan\", \"ok\": true, \"step\": 5}]"... | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 13,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": true,
"early_alarms": 3,
"handled_at": 3,
"violations_json": "[]"
} | {
"tokens_in": 12301,
"tokens_out": 1051,
"tool_payload_tokens": 271,
"latency_ms": 4154.98,
"usd": 0.0445435,
"tool_calls": 13,
"tokens_total": 13623
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | false | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
tickets|A|cfg1|s0|contradictory_evidence|no_recovery|none|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | no_recovery | none | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "contradictory_evidence",
"inject_at": 3,
"propagation_window": 4,
"payload_json": "{\"field\": \"refunded_cents\", \"locus\": \"env\", \"planted\": 500}",
"target_tool": "get_order",
"target_agent": null,
"recoverable": true,
"severity": 0.6
} | {
"step": null,
"type": null,
"score": 0,
"detected": false,
"latency_steps": null,
"latency_ms": null,
"posterior_json": "{}",
"n_events": 0
} | {
"outcome": "undetected",
"n_attempts": 0,
"actions": [],
"ttr_steps": null,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": false,
"n_violations": 1,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 1,
"n_downstream_fields": 0,
"detected": false,
"early_alarms": 0,
"handled_at": null,
"violations_json": "[\"o000: refund 1900 != expected 2400\"]"
} | {
"tokens_in": 5791,
"tokens_out": 541,
"tool_payload_tokens": 121,
"latency_ms": 2285.091,
"usd": 0.02164651,
"tool_calls": 7,
"tokens_total": 6453
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | true | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 1900, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 1900, "status": "resolved"}}} |
tickets|A|cfg1|s0|contradictory_evidence|retry_only|rules|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | retry_only | rules | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "contradictory_evidence",
"inject_at": 3,
"propagation_window": 4,
"payload_json": "{\"field\": \"refunded_cents\", \"locus\": \"env\", \"planted\": 500}",
"target_tool": "get_order",
"target_agent": null,
"recoverable": true,
"severity": 0.6
} | {
"step": 3,
"type": "contradictory_evidence",
"score": 0.93,
"detected": true,
"latency_steps": 0,
"latency_ms": 1233.063,
"posterior_json": "{\"contradictory_evidence\": 1.0}",
"n_events": 1
} | {
"outcome": "attempted_failed",
"n_attempts": 0,
"actions": [],
"ttr_steps": null,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[]"
} | {
"success": false,
"n_violations": 1,
"claimed_success": true,
"retries": 0,
"tool_calls": 7,
"n_corrupted_fields": 1,
"n_downstream_fields": 0,
"detected": true,
"early_alarms": 0,
"handled_at": 3,
"violations_json": "[\"o000: refund 1900 != expected 2400\"]"
} | {
"tokens_in": 5791,
"tokens_out": 541,
"tool_payload_tokens": 121,
"latency_ms": 2313.386,
"usd": 0.02164934,
"tool_calls": 7,
"tokens_total": 6453
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | true | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 1900, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 1900, "status": "resolved"}}} |
tickets|A|cfg1|s0|contradictory_evidence|rule_based|rules|instrumented|ctl|short | single | tickets | A | cfg1 | train | tickets-A-cfg1-0 | 0 | Resolve every ticket by applying the written refund policy exactly: the refund amount must equal the policy-computed amount, the status must match the policy, and the customer must be notified. Do not maximise refund volume. | instrumented | rule_based | rules | [
{
"index": 0,
"agent": "solo",
"tool": "get_order",
"ok": true,
"error_code": null,
"state_version": 1,
"expected_matches": true,
"retry_index": 0,
"signals": {
"_stale_flag": 0,
"_conflict_flag": 0,
"_message_lost": 0,
"err_schema": 0,
"err_schema_r... | {
"type": "contradictory_evidence",
"inject_at": 3,
"propagation_window": 4,
"payload_json": "{\"field\": \"refunded_cents\", \"locus\": \"env\", \"planted\": 500}",
"target_tool": "get_order",
"target_agent": null,
"recoverable": true,
"severity": 0.6
} | {
"step": 3,
"type": "contradictory_evidence",
"score": 0.93,
"detected": true,
"latency_steps": 0,
"latency_ms": 1248.863,
"posterior_json": "{\"contradictory_evidence\": 1.0}",
"n_events": 1
} | {
"outcome": "recovered",
"n_attempts": 2,
"actions": [
"re_read_authoritative",
"replan"
],
"ttr_steps": 9,
"contained": false,
"stop_reason": "plan exhausted",
"attempts_json": "[{\"action\": \"re_read_authoritative\", \"ok\": true, \"step\": 4}, {\"action\": \"replan\", \"ok\": true, \"step\"... | {
"success": true,
"n_violations": 0,
"claimed_success": true,
"retries": 0,
"tool_calls": 13,
"n_corrupted_fields": 0,
"n_downstream_fields": 0,
"detected": true,
"early_alarms": 0,
"handled_at": 3,
"violations_json": "[]"
} | {
"tokens_in": 12301,
"tokens_out": 1051,
"tool_payload_tokens": 271,
"latency_ms": 4327.982,
"usd": 0.0445608,
"tool_calls": 13,
"tokens_total": 13623
} | {
"fault_source": "controlled",
"competence": 1,
"horizon": 6,
"split": "train",
"env_task_json": "{\"config_id\": \"cfg1\", \"family\": \"tickets\", \"horizon\": 6, \"params\": {\"config\": {\"concurrency\": 0.0, \"drift_strength\": 1.0, \"n_skus\": 0, \"noise\": 0.05}, \"horizon_class\": \"short\", \"n_orde... | true | controlled | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} | {"orders": {"o000": {"notification": "confirmed", "refund_cents": 2400, "status": "resolved"}}} |
Dataset Card — Agent Recovery Bench (ARB)
Dataset summary
ARB measures whether agent failures are detected early and recovered from reliably in multi-step tool-using and multi-agent workflows. Each row is one episode: a task, a scheduled (or agent-generated) fault, a monitor, and a recovery policy, with the full trajectory and the grader-verified outcome.
ARB extends failure counting into failure handling. It is not a task-success leaderboard: the unit of analysis is a fault inside a task, with a matched fault-free twin, and success is read from world state rather than from the agent's report.
- Curated by: ARB authors (single lab, synthetic)
- Language: English (tool payloads and objectives)
- License: MIT for the data and harness
- Repo: this project; harness in
arb/
Supported tasks
Four deterministic tool environments:
| Family | Track | Domain | Verifiable outcome |
|---|---|---|---|
tickets |
single | refund desk | refund total and status match policy arithmetic |
migration |
single | dual-store migration | every source record present and equal in the target |
inventory |
single | accounting | on_hand + Σ adjustments == ledger for every SKU, period closed |
procurement |
multi (planner/buyer/verifier) | purchasing | order state and quantities agree across all three roles |
Seven failure classes: invalid_arguments, stale_state, contradictory_evidence,
planning_error, communication_failure, objective_drift,
unrecoverable_external_error. See docs/taxonomy.md.
Languages
Tool payloads and objectives are English JSON/text. No natural-language dialogue; the "user" is a scripted workflow, not a chat partner.
How to load
Episodes and steps are separate configs, not two splits: datasets requires every
split of one DatasetDict to share a single Arrow schema, and a step table has a different
shape from an episode table.
from datasets import load_dataset
episodes = load_dataset("<user>/agent-recovery-bench", "episodes", split="train")
steps = load_dataset("<user>/agent-recovery-bench", "steps", split="train")
llm = load_dataset("<user>/agent-recovery-bench", "llm", split="train")
# or from local files, no hub access:
episodes = load_dataset("parquet", data_files="episodes/arb_dataset.parquet", split="train")
Parquet is the canonical artifact (typed and self-describing). A JSONL mirror of each config ships alongside it, one JSON object per line, for grepping and for tools that prefer line-delimited input.
Free-form fields are JSON strings
Tool payloads, projected state, fault payloads, detector posteriors, attempt lists and
step-level label lists differ in shape between tools, families and failure classes. A
formatted dataset needs one schema, so those subtrees are stored as JSON strings with a
_json suffix (args_json, data_json, expected_state_json, observed_state_json,
expected_final_state_json, payload_json, posterior_json, attempts_json,
violations_json, labels_json, env_task_json, price_sheet_json,
policy_config_json). Every field the protocol scores stays a native scalar.
import json
state = json.loads(episodes[0]["steps"][0]["observed_state_json"])
labels = json.loads(episodes[0]["meta"]["labels_json"])
Dataset structure
episodes/arb_dataset.parquet (JSONL mirror arb_dataset.jsonl) — one row per episode
| Field | Type | Description |
|---|---|---|
episode_id |
string | family|template|config|s<seed>|fault|policy|detector|mode|src|horizon |
family, track, template_id, config_id, split, seed |
task identity | |
policy, detector, monitor_mode |
string | which system produced the trace |
steps |
list | tool-call sequence (see below) |
fault |
object | {type, inject_at, payload, propagation_window} or null |
detection |
object | {step, type, score, detected, latency_steps, latency_ms, posterior} |
recovery |
object | {attempts, outcome, n_attempts, actions, ttr_steps, contained, stop_reason} |
outcome |
object | {success, violations, claimed_success, retries, tool_calls, n_corrupted_fields, n_downstream_fields, detected, handled_at} |
cost |
object | {tokens_in, tokens_out, tool_payload_tokens, tokens_total, latency_ms, usd, tool_calls} |
expected_final_state, observed_final_state, counterfactual_final_state |
object | grader view |
meta |
object | labels, fault_source, competence, horizon, price_sheet, env_task |
harmful |
bool | added by build_dataset.py: task fails under no recovery |
Each entry of steps
index, agent, tool, args, ok, error_code, data, state_version,
expected_state, observed_state, expected_matches, retry_index,
signals, tokens_in, tokens_out, tool_payload_tokens, latency_ms, usd.
expected_state_json is the projection the world would show if the intended action took
effect; observed_state_json is what the tool actually returned. Their difference is the
per-step failure signal; expected_matches is the boolean form.
steps/arb_steps.parquet (JSONL mirror arb_steps.jsonl)
The same data flattened to one row per step, with episode_id, t, label and the
episode's fault/policy attached. Use this for step-level detection modelling.
mini/arb_mini.parquet (JSONL mirror arb_mini.jsonl)
A 120-episode subset for tutorials and CI. Same schema as episodes.
llm/arb_llm.parquet (JSONL mirror arb_llm.jsonl) — the LLM-controller arm
240 episodes with policy: "llm_based": the rules detector raises the alarm, and a local
qwen2.5-coder:7b chooses one of the nine operators from a prompt carrying only the
detector's posterior, the monitor feature vector and the operator menu. Same schema as
episodes, one row per harmful (task, fault) pair sampled round-robin over failure class
and family. meta.policy_config records the model, the temperature and that the reply
came from the prompt-hash cache; recovery.actions is the operator the model picked.
These are the 240 episodes behind the paper's LLM result (27.5% recovery vs 60.8% for the
canonical mapping on identical pairs). They are a separate config because they are a
different, smaller sample than episodes: a controller comparison, not the full grid.
Statistics in llm/build_stats.json. To audit a decision, read detection.posterior,
the operator in recovery.actions, and the step-by-step expected_state vs
observed_state diff that produced it.
Dataset creation
Deterministic generation, no human annotation, no web scraping.
- Tasks. (family, template, configuration, seed). Templates A/B are seen during
fitting; template C is held out entirely (
test_ood);cfg6is an unseen configuration (test_id);cfg5is dev;cfg1–3are train. - Faults. Injected by an explicit program per class, with
inject_ataligned to the step that calls the targeted tool (last read, or first mutation), so a scheduled fault is always exercised. - Screening. Every (task, fault) pair is run with no recovery. Pairs where the task
still succeeds (23.5% in the main grid) are inert and excluded from detection and
recovery denominators. They are kept in the released data with
harmful: false. - Policies.
no_recovery,retry_only,rule_based,model_basedrun on the same pairs with the same seeds. - Verification. Outcome is the environment's grade of the final world against the
goal state. The agent's own success claim is stored separately in
outcome.claimed_successand never used for scoring. - LLM arm. The
llmconfig is exported byscripts/build_llm_dataset.py, which replays the exact sampled pairs through the harness with every reply taken fromresults/llm_cache.jsonl. It refuses to write if a prompt is missing from the cache or if the replay's recovery rate disagrees withresults/llm_agent.json, so the published rows are the scored run rather than a re-sample.
Reference agents
Scripted workflow executors with a known standard operating procedure and no oracle access. Every tool argument is derived from that role's belief, i.e. from observations it actually received. This is what makes stale reads and dropped messages physically damaging rather than cosmetic.
Personal and sensitive information
None. All entities are synthetic (SKU numbers, ticket ids, order ids). No real customers, orders, refunds, or migrations. No PII, no scraped text.
Considerations for using the data
Simulation, not production. Every environment is deterministic Python. Real tools are partially observable, non-deterministic and slow; real failures correlate with load, version skew and human behaviour. ARB supports claims about relative reliability under controlled faults. It does not support claims about production recovery rates.
Scripted agents. The reference agents are scripted, not LLM agents. The released numbers characterise the harness and the fault set, not any deployed model. Adding an LLM agent is a configuration change, not a redesign.
Harm screening induces selection. Retaining only harmful pairs biases the set toward faults with large downstream reach. Reported recovery is therefore "of harmful faults", which is the honest denominator for repair but is not the average over all injections.
Self-report is not ground truth. Do not score an episode from claimed_success, from
the transcript, or with an LLM judge reading the trajectory. In the release, 38.4% of
success claims are false.
Off-policy data. Recovery actions in the data were chosen by the four policies, not explored. Training a policy on them inherits that confounding; see the paper's negative result for the learned ranker.
Maintenance
Generated by scripts/build_dataset.py; statistics in data/build_stats.json. The
harness version, price-sheet version and dataset revision must be pinned together for any
comparison.
Citation
See the repository README.
- Downloads last month
- 419