TanmaySah commited on
Commit
67833d3
·
verified ·
1 Parent(s): 76ebfd7

feat: initial release of UndoBench benchmark dataset (v1.0.1)

Browse files
Files changed (4) hide show
  1. README.md +160 -0
  2. data/dev.parquet +3 -0
  3. data/test.parquet +3 -0
  4. data/validation.parquet +3 -0
README.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: UndoBench
3
+ license: cc-by-4.0
4
+ tags:
5
+ - agentic-ai
6
+ - llm-agents
7
+ - ai-agents
8
+ - agent-evaluation
9
+ - recovery
10
+ - reliability
11
+ - fault-tolerance
12
+ - tool-use
13
+ - ai-safety
14
+ - benchmark
15
+ papers:
16
+ - 2610.05622
17
+ configs:
18
+ - config_name: default
19
+ default: true
20
+ data_files:
21
+ - split: dev
22
+ path: data/dev.parquet
23
+ - split: validation
24
+ path: data/validation.parquet
25
+ - split: test
26
+ path: data/test.parquet
27
+ ---
28
+
29
+ # UndoBench
30
+
31
+ **Separating Task Competence from Recovery Capability in Tool-Using AI Agents**
32
+
33
+ UndoBench is an open benchmark for measuring recovery capability and side-effect safety in tool-using AI agents under execution failures. Widely used agent benchmarks primarily evaluate nominal task completion, conflating baseline planning competence with operational fault recovery. UndoBench decouples task competence from recovery capability via counterfactual paired trials under identical seeds alongside wire-level effect-history and environment-state oracles.
34
+
35
+ The benchmark spans **36 base enterprise workflows** and **36 fault scenarios** across **8 enterprise software domains**, evaluating agents across multiple execution boundaries (pre-mutation, during-mutation, and post-mutation / lost-acknowledgment).
36
+
37
+ ---
38
+
39
+ ## Authors
40
+
41
+ - **Dolly Sah**
42
+ - **Tanmay Sah**
43
+ - **Harshul Jain**
44
+ - **Tanya Sah**
45
+
46
+ *(Note: Hosted under personal Hugging Face namespace `TanmaySah` for dataset discovery; scholarly authorship belongs to all four authors in the canonical order listed above).*
47
+
48
+ ---
49
+
50
+ ## Paper & Links
51
+
52
+ - **Paper (arXiv)**: [https://arxiv.org/abs/2610.05622](https://arxiv.org/abs/2610.05622)
53
+ - **Hugging Face Paper Page**: [https://huggingface.co/papers/2610.05622](https://huggingface.co/papers/2610.05622)
54
+ - **alphaXiv**: [https://www.alphaxiv.org/abs/2610.05622](https://www.alphaxiv.org/abs/2610.05622)
55
+ - **Code & Benchmark Execution Framework**: [https://github.com/tradertanmay/undobench](https://github.com/tradertanmay/undobench)
56
+
57
+ > The Hugging Face repository contains the task-oriented dataset representation of UndoBench. The complete benchmark execution framework, CLI, fault injection engine, recovery baselines, evaluation harness, and reproduction code are available on GitHub.
58
+
59
+ ---
60
+
61
+ ## Benchmark Structure
62
+
63
+ UndoBench consists of 36 canonical workflows stratified across 3 splits and 8 enterprise operational domains:
64
+
65
+ | Split | Workflows | Purpose |
66
+ | :--- | :---: | :--- |
67
+ | **`dev`** | 14 | Open development, prompt tuning, and strategy formulation |
68
+ | **`validation`** | 10 | Hyperparameter calibration and recovery policy validation |
69
+ | **`test`** | 12 | Frozen held-out evaluation for zero-shot recovery benchmarking |
70
+ | **Total** | **36** | **Comprehensive enterprise recovery evaluation** |
71
+
72
+ ### The 8 Enterprise Domains
73
+ 1. **Cloud Infrastructure** (Autoscaling, VPC routing, IAM policies, Blue-green deployment cutover)
74
+ 2. **Customer Relationship Management (CRM)** (Lead conversion, account reassignment, deal stage transitions, SLA renewal)
75
+ 3. **Database Transactions** (Balance transfers, multi-table orders, tier upgrades, schema migration, RMW dividend allocations)
76
+ 4. **Git Version Control** (Fast-forward merge, hotfix commits, squashed merges, release tag cut and cherry-picks)
77
+ 5. **Messaging Systems** (Direct dispatch, channel topics, broadcast announcements, pager callouts, webhook fanout)
78
+ 6. **Payments & Billing** (Card tokenization, invoice capture, refund authorization, subscription renewal, cross-border wires)
79
+ 7. **Storage & Blob Management** (File checksum uploads, lifecycle expiration, CORS rules, bucket replication, atomic object swaps)
80
+ 8. **Ticketing & Incident Management** (Priority escalation, ticket assignment, incident resolution, SLA policy cascades)
81
+
82
+ ---
83
+
84
+ ## Dataset Row Schema
85
+
86
+ Each row in the dataset represents a canonical UndoBench workflow task:
87
+
88
+ | Column | Type | Description |
89
+ | :--- | :--- | :--- |
90
+ | `task_id` | `string` | Unique benchmark task identifier (e.g., `RB-DB-001`, `RB-CLOUD-004`) |
91
+ | `split` | `string` | Split membership (`dev`, `validation`, or `test`) |
92
+ | `domain` | `string` | Enterprise software domain (e.g., `database`, `cloud`, `payments`) |
93
+ | `workflow_name` | `string` | Formal workflow name with failure scenario context |
94
+ | `workflow_description` | `string` | Human-readable baseline workflow description |
95
+ | `objective` | `string` | Exact natural-language task prompt provided to the agent |
96
+ | `fault_scenario` | `string` (JSON) | Structured fault scenario specification (boundary, perturbation, target tool) |
97
+ | `fault_boundary` | `string` | Execution boundary (`PRE_MUTATION`, `POST_MUTATION_PRE_ACK`, etc.) |
98
+ | `reversibility` | `string` | Action reversibility classification (`REVERSIBLE`, `COMPENSATABLE`, `IRREVERSIBLE`) |
99
+ | `idempotency_support` | `bool` | Whether the underlying environment natively supports server-side idempotency keys |
100
+ | `tools` | `list[string]` | Set of callable environment tools available to the agent |
101
+ | `initial_state` | `string` (JSON) | Environment state prior to task execution |
102
+ | `expected_outcome` | `string` (JSON) | Acceptable final environment states required for nominal completion |
103
+ | `required_effects` | `string` (JSON) | Wire-level state mutations that must occur exactly once |
104
+ | `oracle_spec` | `string` (JSON) | Complete oracle specification (final states, forbidden effects, invariants) |
105
+ | `benchmark_version` | `string` | Benchmark freeze version (`v1.0.1`) |
106
+ | `source_path` | `string` | Relative path to task implementation in the canonical GitHub repository |
107
+
108
+ ---
109
+
110
+ ## Usage
111
+
112
+ ```python
113
+ from datasets import load_dataset
114
+
115
+ # Load all 3 splits of UndoBench
116
+ ds = load_dataset("TanmaySah/undobench")
117
+ print(ds)
118
+
119
+ # Inspect splits
120
+ print(f"Dev tasks: {len(ds['dev'])}")
121
+ print(f"Validation tasks: {len(ds['validation'])}")
122
+ print(f"Test tasks: {len(ds['test'])}")
123
+
124
+ # Access a test task
125
+ sample = ds["test"][0]
126
+ print("Task ID:", sample["task_id"])
127
+ print("Domain:", sample["domain"])
128
+ print("Objective:", sample["objective"])
129
+ print("Tools:", sample["tools"])
130
+ ```
131
+
132
+ To run full agent evaluations with fault injection, wire-level oracle verification, and CRSR metrics, clone the GitHub repository:
133
+
134
+ ```bash
135
+ git clone https://github.com/tradertanmay/undobench.git
136
+ cd undobench
137
+ pip install -e .
138
+ undobench run --split test --model <your-model> --recovery naive_retry
139
+ ```
140
+
141
+ ---
142
+
143
+ ## Licensing
144
+
145
+ - **Dataset & Task Specifications**: [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)
146
+ - **Software, CLI & Execution Harness**: [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)
147
+
148
+ ---
149
+
150
+ ## Citation
151
+
152
+ ```bibtex
153
+ @article{undobench2026,
154
+ title = {UndoBench: Separating Task Competence from Recovery Capability in Tool-Using AI Agents},
155
+ author = {Dolly Sah and Tanmay Sah and Harshul Jain and Tanya Sah},
156
+ journal = {arXiv preprint arXiv:2610.05622},
157
+ year = {2026},
158
+ url = {https://arxiv.org/abs/2610.05622}
159
+ }
160
+ ```
data/dev.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cca4b6bf61ab0f46bbabde5721190b5e3555d0d004b0b78278e83e2d1f783720
3
+ size 23065
data/test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9678c584bfc9abcc590228d500ab165d65accc3ae6513f8c148065c23cb74920
3
+ size 20950
data/validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afb8b2ab7349f4cb3a15ed9004c5f6bc889c5de8b1ce96d9ff38bd04d5197ac7
3
+ size 21481