Code training data
Code training data is a set of source code, commits, issues, tests and engineering workflows used to train models to write and repair software.
Last reviewed
What code training data contains
- Repositories and commits
- Bug reports and fixes
- Unit tests
- Human code reviews and expert solutions
Who buys it and how it is priced
| Attribute | Value |
|---|---|
| Belongs to | training data |
| Main buyers | Labs and companies building coding assistants and agents |
| Pricing | Licensed corpora are priced per dataset. Expert-written solutions and reviews are priced per hour or per task. |
Quality criteria and risks
Quality criteria
- License clarity
- Test coverage
- Recency
- Decontamination against public benchmarks
Risks
- Open-source license obligations
- Secrets in code
- Benchmark contamination
Providers that list code training data
Auction and pricing mechanisms that fit
- Posted-price sale: Fits catalogue datasets that can be sold many times, such as cloud data exchange listings.
- Reverse auction: Fits a buyer that knows what it needs and wants several vendors to compete, such as sourcing expert data from labs.
Key terms
- data provenance
- Data provenance is the documented history of where data came from, who created it and what rights attach to it.
- held-out set
- A held-out set is a portion of data deliberately excluded from training so it can test the model fairly.
- data licensing
- Data licensing is the grant of rights to use a dataset for stated purposes, in return for payment or other terms.
Frequently asked questions
- Is open-source code free to train on?
- Not automatically. Licenses differ, and some impose attribution or copyleft terms. Check each license and the jurisdiction's rules.