Short answer
Source code can be valuable to AI companies because they teach coding models real-world engineering practices. They are typically licensed under a written agreement rather than sold outright, and preparation usually involves checking licenses and scrubbing secrets.
Document stack
Data types
Licensing terms
With SourceX, the signed supplier agreement sets the data in scope, the exclusivity term, the fee and payment timing. It also records that re-identification may still be possible and that SourceX is not liable for it.
What a code dataset contains
A repository holds more than source files. The history around the code, meaning who changed what, why, and what reviewers said, is often what an AI team values most.
| Part of the repository | What it shows | What is checked first |
|---|---|---|
| Source files | How working software is structured | Third-party and open-source code |
| Commit history | How code changes over time, and why | Names and emails of contributors |
| Pull requests and reviews | How engineers critique and improve code | Customer names and internal references |
| Tests | What correct behaviour looks like | Test data copied from real records |
| Configuration files | How systems are set up | Keys, tokens and passwords |
Ownership comes first
Code is the data type where ownership is most often mixed. A typical repository contains code your employees wrote, code contractors wrote, open-source libraries and sometimes code written for a customer.
Employee code is usually the company's, under employment and IP assignment terms. Contractor code depends on the contract. Code written for a customer may belong to the customer.
Open-source components keep their own licenses. Some licenses carry conditions on redistribution, so the open-source parts of a repository are identified and handled separately from your own code.
Secrets and personal details in code
Repositories often contain credentials. Keys, tokens and passwords get committed by accident, and they stay in the history even after they are deleted from the current files. Scrubbing covers the history, not only the latest version.
Commit metadata carries names and email addresses. Comments and test fixtures sometimes hold customer names or real records copied in for debugging.
PII detection is automated scanning that finds personal details, such as names, emails, phone and account numbers, in data. Tools combine pattern matching with named entity recognition, with human review of samples to measure what was missed.
What makes a code dataset stronger
Review history. Pull requests where engineers explain what is wrong and how to fix it teach more than the final code does.
Tests and outcomes. Code with tests shows what correct behaviour looks like, which matters for evaluation.
Rarity. Legacy languages and specialized domains are harder to find publicly than mainstream web code.
On a SourceX deal
SourceX also reviews source code, CAD files, audio, video and games. A company that lists source code is asked a few facts about it once, and those answers travel with the inventory.
The signed supplier agreement sets the data in scope, so you choose which repositories are included and which stay out.
Find out if yours qualifies
SourceX licenses data like this directly from companies and pays them for it: we handle everything from qualification and rights review to contracts, delivery and payment. We can check current demand; nothing is shared during the initial assessment. See if your company's data qualifies.
Frequently asked questions
Can I license the same data to multiple Acquisition Partners?
Often yes, unless you grant exclusivity.
Can I license code that includes open-source libraries?
Your own code may be licensable. Open-source components keep their own licenses and are identified and handled separately.
What about secrets committed years ago?
They remain in the history, so scrubbing covers the full history and not only the current files.
Do I choose which repositories are included?
Yes. The signed supplier agreement sets the data in scope.
See if your company qualifies
A short company assessment. No data uploads are needed.