yueyuel/tech-debt-ai-coding
Debt Behind the AI Boom — Replication Data Data for the paper: Debt Behind the AI Boom: A Large-Scale Empirical Study of AI-Generated Code in the Wild Yue Liu, Ratnadira Widyasari, Yanjie Zhao, Ivana Clairine Irsan, Junkai Chen, David Lo 📄 arXiv:2603.28592 · 💻 Code: github.com/yueyueL/tech-debt-ai-coding We mined 302.6K AI-authored commits from 6,299 GitHub repositories across five AI coding assistants (GitHub Copilot, Claude, Cursor, Gemini, Devin), ran static analysis… See the full description on the dataset page: https://huggingface.co/datasets/yueyuel/tech-debt-ai-coding.
Debt Behind the AI Boom — Replication Data
Data for the paper:
Debt Behind the AI Boom: A Large-Scale Empirical Study of AI-Generated Code in the Wild Yue Liu, Ratnadira Widyasari, Yanjie Zhao, Ivana Clairine Irsan, Junkai Chen, David Lo 📄 arXiv:2603.28592 · 💻 Code: github.com/yueyueL/tech-debt-ai-coding
We mined 302.6K AI-authored commits from 6,299 GitHub repositories across five AI coding assistants (GitHub Copilot, Claude, Cursor, Gemini, Devin), ran static analysis before and after each commit, and tracked whether the introduced issues still survive in the codebase today.
Key finding: 484K issues were introduced; 22.7% still survive at HEAD, including issues introduced more than nine months earlier.
This Hugging Face repository hosts the data bundles. All code lives on GitHub: 👉 https://github.com/yueyueL/tech-debt-ai-coding
What's in this dataset
focused_repos.json and ai_repos.csv are also in the GitHub repo; they are mirrored here so this dataset is self-contained. The two .zip bundles are only available here.
How to download
These files are tracked with Git LFS — use the huggingface_hub client so downloads are counted and resume automatically if interrupted:
pip install -U huggingface_hub
# A single bundle
hf download yueyuel/tech-debt-ai-coding results-out.zip --repo-type dataset --local-dir .
hf download yueyuel/tech-debt-ai-coding commits.zip --repo-type dataset --local-dir .
# Or the entire dataset
hf download yueyuel/tech-debt-ai-coding --repo-type dataset --local-dir ./tech-debt-dataIn Python:
from huggingface_hub import hf_hub_download
path = hf_hub_download("yueyuel/tech-debt-ai-coding", "results-out.zip", repo_type="dataset")Reproduction tiers
The study reproduces at three levels of effort. Full step-by-step commands are in the GitHub README.
T2 — re-aggregate:
hf download yueyuel/tech-debt-ai-coding results-out.zip --repo-type dataset --local-dir .
unzip results-out.zip -d results/
python3 -m src.reporting.aggregate --out-dir results/outT3 — full re-run:
hf download yueyuel/tech-debt-ai-coding commits.zip --repo-type dataset --local-dir data/
unzip data/commits.zip -d data/
# then follow the GitHub README for analyzer setup + batch runSchema
Brief notes below; full schemas (including the commit and metric JSON shapes) are in `data/README.md` on GitHub.
`focused_repos.json`
{
"total_repos": 6299,
"repos": [
{"repo": "owner/name", "file": "data/commits/owner_name_commits.json",
"stars": 12345, "language": "Python", "ai_commits": 42,
"total_commits": 5000, "ai_percentage": 0.84}
]
}`commits/<owner>_<repo>_commits.json` (inside commits.zip)
{
"repo": "owner/name", "total_commits_scanned": 5000, "ai_commits_count": 42,
"tools_found": {"copilot": 30, "claude": 12},
"ai_commits": [
{"sha": "abc123", "ai_tool": "copilot", "detection_method": "coauthor",
"date": "2025-06-15T10:30:00Z", "url": "https://github.com/owner/name/commit/abc123"}
]
}License
Released under CC-BY-4.0. You are free to share and adapt the data with attribution to the paper below.
Citation
@article{liu2026techdebt,
title = {Debt Behind the AI Boom: A Large-Scale Empirical Study of
AI-Generated Code in the Wild},
author = {Liu, Yue and Widyasari, Ratnadira and Zhao, Yanjie and
Irsan, Ivana Clairine and Chen, Junkai and Lo, David},
year = {2026},
eprint = {2603.28592},
archivePrefix = {arXiv},
primaryClass = {cs.SE}
}