Published April 21, 2026
| Version 1.0.0
Dataset
Open
Software Defect Prediction Dataset: 284,676 Code File Instances from Five Open-Source Repositories
Description
A benchmark dataset for machine-learning-driven software defect prediction, comprising 284,676 code file observations from five open-source repositories: Elasticsearch (165,032 instances, 21.2% defect rate), Spring Boot (56,425, 11.0%), Hadoop (49,047, 17.0%), Kafka (13,158, 37.6%), and Express (1,014, 37.5%). Overall defect rate: 19.3%.
Each observation records seven process metrics from git history: commit count, unique developer count, lines added, lines deleted, code churn, file age, and commit frequency — plus a binary defect label. A trained Gradient Boosting classifier (AUC=0.899) and Random Forest (AUC=0.904, F1=0.682) are included as scikit-learn pipelines.
Note: The column bug_fix_commits is included for transparency but must be excluded from predictive models — it is a retrospective leakage feature. See DATA_README.md for details.
Code: https://github.com/javvadivijayprasad/ai-defect-prediction-repository-analytics
Files
combined_metrics.csv
Files
(104.4 MB)
| Name | Size | |
|---|---|---|
|
md5:48149ab9772ab930cc02eff453138d7d
|
2.3 kB | Download |
|
md5:4947e1e2107beb2265873e1cf8b92910
|
48.9 MB | Preview Download |
|
md5:ff3d514ab1c821c5e922d025430992af
|
9.0 kB | Preview Download |
|
md5:b2560ff6b4e7cbf81115c52171c4a5f6
|
732 Bytes | Preview Download |
|
md5:2f10006af4a61f88db441a93e3ba433e
|
7.9 MB | Download |
|
md5:f4bf8150ab40a48ed2441f02f9e0b62d
|
24.6 MB | Preview Download |
|
md5:4c2e76cff4d530c4459d1c1c053d3936
|
74.4 kB | Preview Download |
|
md5:a6e4ec2ec2efe7efcb3c8bfe2a741000
|
7.9 MB | Preview Download |
|
md5:7bc6d30927ec01040177e1bd7c6d6b25
|
1.7 MB | Preview Download |
|
md5:4c6b5506f41b9c8862eb5e55fe88525f
|
13.4 MB | Preview Download |
Additional details
Software
- Repository URL
- https://github.com/javvadivijayprasad/ai-defect-prediction-repository-analytics
- Programming language
- Python
- Development Status
- Active