RegalFire commited on
Commit
1f45ad3
·
verified ·
1 Parent(s): a6e2a06

Link Windway community research without changing source data or license

Browse files
Files changed (1) hide show
  1. README.md +145 -136
README.md CHANGED
@@ -1,136 +1,145 @@
1
- ---
2
- pretty_name: Agent Failure Recovery Benchmark — 22,573 Verified Trajectories
3
- license: mit
4
- language:
5
- - en
6
- task_categories:
7
- - reinforcement-learning
8
- - text-generation
9
- tags:
10
- - agents
11
- - agentic-ai
12
- - benchmark
13
- - evaluation
14
- - reasoning
15
- - trajectories
16
- - failure-recovery
17
- - reinforcement-learning
18
- - synthetic-data
19
- - verified
20
- - planning
21
- - multi-agent
22
- - text
23
- size_categories:
24
- - 10K<n<100K
25
- configs:
26
- - config_name: default
27
- data_files:
28
- - split: train
29
- path: data/train.parquet
30
- - split: validation
31
- path: data/validation.parquet
32
- - split: test
33
- path: data/test.parquet
34
- - split: holdout
35
- path: data/holdout.parquet
36
- ---
37
-
38
- # Agent Failure Recovery Benchmark
39
-
40
- **22,573 synthetic, source-verified failure → recovery trajectories across four domains.**
41
- Evaluate whether a system can reject a failed plan, choose a recovery, or recognize that no recovery exists. Every row links to a hashed record in a pinned public source and is checked by independent computational oracles and trajectory replay.
42
-
43
- **Tasks:** failure diagnosis, recovery-action prediction, planning regression, scoped agent evaluation and imitation learning.
44
-
45
- **Limits:** controlled harness errors, not real agent logs; small template diversity; public answers; no measured model performance. Physics rows correct predictions rather than perform physical interventions. Planning rows verify one next step, not full task completion.
46
-
47
- ```python
48
- from datasets import load_dataset
49
- import json
50
- ds = load_dataset("RegalFire/Agent-Failure-Recovery-Benchmark")
51
- row = ds["test"][0]
52
- failure = json.loads(row["failure_state"])
53
- recovery = json.loads(row["recovery_action"])
54
- ```
55
-
56
- ## Coverage
57
-
58
- | Domain | Records | Failure and recovery contract |
59
- |---|---:|---|
60
- | Navigation | 8,000 | A critical grid edit blocks a legacy path; replan optimally or report unreachable |
61
- | Multi-agent | 8,000 | A premature stop fails the goal; recover with a collision-free optimal joint plan or report infeasible |
62
- | Counterfactual physics | 6,000 | An inconsistent prediction is rejected; replace it with the analytical transition |
63
- | Planning | 573 | A wrong available policy action is rejected; apply the independently verified next step |
64
-
65
- Includes recoverable and unrecoverable cases. There are 27 domain-specific task families and 23 connected source/template groups. See `stats.json` for exact family counts.
66
-
67
- ## A trajectory at a glance
68
-
69
- ```text
70
- initial state → rejected action / prediction → failure state
71
- → verified recovery (or no recovery) → final state
72
- ```
73
-
74
- Each record provides `initial_state`, `goal`, `action_history`, `failure_state`, `failure_type`, `recovery_available`, `recovery_action`, `recovery_sequence`, `final_state`, `success`, `cost_or_steps`, `oracle`, `provenance`, `group_id`, and `split`. Four complete examples are in [samples/examples.jsonl](samples/examples.jsonl).
75
-
76
- ## Viewer and formats
77
-
78
- The default configuration uses Zstandard Parquet. Heterogeneous object/list columns are **losslessly encoded JSON strings**, including JSON `null` for absent recovery actions. Decode them with `json.loads`; see `serialization.json` for the exact columns. This avoids incompatible nested Arrow schemas across domains.
79
-
80
- Original nested records remain in `dataset.jsonl` and the four root split JSONL files. Use plain Python to read those; the default Hub loader uses Parquet. Samples are examples of existing rows, not additional data.
81
-
82
- ## Evaluation without answer leakage
83
-
84
- Run `python evaluate.py make-prompts test prompts.jsonl`, give only those prompts to your system, then save predictions as one JSON object per line:
85
-
86
- ```json
87
- {"id":"<record id>","recovery_available":true,"recovery_action":{"action":"<predicted action>"}}
88
- ```
89
-
90
- Run `python evaluate.py score test predictions.jsonl`. It reports availability accuracy and strict recovery-action exact match, overall and per domain. Missing predictions count as failures; unknown/duplicate IDs are rejected. **Exact match can penalize alternative equally valid paths/plans.** It is a reproducible baseline, not a semantic trajectory judge or a model-performance claim. The independent validator verifies dataset truth, separately from this baseline scorer.
91
-
92
- Prompt exports exclude reference recovery, final state, oracle and provenance. Public split labels are still visible, so this is an exposed regression benchmark, not a secret evaluation.
93
-
94
- ## Validation you can rerun
95
-
96
- ```bash
97
- pip install -r requirements.txt
98
- python validator/validate.py .
99
- python validator/check_package.py
100
- ```
101
-
102
- The first command checks all 22,573 records: strict JSON, schema, identity, exact semantic deduplication, source file and row hashes, source relations, source oracles, failure/recovery contracts, recovery witnesses, and grouped split partitioning. It does not import a builder. Pinned ancestors require network access or a populated Hugging Face cache; credentials are unnecessary.
103
-
104
- The second independently compares decoded Parquet with original rows and deliberately corrupts ten trajectory fields in each of four domains. All 40 corruptions must be rejected. Reports: `validation_report.json`, `package_validation.json`; prior release tests are retained in `robustness_report.json`.
105
-
106
- ## Splits and limitations
107
-
108
- | Split | Rows |
109
- |---|---:|
110
- | train | 15,150 |
111
- | validation | 1,200 |
112
- | test | 165 |
113
- | holdout | 6,058 |
114
-
115
- Splits retain whole task-template families and connected grid groups. The uneven sizes and small test split are intentional consequences of grouping; validation and holdout should also be evaluated separately. Master seeds identify generation runs, not independent task seeds. These are template-held-out splits, not fresh-seed independence experiments. Exhaustive semantic near-duplicate detection is not claimed.
116
-
117
- Real agents may fail in ways absent here. No browser/tool/API error traces, measured model leaderboard, real-world outcomes, contamination-free evaluation, or reinforcement-learning environment implementation are provided. Successful recovery means the narrow contract described above.
118
-
119
- ## Provenance and license
120
-
121
- This release packages an existing verified RegalFire asset; it adds **zero new trajectories**. The previous release is pinned in `PACKAGE_PROVENANCE.json`. `SOURCE_LOCK.json` pins four MIT source datasets and file hashes:
122
-
123
- - [GameNav-CriticalEdits-25K](https://huggingface.co/datasets/RegalFire/GameNav-CriticalEdits-25K)
124
- - [GameCoord-JointPlans-25K](https://huggingface.co/datasets/RegalFire/GameCoord-JointPlans-25K)
125
- - [GamePhysics-Counterfactuals-100K](https://huggingface.co/datasets/RegalFire/GamePhysics-Counterfactuals-100K)
126
- - [GameAgent-Horizon-120K](https://huggingface.co/datasets/RegalFire/GameAgent-Horizon-120K)
127
-
128
- Per-row provenance retains source ID, source hash, transformation and license. No unverified Bionic input was added. Do not count these rows and their source ancestors as independent examples. This dataset contains synthetic MIT rows; no scientific community/CC BY-SA content is present. Preserve `LICENSE`, `THIRD_PARTY_LICENSES.md` and validator notices.
129
-
130
- ## Custom / Private Dataset Work
131
-
132
- RegalFire builds custom AI datasets, evaluation sets and reproducible data pipelines for research and production systems.
133
- Contact: ootiris@gmail.com
134
- Hugging Face: [RegalFire](https://huggingface.co/RegalFire)
135
-
136
- Private adaptation can include client-owned environments, new failure contracts, independent validators and private holdout sets. Public source adaptations remain public-license material.
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Agent Failure Recovery Benchmark — 22,573 Verified Trajectories
3
+ license: mit
4
+ language:
5
+ - en
6
+ task_categories:
7
+ - reinforcement-learning
8
+ - text-generation
9
+ tags:
10
+ - agents
11
+ - agentic-ai
12
+ - benchmark
13
+ - evaluation
14
+ - reasoning
15
+ - trajectories
16
+ - failure-recovery
17
+ - reinforcement-learning
18
+ - synthetic-data
19
+ - verified
20
+ - planning
21
+ - multi-agent
22
+ - text
23
+ size_categories:
24
+ - 10K<n<100K
25
+ configs:
26
+ - config_name: default
27
+ data_files:
28
+ - split: train
29
+ path: data/train.parquet
30
+ - split: validation
31
+ path: data/validation.parquet
32
+ - split: test
33
+ path: data/test.parquet
34
+ - split: holdout
35
+ path: data/holdout.parquet
36
+ ---
37
+
38
+ # Agent Failure Recovery Benchmark
39
+
40
+ **22,573 synthetic, source-verified failure → recovery trajectories across four domains.**
41
+ Evaluate whether a system can reject a failed plan, choose a recovery, or recognize that no recovery exists. Every row links to a hashed record in a pinned public source and is checked by independent computational oracles and trajectory replay.
42
+
43
+ **Tasks:** failure diagnosis, recovery-action prediction, planning regression, scoped agent evaluation and imitation learning.
44
+
45
+ **Limits:** controlled harness errors, not real agent logs; small template diversity; public answers; no measured model performance. Physics rows correct predictions rather than perform physical interventions. Planning rows verify one next step, not full task completion.
46
+
47
+ ```python
48
+ from datasets import load_dataset
49
+ import json
50
+ ds = load_dataset("RegalFire/Agent-Failure-Recovery-Benchmark")
51
+ row = ds["test"][0]
52
+ failure = json.loads(row["failure_state"])
53
+ recovery = json.loads(row["recovery_action"])
54
+ ```
55
+
56
+ ## Coverage
57
+
58
+ | Domain | Records | Failure and recovery contract |
59
+ |---|---:|---|
60
+ | Navigation | 8,000 | A critical grid edit blocks a legacy path; replan optimally or report unreachable |
61
+ | Multi-agent | 8,000 | A premature stop fails the goal; recover with a collision-free optimal joint plan or report infeasible |
62
+ | Counterfactual physics | 6,000 | An inconsistent prediction is rejected; replace it with the analytical transition |
63
+ | Planning | 573 | A wrong available policy action is rejected; apply the independently verified next step |
64
+
65
+ Includes recoverable and unrecoverable cases. There are 27 domain-specific task families and 23 connected source/template groups. See `stats.json` for exact family counts.
66
+
67
+ ## A trajectory at a glance
68
+
69
+ ```text
70
+ initial state → rejected action / prediction → failure state
71
+ → verified recovery (or no recovery) → final state
72
+ ```
73
+
74
+ Each record provides `initial_state`, `goal`, `action_history`, `failure_state`, `failure_type`, `recovery_available`, `recovery_action`, `recovery_sequence`, `final_state`, `success`, `cost_or_steps`, `oracle`, `provenance`, `group_id`, and `split`. Four complete examples are in [samples/examples.jsonl](samples/examples.jsonl).
75
+
76
+ ## Viewer and formats
77
+
78
+ The default configuration uses Zstandard Parquet. Heterogeneous object/list columns are **losslessly encoded JSON strings**, including JSON `null` for absent recovery actions. Decode them with `json.loads`; see `serialization.json` for the exact columns. This avoids incompatible nested Arrow schemas across domains.
79
+
80
+ Original nested records remain in `dataset.jsonl` and the four root split JSONL files. Use plain Python to read those; the default Hub loader uses Parquet. Samples are examples of existing rows, not additional data.
81
+
82
+ ## Evaluation without answer leakage
83
+
84
+ Run `python evaluate.py make-prompts test prompts.jsonl`, give only those prompts to your system, then save predictions as one JSON object per line:
85
+
86
+ ```json
87
+ {"id":"<record id>","recovery_available":true,"recovery_action":{"action":"<predicted action>"}}
88
+ ```
89
+
90
+ Run `python evaluate.py score test predictions.jsonl`. It reports availability accuracy and strict recovery-action exact match, overall and per domain. Missing predictions count as failures; unknown/duplicate IDs are rejected. **Exact match can penalize alternative equally valid paths/plans.** It is a reproducible baseline, not a semantic trajectory judge or a model-performance claim. The independent validator verifies dataset truth, separately from this baseline scorer.
91
+
92
+ Prompt exports exclude reference recovery, final state, oracle and provenance. Public split labels are still visible, so this is an exposed regression benchmark, not a secret evaluation.
93
+
94
+ ## Validation you can rerun
95
+
96
+ ```bash
97
+ pip install -r requirements.txt
98
+ python validator/validate.py .
99
+ python validator/check_package.py
100
+ ```
101
+
102
+ The first command checks all 22,573 records: strict JSON, schema, identity, exact semantic deduplication, source file and row hashes, source relations, source oracles, failure/recovery contracts, recovery witnesses, and grouped split partitioning. It does not import a builder. Pinned ancestors require network access or a populated Hugging Face cache; credentials are unnecessary.
103
+
104
+ The second independently compares decoded Parquet with original rows and deliberately corrupts ten trajectory fields in each of four domains. All 40 corruptions must be rejected. Reports: `validation_report.json`, `package_validation.json`; prior release tests are retained in `robustness_report.json`.
105
+
106
+ ## Splits and limitations
107
+
108
+ | Split | Rows |
109
+ |---|---:|
110
+ | train | 15,150 |
111
+ | validation | 1,200 |
112
+ | test | 165 |
113
+ | holdout | 6,058 |
114
+
115
+ Splits retain whole task-template families and connected grid groups. The uneven sizes and small test split are intentional consequences of grouping; validation and holdout should also be evaluated separately. Master seeds identify generation runs, not independent task seeds. These are template-held-out splits, not fresh-seed independence experiments. Exhaustive semantic near-duplicate detection is not claimed.
116
+
117
+ Real agents may fail in ways absent here. No browser/tool/API error traces, measured model leaderboard, real-world outcomes, contamination-free evaluation, or reinforcement-learning environment implementation are provided. Successful recovery means the narrow contract described above.
118
+
119
+ ## Provenance and license
120
+
121
+ This release packages an existing verified RegalFire asset; it adds **zero new trajectories**. The previous release is pinned in `PACKAGE_PROVENANCE.json`. `SOURCE_LOCK.json` pins four MIT source datasets and file hashes:
122
+
123
+ - [GameNav-CriticalEdits-25K](https://huggingface.co/datasets/RegalFire/GameNav-CriticalEdits-25K)
124
+ - [GameCoord-JointPlans-25K](https://huggingface.co/datasets/RegalFire/GameCoord-JointPlans-25K)
125
+ - [GamePhysics-Counterfactuals-100K](https://huggingface.co/datasets/RegalFire/GamePhysics-Counterfactuals-100K)
126
+ - [GameAgent-Horizon-120K](https://huggingface.co/datasets/RegalFire/GameAgent-Horizon-120K)
127
+
128
+ Per-row provenance retains source ID, source hash, transformation and license. No unverified Bionic input was added. Do not count these rows and their source ancestors as independent examples. This dataset contains synthetic MIT rows; no scientific community/CC BY-SA content is present. Preserve `LICENSE`, `THIRD_PARTY_LICENSES.md` and validator notices.
129
+
130
+ ## Custom / Private Dataset Work
131
+
132
+ RegalFire builds custom AI datasets, evaluation sets and reproducible data pipelines for research and production systems.
133
+ Contact: ootiris@gmail.com
134
+ Hugging Face: [RegalFire](https://huggingface.co/RegalFire)
135
+
136
+ Private adaptation can include client-owned environments, new failure contracts, independent validators and private holdout sets. Public source adaptations remain public-license material.
137
+
138
+
139
+ ## Windway Data community research
140
+
141
+ Windway Data is an early-stage AI reliability and data infrastructure startup. This existing public asset retains its original license and source provenance. It is distinct from our measured local AI experiments.
142
+
143
+ Don't trust agent self-report. Verify environment state. See the [four-case False Completion Community Release](https://huggingface.co/datasets/RegalFire/Windway-False-Completion-Cases-v0.1) for sanitized factual state/claim contrasts, not raw private conversations or a model leaderboard.
144
+
145
+ [Windway Data](https://windwaydata.com) · [Research](https://windwaydata.com/research/) · [Failure Is Not Binary](https://windwaydata.com/research/failure-is-not-binary/) · [Custom/private evaluation](https://windwaydata.com/contact/).