AutoOntologyBench / README.md
Vinyeh's picture
Document Answer-20K and Core-Worlds tracks
86f481c verified
|
Raw History Blame Contribute Delete
6.67 kB
metadata
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

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

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:

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 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:

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:

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.