File size: 6,671 Bytes
4720021
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86f481c
 
 
4720021
 
 
 
 
86f481c
4720021
 
 
86f481c
 
 
 
 
 
 
 
 
4720021
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86f481c
4720021
 
 
 
 
 
 
 
 
 
 
86f481c
4720021
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86f481c
 
 
4720021
 
 
86f481c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4720021
 
86f481c
 
 
4720021
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
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
48
49
50
51
52
53
54
55
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
---
license: cc-by-4.0
language:
- en
- zh
pretty_name: AutoOntologyBench
size_categories:
- 10K<n<100K
task_categories:
- text-generation
- question-answering
configs:
- config_name: default
  data_files:
  - split: test
    path: tasks/qualified_tasks_test.jsonl
---

# AutoOntologyBench

**Tracks: Answer-20K (root) · Core-Worlds (`core_worlds/`)**

**Answer-20K release: v3**

AutoOntologyBench v3 is the public test split of a controlled benchmark for
ontology engineering: agents must diagnose, repair, organize, or construct
semantic artifacts and demonstrate downstream utility under a frozen harness.

The Answer-20K track contains **19,947 public task records** across **16 lanes**,
**4 task regimes**, **325 families**, and **4,511 base goals**. All rows are
the official **test** split; there is no train/dev split in this release.

## Repository layout

- `tasks/`, `source_data/`, `oracle/` — **Answer-20K**: 19,947 answer-only tasks, task-level oracle.
- `core_worlds/` — **Core-Worlds**: 16 world-grounded ontology worlds, 19,950 tasks.
  - `core_worlds/data/core/` — public Core package.
  - `core_worlds/private/` — private oracle and gold/corrupt/repaired artifacts (this repo is private).
- `code/` — legacy 20K code archive; code is intended to live in GitHub and this duplicate can be removed once GitHub is canonical.

## Answer-20K release facts

- Candidate build: `aob-20000-candidate-dev1` (20,000 candidates)
- v3 audit: **19,947 QUALIFIED_NATIVE**, **53 REJECTED**, 0 pending, 0 missing
- Public task rows: **19,947**
- Regimes:
  - application: 7,033
  - repair: 6,100
  - organization: 5,319
  - construction: 1,495
- Language: English task text; Chinese translations are provided for display
  only; English `public.user_goal` is authoritative.
- Answers/oracle values are **not** included. Scoring requires the private
  oracle mount.

The v3 task IDs are exactly the audit-v3 `QUALIFIED_NATIVE` set. The public
files are a redacted projection of the audit rows: private/audit fields such as
`native_evidence`, `seed`, and `source_refs` are removed, and `split=test` is
added.

## Files

```text
release_v3/
├── README.md
├── EVAL.md
├── LICENSE-DATA.md
├── MANIFEST.sha256
├── MANIFEST.json
├── LICENSES/
└── tasks/
    ├── qualified_tasks_test.jsonl   # 19,947 public task records
    ├── task_manifest_test.jsonl     # 19,947 lineage rows
    └── user_goal_zh.jsonl           # 19,947 Chinese display translations
```

`qualified_tasks_test.jsonl` is the task file used by the v3 evaluation
harness. `task_manifest_test.jsonl` carries lineage metadata. The Chinese file
is not an additional task source; it is a display-only translation overlay.

## Load Answer-20K

```python
from datasets import load_dataset

ds = load_dataset("AutoOntologyBench-v3", split="test")
print(len(ds), ds[0]["task_id"])
```

If the dataset is stored under an organization, replace
`AutoOntologyBench-v3` with `<organization>/AutoOntologyBench-v3`.

## Evaluate Answer-20K

The code release is distributed separately on GitHub. Install it, mount the
private oracle, and run:

```bash
export EVAL_TASKS="$PWD/release_v3/tasks/qualified_tasks_test.jsonl"
bash scripts/eval_20k_all.sh \
  --provider openai \
  --model gpt-4.1 \
  --sample-per-lane 5
```

For a full run:

```bash
bash scripts/eval_20k_all.sh --sample-per-lane 0
```

The one-click path defaults to the v3 task file when it is placed at
`release_v3/tasks/qualified_tasks_test.jsonl`. The evaluator reports `TSR`,
`V-TSR`, unsafe-action counts, per-lane/per-family breakdowns, and optional
offline metrics (CPS, batch TSR, regime TSR, MapF1/Common-7, F_rule).

## Important limitations

- **Private oracle required.** Public task rows contain no answers. The public
  repository alone cannot reproduce scores.
- **L08 caveat.** Some L08 tasks require evidence support; see `EVAL.md` and the
  code release's publication audit. Do not treat unscored rows as passes.
- **Source data is in `source_data/` in this private dataset repo.** It is not
  part of the public task file and carries upstream terms; see
  `source_data/README.md` and per-source attribution in `LICENSES/`.
- **No full 19,947 evaluation is included.** The release packaging was tested
  with a 160-task all-lane smoke run; it is not a leaderboard result.

## Core-Worlds

`core_worlds/` is the world-grounded Core track, separate from Answer-20K:

- **16 worlds / 19,950 tasks**
- one ontology artifact per world: `O = (C, R, X, Phi)`
- per-world RDF/OWL/SHACL artifacts, public materials and task context
- hidden labels and gold/corrupt/repaired artifacts under
  `core_worlds/private/` (private, never public)
- one-click answer evaluator:
  `core_worlds/src/scripts/eval_core.sh`

The Core public package is self-contained under `core_worlds/`. To score it,
mount `core_worlds/private/oracle/core_oracle.jsonl` and run:

```bash
cd core_worlds
bash src/scripts/eval_core.sh \
  --oracle private/oracle/core_oracle.jsonl \
  --provider openai --model gpt-4.1 \
  --sample-per-world 10
```

OpenAI-compatible APIs, local vLLM, and Anthropic are supported. Custom
harnesses can score with `benchmark.eval_core.run` and the documented
`task_id + answer` submission schema. The one-click evaluator is answer-level,
not the full agentic ontology-repair executor.

## Code

Code is intended to live in GitHub. `code/AutoOntologyBench-code.tar.gz` is a
legacy 20K code archive duplicated from the GitHub package; remove it from the
Hub once the GitHub repository is the canonical source. The Core package keeps
its evaluator source under `core_worlds/src/` so the released artifact remains
runnable.

## Version boundary

This is the **Answer-20K v3** release, not the earlier 20,000-row v2 `release_20k`.
It contains 19,947 rows; the 53 rejected candidates are excluded. Do not upload
the v2 README or v2 `release_20k/tasks` as v3.

## License and attribution

The v3 task records are released under **CC BY 4.0**. Third-party source
attribution and source-specific terms are in `LICENSES/ATTRIBUTION.md` and the
per-source files under `LICENSES/`. The code release is Apache-2.0.

If you use this benchmark, cite the AutoOntologyBench paper and record the v3
release identifier/checksum. The final paper author list and citation metadata
are maintained in the code repository.

## Integrity

`MANIFEST.sha256` covers the files in this directory. Verify with:

```bash
sha256sum -c MANIFEST.sha256
```

`MANIFEST.json` records the release counts, audit status, task-file hashes, and
the distinction between the v3 public projection and the audit raw file.