|
Download README.md from Tokenwave-AI/SpecEngineeringBench: direct link, hf CLI and curl.
- Browser
- Download file 4.83 kB
-
https://huggingface.co/datasets/Tokenwave-AI/SpecEngineeringBench/resolve/main/README.md
- Command line
-
hf download hf://datasets/Tokenwave-AI/SpecEngineeringBench/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Tokenwave-AI/SpecEngineeringBench/resolve/main/README.md
4.83 kB
| pretty_name: SpecEngineeringBench | |
| license: apache-2.0 | |
| language: | |
| - en | |
| tags: | |
| - benchmark | |
| - code | |
| - software-engineering | |
| - software-testing | |
| - specification-engineering | |
| size_categories: | |
| - n<1K | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: test | |
| path: viewer/instances.parquet | |
| <p align="center"> | |
| <img src="https://huggingface.co/datasets/Tokenwave-AI/SpecEngineeringBench/resolve/main/assets/logo.png" width="660" alt="SpecEngineeringBench"> | |
| </p> | |
| # SpecEngineeringBench | |
| **SpecEngineeringBench** evaluates coding agents as autonomous specification engineers. Each instance starts from a product requirements document (PRD), a prerelease Python repository, and a configured execution environment. Agents decide what to test and where to investigate, without an issue description or a designated target. | |
| [Paper](https://arxiv.org/abs/2611.32973) · [Project page](https://tokenwave-ai.github.io/SpecEngineeringBench-Page/#film) · [GitHub](https://github.com/TokenWave-AI/SpecEngineeringBench) | |
| <video src="https://huggingface.co/datasets/Tokenwave-AI/SpecEngineeringBench/resolve/main/assets/SpecEngineeringBench-promo.mp4?v=20261121" poster="https://huggingface.co/datasets/Tokenwave-AI/SpecEngineeringBench/resolve/main/assets/promo-poster.png?v=20261121" controls width="720"></video> | |
| ## At a glance | |
| | | | | |
| | --- | --- | | |
| | Instances | 100 across 78 open-source Python repositories | | |
| | Application categories | 16 | | |
| | Recorded defect occurrences | 531, with 4–15 per instance | | |
| | Task directories | 200, two independent tasks per instance | | |
| | Agent input | English PRD, prerelease repository snapshot, and a configured Docker environment | | |
| | Release format | One compressed archive with a manifest and Harbor task packages | | |
| ## How an instance works | |
| 1. **Read the requirements.** The PRD specifies expected behavior, including boundaries and error handling. | |
| 2. **Task 1, test authoring.** Submit an executable test suite and testcase metadata. The verifier compares registered outcomes on defective and repaired snapshots. | |
| 3. **Task 2, defect reporting.** Independently produce a structured defect report with execution evidence and file, function, and line locations. | |
| Task 2 starts from the same instance inputs as Task 1 and uses its own test artifacts. | |
| ## Download and layout | |
| The dataset is distributed as [data.tar.gz](https://huggingface.co/datasets/Tokenwave-AI/SpecEngineeringBench/resolve/main/data.tar.gz?download=true). Sign in with a Hugging Face account that has access. | |
| ```bash | |
| hf auth login | |
| hf download Tokenwave-AI/SpecEngineeringBench data.tar.gz --repo-type dataset --local-dir ./dataset | |
| tar -xzf ./dataset/data.tar.gz -C ./dataset | |
| ``` | |
| ```text | |
| portable/ | |
| manifest.json | |
| <repository>/<episode>/ | |
| task_info.json | |
| pr_info.json | |
| validation_info.json | |
| task1/ | |
| task2/ | |
| ``` | |
| The Dataset Viewer reads `viewer/instances.parquet`, a preview table with one row per instance: repository, application category, license, base commit, number of recorded defects, the PRD, and the Task 1 and Task 2 instructions. Reference defect locations and fixes are not included. Running the benchmark still requires `data.tar.gz`. | |
| The `episodes[].id` field in `portable/manifest.json` identifies each instance relative to the extracted `portable/` directory. Each task includes an instruction file, Harbor configuration, and environment and verifier build files. The release pins Harbor 0.23.0 and expects Linux x86-64, Python 3.12, Docker Compose v2, and BuildKit for container execution. | |
| ## Scoring | |
| - **Task 1.** Head Pass Rate pools results for all registered tests. Fail-to-Pass, Entry Coverage, Change-focused Coverage, and the number of submitted tests are averaged per instance. | |
| - **Task 2.** Recall and precision are computed per instance at file, function, and hunk granularity. Hunk matching uses a three-line tolerance in defective-snapshot coordinates. | |
| The GitHub toolkit downloads this archive and summarizes saved `task1-metrics.json` and `task2-metrics.json` artifacts against the dataset manifest. [Evaluation quickstart](https://github.com/TokenWave-AI/SpecEngineeringBench#quickstart) | |
| The dataset card retains the release's Apache 2.0 designation. Upstream repository code remains subject to its original license terms. | |
| ## Citation | |
| ```bibtex | |
| @misc{wang2026specengineeringbench, | |
| title = {SpecEngineeringBench: Evaluating Coding Agents as Autonomous Specification Engineers}, | |
| author = {Wang, Xingjian and Wang, Shijian and Liu, Minghao and Zou, Ji and Yang, Zetao | |
| and Lei, Xinping and Liang, Yiming and Yan, Shen and Zhao, Enduo and Shen, Xiaoyang | |
| and Xuan, Weihao and Liu, Jiaheng and Zhang, Ge}, | |
| year = {2026}, | |
| eprint = {2611.32973}, | |
| archivePrefix = {arXiv}, | |
| primaryClass = {cs.SE}, | |
| url = {https://arxiv.org/abs/2611.32973} | |
| } | |
| ``` | |