DataWorld-Bench: English dataset card (points to github.com/Zhanli-Li/Data-World), 0-100 scoring, release notes
Browse files
README.md
CHANGED
|
@@ -1,88 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# DataWorld-Bench
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
```
|
| 47 |
dataworld-pXXXXXX-<cause|consequence>-<1|2>/
|
| 48 |
-
├── instruction.md #
|
| 49 |
-
├── task.toml # schema 1.1
|
| 50 |
├── environment/
|
| 51 |
-
│ ├── Dockerfile #
|
| 52 |
-
│ └── data/ #
|
| 53 |
└── tests/
|
| 54 |
-
├── test.sh # verifier
|
| 55 |
-
├── grade.py
|
| 56 |
-
├──
|
| 57 |
-
|
|
|
|
|
|
|
| 58 |
```
|
| 59 |
|
| 60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
-
|
|
|
|
|
|
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
```
|
| 68 |
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- zh
|
| 4 |
+
task_categories:
|
| 5 |
+
- question-answering
|
| 6 |
+
- text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- agent
|
| 9 |
+
- benchmark
|
| 10 |
+
- data-analysis
|
| 11 |
+
- causal-inference
|
| 12 |
+
- multi-step-reasoning
|
| 13 |
+
- llm-judge
|
| 14 |
+
- sandbox
|
| 15 |
+
- tool-use
|
| 16 |
+
size_categories:
|
| 17 |
+
- n<1K
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
# DataWorld-Bench
|
| 21 |
|
| 22 |
+
**A 100-task benchmark for agentic, evidence-grounded data analysis.**
|
| 23 |
+
Each task drops an agent into a self-contained business world, hands it a
|
| 24 |
+
multi-system pile of raw data, and asks for a conclusion that a strict LLM judge
|
| 25 |
+
then grades against a task-specific rubric.
|
| 26 |
+
|
| 27 |
+
> **Code, task-generation pipeline and evaluation harness:**
|
| 28 |
+
> **<https://github.com/Zhanli-Li/Data-World>**
|
| 29 |
+
|
| 30 |
+
Task content (`instruction.md`, `rubric.json`, the judge prompt and the data
|
| 31 |
+
itself) is written in **Chinese**; the benchmark is otherwise model-agnostic and
|
| 32 |
+
can be driven by any tool-calling agent.
|
| 33 |
+
|
| 34 |
+
## What is in this repository
|
| 35 |
+
|
| 36 |
+
- **100 tasks** = **50 worlds × 2 tasks each** (one `cause` analysis + one
|
| 37 |
+
`consequence` analysis of the same underlying world).
|
| 38 |
+
- Each task directory is a self-contained, runnable unit: instruction, data,
|
| 39 |
+
container image recipe, verifier and rubric.
|
| 40 |
+
- Roughly **23.6 GB / ~50k files**, dominated by the per-task raw data
|
| 41 |
+
(transactions, ledgers, logs, tickets, sensor readings, documents, ...).
|
| 42 |
+
|
| 43 |
+
## How the 100 tasks were selected
|
| 44 |
+
|
| 45 |
+
The benchmark is the final slice of a much larger generated corpus (`dataworld
|
| 46 |
+
v7`, 9,692 tasks over 1,302 source worlds), reduced in three stages:
|
| 47 |
+
|
| 48 |
+
1. **Audit filtering (factual correctness).** Every v7 world was re-checked by
|
| 49 |
+
automated audit; only worlds with **zero failed checks** were kept —
|
| 50 |
+
**852 of 1,302 (65%)**. Worlds containing factual errors were dropped
|
| 51 |
+
together with all of their tasks.
|
| 52 |
+
2. **Taxonomy-balanced sampling.** The surviving pool is heavily skewed across
|
| 53 |
+
16 domain categories (7–165 tasks per category). Stratified sampling took 3
|
| 54 |
+
worlds per category (4 for the two largest) — preferring worlds with zero
|
| 55 |
+
audit warnings and more checks — yielding **50 worlds**, and from each world
|
| 56 |
+
the `cause-1` and `consequence-1` tasks: **100 candidates**.
|
| 57 |
+
3. **Human preference validation.** Each selected task was paired against the
|
| 58 |
+
runner-up from the same world (`cause-1` vs `cause-2`, `consequence-1` vs
|
| 59 |
+
`consequence-2`) and put to two-alternative human comparison (factual
|
| 60 |
+
correctness already guaranteed by the audit, so annotators judged only task
|
| 61 |
+
preference). Every pair was seen by **at least two different annotators**
|
| 62 |
+
(15 annotators in total, plus an AI reviewer); the **47** pairs with
|
| 63 |
+
disagreeing votes were all adjudicated by the dataset owner, partly backed by
|
| 64 |
+
an independent blind review. Final outcome: **50 wins for the original
|
| 65 |
+
candidates, 50 for the challengers** (73 pairs decided by majority, 27 by
|
| 66 |
+
owner adjudication).
|
| 67 |
+
|
| 68 |
+
Per-task provenance (vote counts, how the decision was reached) is recorded in
|
| 69 |
+
`sample_manifest.json`; annotator identities are anonymized (`annotator-01` …
|
| 70 |
+
`annotator-15`).
|
| 71 |
+
|
| 72 |
+
**Composition:** 16 domain categories; 6 tasks per category except the two
|
| 73 |
+
largest, which have 8. Each world contributes exactly one `cause` and one
|
| 74 |
+
`consequence` task.
|
| 75 |
+
|
| 76 |
+
## Task layout
|
| 77 |
|
| 78 |
```
|
| 79 |
dataworld-pXXXXXX-<cause|consequence>-<1|2>/
|
| 80 |
+
├── instruction.md # the problem statement, data mapping, answer path
|
| 81 |
+
├── task.toml # schema 1.1: timeouts, resources, artifacts
|
| 82 |
├── environment/
|
| 83 |
+
│ ├── Dockerfile # image recipe + COPY data/
|
| 84 |
+
│ └── data/ # self-contained copy of the world's data files
|
| 85 |
└── tests/
|
| 86 |
+
├── test.sh # verifier entry point
|
| 87 |
+
├── grade.py # scoring implementation (stdlib only)
|
| 88 |
+
├── judge.py # judge gateway client (stdlib only)
|
| 89 |
+
├── judge_prompt.py # the judge prompt template
|
| 90 |
+
├── rubric.json # per-task rubric (visible to the judge only)
|
| 91 |
+
└── judge.env # judge credentials/endpoint (placeholders here)
|
| 92 |
```
|
| 93 |
|
| 94 |
+
The agent writes its final answer to `/app/answer.txt`; the verifier grades that
|
| 95 |
+
file and emits `/logs/verifier/reward.txt` plus `/logs/verifier/details.json`.
|
| 96 |
+
|
| 97 |
+
## Scoring
|
| 98 |
+
|
| 99 |
+
Each task carries its own rubric, made of **positive criteria** (things a
|
| 100 |
+
correct analysis must establish) and **negative criteria** (known wrong
|
| 101 |
+
conclusions, or plausible-looking paths that lead to wrong numbers). The judge
|
| 102 |
+
returns one verdict per criterion:
|
| 103 |
+
|
| 104 |
+
- positive criterion — `satisfied` earns its points, `not_satisfied` earns 0;
|
| 105 |
+
- negative criterion — `triggered` deducts its points;
|
| 106 |
+
- a conclusion the report never mentions neither earns nor loses points.
|
| 107 |
+
|
| 108 |
+
The raw score is then normalized against that task's own reachable bounds:
|
| 109 |
+
|
| 110 |
+
```
|
| 111 |
+
reward = 100 * (raw - lo) / (hi - lo) # in [0, 100]
|
| 112 |
+
```
|
| 113 |
|
| 114 |
+
where `hi` is the total of the positive criteria and `lo` the total of the
|
| 115 |
+
negative ones. So **all positive criteria satisfied = 100**, **all negative
|
| 116 |
+
criteria triggered = 0**.
|
| 117 |
|
| 118 |
+
Two edge cases matter when you aggregate results:
|
| 119 |
+
|
| 120 |
+
- **A missing or empty `/app/answer.txt`** is treated as a blank submission:
|
| 121 |
+
reward is forced to `0` (the rubric floor) regardless of the rubric's negative
|
| 122 |
+
share.
|
| 123 |
+
- **A grading-infrastructure failure** (judge unreachable, unparseable verdicts)
|
| 124 |
+
is *not* expressed through the score. `details.json` then carries a
|
| 125 |
+
`judge_error` key and the reward is written as `0`. Since `0` is also a
|
| 126 |
+
legitimate score, **detect failures via `judge_error`, never via the value** —
|
| 127 |
+
otherwise a broken judge silently reads as a task the model failed.
|
| 128 |
+
|
| 129 |
+
Earlier reported results used a `[-1, 1]` normalization; convert with
|
| 130 |
+
`r_[-1,1] = reward / 50 - 1`.
|
| 131 |
+
|
| 132 |
+
## Running the benchmark
|
| 133 |
+
|
| 134 |
+
Install `docker`, then for each task build the image from
|
| 135 |
+
`environment/Dockerfile` (it `COPY data/ /app/data/`), run the agent inside it,
|
| 136 |
+
and finally execute `tests/test.sh` — it sources `tests/judge.env`, grades
|
| 137 |
+
`/app/answer.txt` and writes the reward. The full evaluation harness lives in
|
| 138 |
+
[Data-World](https://github.com/Zhanli-Li/Data-World).
|
| 139 |
+
|
| 140 |
+
`tests/judge.env` selects the judge gateway and model through ordinary
|
| 141 |
+
environment variables:
|
| 142 |
+
|
| 143 |
+
```
|
| 144 |
+
ANTHROPIC_BASE_URL # gateway base URL
|
| 145 |
+
ANTHROPIC_AUTH_TOKEN # gateway token
|
| 146 |
+
ANTHROPIC_MODEL # judge model id
|
| 147 |
```
|
| 148 |
|
| 149 |
+
## Release notes for this Hugging Face copy
|
| 150 |
+
|
| 151 |
+
- **Placeholders instead of credentials.** `tests/judge.env` ships with
|
| 152 |
+
`<your-judge-token>` / `<judge-gateway>` / `<judge-model-path-or-id>`, and every
|
| 153 |
+
`environment/Dockerfile` builds from `<base-image>:latest` with public package
|
| 154 |
+
mirrors. Fill in your own values before running; nothing in this repository
|
| 155 |
+
grants access to any endpoint.
|
| 156 |
+
- **Scoring is on the `[0, 100]` scale** described above.
|
| 157 |
+
- **Code comments and log messages are in English.** The judge prompt
|
| 158 |
+
(`judge_prompt.py`), the rubrics and the instructions remain in Chinese, since
|
| 159 |
+
they are the benchmark content itself and translating them would change the
|
| 160 |
+
grading behaviour.
|
| 161 |
+
- **One layout adjustment, no content change.** The two `dataworld-p000384-*`
|
| 162 |
+
tasks carry 10,530 tiny case-narrative files each, above the 10,000-files-per-
|
| 163 |
+
directory limit of the Hub. Those directories are therefore stored as
|
| 164 |
+
`case_narratives/shard-00 … shard-10` (≤960 files per shard);
|
| 165 |
+
**file names and contents are byte-identical** to the flat layout.
|
| 166 |
+
- **Anonymized annotators.** Individual annotator usernames have been replaced by
|
| 167 |
+
`annotator-01` … `annotator-15`, and internal filesystem paths and gateway
|
| 168 |
+
addresses have been removed.
|
| 169 |
+
- Unrelated internal build artifacts (Python `__pycache__`) are not included.
|
| 170 |
+
|
| 171 |
+
## License
|
| 172 |
+
|
| 173 |
+
No license file accompanies the original task corpus; add one here before
|
| 174 |
+
relying on this dataset commercially.
|
| 175 |
+
|
| 176 |
+
## Citation
|
| 177 |
+
|
| 178 |
+
If you use DataWorld-Bench, please link
|
| 179 |
+
<https://github.com/Zhanli-Li/Data-World> and this dataset card.
|