Moresq Corpus

Verified snippets

Verified code snippets beat anonymous generated boilerplate.

The value of a snippet is not only the code. It is the evidence around it: where it came from, whether it was reviewed, how often it was used, what it costs and whether it can be revoked.

The trust problem

An AI agent can generate plausible code quickly, but plausible is not enough for auth, billing, data access, deployment and security-sensitive helpers. Verified snippets reduce the review surface by attaching provenance.

Receipts make reuse accountable

Every retrieval should leave a receipt: source hash, quality labels, license state, estimated savings, report path and learning event. That is the difference between copy-paste memory and governed reuse.

A marketplace needs discipline

Reusable code can become an asset only when low-quality deposits, private glue, unsafe patterns and license ambiguity are filtered before they reach production workflows.