Upload README.md with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100---license: cc-by-4.0pretty_name: SpecMinelanguage:- entags:- spec-driven-development- software-engineering- mining-software-repositories- github- llm-agentssize_categories:- 1M<n<10Mconfigs:- 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 frompublic GitHub: the Markdown specifications that AI coding agents turn into code,attributed to the tool that produced them, enriched with repository metadata andfull commit history, and, for a subsample of repositories, followed into the pullrequests 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) ison Zenodo; the schema, loaders, an example notebook, and a 500-repository sampleare on GitHub at <https://github.com/shyamagarwal13/specmine-official>. SpecMineis 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 Zenodorecord and joins to `spec_files` on `file_url_sha16`.
## Usage
```pythonfrom datasets import load_datasetprs = load_dataset("USER/specmine", "pull_requests", split="train")```
Or read a table directly:
```pythonimport pandas as pdprs = 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 eachsource repository's own license (see `repo_license_spdx_id`). Commit emails,avatar URLs, and GPG signatures are removed; public logins and numeric IDs arekept. Please do not attempt deanonymization.
## Citation
```bibtex@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}}```README.mdAdded+100