Datasets:
Legacy Codebase Dataset
Dataset Description
The Legacy Codebase Dataset is a large-scale collection of enterprise software repositories designed for training next-generation Large Language Models (LLMs), AI coding assistants, software engineering copilots, automated refactoring systems, repository understanding models, and intelligent program analysis pipelines.
The complete collection contains 405 real-world legacy codebases spanning 23 major industries, comprising over 4.79 Billion Tokens Count, 204.40 million lines of code, 420,737 commits, and 61,692 pull requests.
Unlike synthetic coding datasets, this corpus represents mature production software developed over many years, capturing real engineering workflows, architectural evolution, collaborative development, technical debt, software maintenance, and repository history.
The dataset includes diverse programming paradigms, software architectures, dependency structures, coding conventions, version history, and enterprise engineering practices, making it ideal for training AI systems capable of understanding large software projects.
This dataset supports development pipelines for:
- Large Language Model (LLM) Pretraining
- Code Generation
- Code Completion
- Repository Understanding
- Software Modernization
- Automated Refactoring
- Bug Detection
- Technical Debt Analysis
- Program Repair
- Supervised Fine-Tuning (SFT)
- Self-Supervised Learning (SSL)
- Reinforcement Learning from Human Feedback (RLHF)
Dataset Statistics
| Metric | Value |
|---|---|
| Industries | 23 |
| Legacy Codebases | 405 |
| Total Commits | 420,737 |
| Total Pull Requests | 61,692 |
| Total Tokens Count | 4.79 Billion |
| Total Lines of Code | 204.40 Million |
Dataset Specification
Industries:
23
Legacy Codebases:
405
Total Tokens Count
4.79 Billion
Total Lines of Code:
204.40 Million
Total Commits:
420,737
Total Pull Requests:
61,692
Domain:
Enterprise Legacy Software
Data Type:
Source Code
Nature:
Real-world enterprise software repositories
Dataset Features
- Enterprise-scale repositories
- Production-ready legacy software
- Multi-industry coverage
- Complete repository structures
- Rich commit history
- Pull request metadata
- Software evolution patterns
- Long-lived codebases
- Real engineering practices
- Large-scale source code corpus
Key Use Cases
Large Language Model (LLM) Pretraining
Code Generation
Code Completion
Repository Understanding
Code Search
Program Synthesis
Software Modernization
Automated Refactoring
Bug Detection
Program Repair
Code Summarization
Documentation Generation
Technical Debt Analysis
Repository Mining
Software Engineering Research
Developer Copilots
AI Coding Assistants
Static Code Analysis
Long-context Code Reasoning
Benchmark Creation
Value of This Dataset
The Legacy Codebase Dataset enables researchers and organizations to build production-ready AI systems capable of understanding complex enterprise software.
Applications include:
- AI Coding Copilots
- Enterprise Software Assistants
- Automated Code Migration
- Legacy Modernization
- Intelligent Refactoring Systems
- Repository Search Engines
- Bug Prediction Models
- Code Review Automation
- Software Maintenance Assistants
- Architecture Understanding
- Technical Debt Detection
- Large-scale Program Analysis
Basic JSON Schema
{
"repository_name": "string",
"industry": "string",
"file_name": "string",
"file_path": "string",
"language": "string",
"commit_id": "string",
"pull_request_id": "string",
"code": "string"
}
Data Creation
The dataset has been procured through formal agreements and generated in the ordinary course of business.
Quality processing includes:
- Repository validation
- File integrity verification
- Metadata extraction
- Repository organization
- Source code normalization
- Industry categorization
- Version history preservation
Considerations
This repository contains sample data intended for research and educational purposes.
The complete enterprise collection consists of:
- 405 Legacy Codebases
- 4.79 Billion Tokens Count
- 204.40 Million Lines of Code
- 420,737 Commits
- 61,692 Pull Requests
- 23 Industry Domains
Enterprise licensing and access to the complete dataset are available through InfoBay.AI.
Website: https://infobay.ai/
Email: datareq@infobay.ai
Phone: (+91) 9236354075
Citation
If you use this dataset in your research, publications, or commercial applications, please cite the corresponding dataset repository.
License
CC BY 4.0
- Downloads last month
- 33