Code with Author Rationale (25,000 samples)

Code with Author Rationale (25,000 samples)

TEXT

COMMERCIAL

CAPTIONED

Contributors paste code they wrote (a script, a function, a SQL query, a spreadsheet formula) and answer two questions: what it does, and why it was built that way, including the approach rejected. Copied or third-party-licensed code, explanations without the why, and trivial snippets are excluded. One sample per contributor, from a global base strongest in Southeast Asia, the United States and Europe, in whatever languages people work in. Public code is abundant and its reasoning rarely written down: The Stack is huge and permissively licensed, with no record of why a line was written the way it was. The rationale is a decision trace from the author, the supervision reasoning-focused code models lack.

Volume

25,000+

Samples

Contributors

25,000+

Regions

100+ countries

Updated

Technical specs

Technical specs

What’s in the collection and how it’s delivered.

Data modality

Text

Annotated

Captioned (what it does, why, rejected alternative)

Exclusivity

Non-exclusive rights

Capture tool

Typed in the Kled app

Use cases

Code reasoning and rationale generation, code explanation models, design-decision supervision for code LLMs

Format

Plain text

Resolution

Plain text, UTF-8

Total volume

25,000+ samples (approx. 125 MB)

Regions

100+ countries

Purity level

99%+ passed QA review

Ready to test
this dataset?

Ready to test
this dataset?

Get a sample set to evaluate, or talk to our data team about volume, exclusivity, and custom collection.

Get a sample set to evaluate, or talk to our data team about volume, exclusivity, and custom collection.