目录

license: cc-by-4.0 pretty_name: SpecMine language:

  • en tags:
  • spec-driven-development
  • software-engineering
  • mining-software-repositories
  • github
  • llm-agents size_categories:
  • 1M<n<10M configs:
  • config_name: spec_files data_files: data/spec_files.parquet
  • config_name: spec_file_commits data_files: data/spec_file_commits.parquet
  • config_name: spec_content_features data_files: data/spec_content_features.parquet
  • config_name: spec_links data_files: data/spec_links.parquet
  • config_name: kiro_files data_files: data/kiro_files.parquet
  • config_name: openspec_artifact_files data_files: data/openspec_artifact_files.parquet
  • config_name: openspec_code_refs data_files: data/openspec_code_refs.parquet
  • config_name: repo_trees data_files: data/repo_trees.parquet
  • config_name: pull_requests data_files: data/pull_requests.parquet
  • config_name: pr_files data_files: data/pr_files.parquet

SpecMine

A large-scale corpus of Spec-Driven Development (SDD) artifacts mined from public GitHub: the Markdown specifications that AI coding agents turn into code, attributed to the tool that produced them, enriched with repository metadata and full commit history, and, for a subsample of repositories, followed into the pull requests that change them.

This is the per-table Parquet mirror of SpecMine v1.0 (July 2026 snapshot). The citable archive of record (with the MySQL dump, CSV, and spec-text JSONL) is on Zenodo; the schema, loaders, an example notebook, and a 500-repository sample are on GitHub at https://github.com/shyamagarwal13/specmine-official. SpecMine is the dataset for the MSR 2027 Mining Challenge.

Tables (select a config above)

Config Rows What it is
spec_files 470,795 broad-census spine (repo object, provenance, tool attribution)
spec_file_commits 780,335 per-file commit history
spec_content_features 468,307 39 structural / requirement-template features per spec
spec_links 2,421,323 traceability index (typed spec→code references)
kiro_files 98,574 Kiro requirements/design/tasks (metadata)
openspec_artifact_files 266,230 OpenSpec proposals/designs/task lists (+ content)
openspec_code_refs 435,401 OpenSpec task→code refs resolved on the git tree
pull_requests 5,992 spec-touching PRs (11 tools unioned, 10 non-empty), tool column
pr_files 348,141 per-file changesets, each file flagged spec/code
repo_trees 73,030 git-tree metadata references resolve against

Spec text is not on Hugging Face; it ships as specs.jsonl.gz in the Zenodo record and joins to spec_files on file_url_sha16.

Usage

from datasets import load_dataset
prs = load_dataset("USER/specmine", "pull_requests", split="train")

Or read a table directly:

import pandas as pd
prs = pd.read_parquet("hf://datasets/USER/specmine/data/pull_requests.parquet")

License and ethics

Compilation released under CC BY 4.0. Underlying file content remains under each source repository’s own license (see repo_license_spdx_id). Commit emails, avatar URLs, and GPG signatures are removed; public logins and numeric IDs are kept. Please do not attempt deanonymization.

Citation

@inproceedings{specmine2027,
  author    = {Agarwal, Shyam and Vasilescu, Bogdan},
  title     = {SpecMine: A Large-Scale Corpus of Spec-Driven Development Artifacts},
  year      = {2027},
  booktitle = {Proceedings of the 24th International Conference on Mining Software Repositories},
  series    = {MSR '27}
}
关于

MSR2027-mining challenge, SpecMine

36.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号