id string | family string | valid bool | defect string | severity string | title string | why_it_looks_valid string | caught_by string | tags list | artifact_files list | artifact_json string | atlas_version string | atlas_digest string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
cert.valid | certificate | true | [
"valid",
"certificate"
] | [
"bundle.json",
"preregistration.json"
] | {"bundle.json": "{\"format\":\"litholab-cert-bundle/1\",\"gate_certs\":[{\"K\":0.06087472771714682,\"budget\":0.05,\"delta_dose\":0.02,\"kappa\":1.163087153676674,\"loci\":{\"I_hi\":[0.11,0.1,0.13],\"I_lo\":[0.1,0.09,0.12],\"ae0\":[0.05,0.04,0.06]},\"n_photons\":100.0,\"name\":\"clip\",\"recorded\":{\"float_admit\":tru... | 1.0.0 | f278ae0d7fe885623b1b1ad2c3a742591a55d3c04bef6135b8e254d64e0abf64 | |||||
receipt.valid | receipt | true | [
"valid",
"receipt"
] | [
"valid.json"
] | {"valid.json": "{\"format\":\"equiv-receipt/1\",\"payload\":{\"cnf\":\"p cnf 8 17\\n-3 1 0\\n-3 2 0\\n3 -1 -2 0\\n-4 -1 0\\n4 1 0\\n-5 -2 0\\n5 2 0\\n6 -4 0\\n6 -5 0\\n-6 4 5 0\\n-7 -6 0\\n7 6 0\\n-8 3 7 0\\n-8 -3 -7 0\\n8 -3 7 0\\n8 3 -7 0\\n8 0\\n\",\"description_a\":\"a AND b\",\"description_b\":\"NOT(NOT a OR NOT b... | 1.0.0 | f278ae0d7fe885623b1b1ad2c3a742591a55d3c04bef6135b8e254d64e0abf64 | |||||
receipt.valid_counterexample | receipt | true | [
"valid",
"receipt"
] | [
"valid_counterexample.json"
] | {"valid_counterexample.json": "{\"format\":\"equiv-receipt/1\",\"payload\":{\"cnf\":\"p cnf 5 11\\n-3 1 0\\n-3 2 0\\n3 -1 -2 0\\n4 -1 0\\n4 -2 0\\n-4 1 2 0\\n-5 3 4 0\\n-5 -3 -4 0\\n5 -3 4 0\\n5 3 -4 0\\n5 0\\n\",\"description_a\":\"a AND b\",\"description_b\":\"a OR b\",\"drat\":\"\",\"encoder_id\":\"equiv-receipt.tse... | 1.0.0 | f278ae0d7fe885623b1b1ad2c3a742591a55d3c04bef6135b8e254d64e0abf64 | |||||
seq.valid_equivalent | sequential | true | [
"valid",
"sequential"
] | [
"valid_equivalent.json"
] | {"valid_equivalent.json": "{\"format\":\"equiv-receipt-seq/1\",\"k\":1,\"payload\":{\"design_a\":{\"gates\":[{\"args\":[\"s0\",\"en\"],\"op\":\"XOR\",\"out\":\"n0\"},{\"args\":[\"s0\",\"en\"],\"op\":\"AND\",\"out\":\"c\"},{\"args\":[\"s1\",\"c\"],\"op\":\"XOR\",\"out\":\"n1\"},{\"args\":[\"s0\",\"s1\"],\"op\":\"OR\",\"... | 1.0.0 | f278ae0d7fe885623b1b1ad2c3a742591a55d3c04bef6135b8e254d64e0abf64 | |||||
seq.valid_counterexample | sequential | true | [
"valid",
"sequential"
] | [
"valid_counterexample.json"
] | {"valid_counterexample.json": "{\"format\":\"equiv-receipt-seq/1\",\"k\":3,\"payload\":{\"design_a\":{\"gates\":[{\"args\":[\"s0\",\"en\"],\"op\":\"XOR\",\"out\":\"n0\"},{\"args\":[\"s0\",\"en\"],\"op\":\"AND\",\"out\":\"c\"},{\"args\":[\"s1\",\"c\"],\"op\":\"XOR\",\"out\":\"n1\"},{\"args\":[\"s0\",\"s1\"],\"op\":\"OR\... | 1.0.0 | f278ae0d7fe885623b1b1ad2c3a742591a55d3c04bef6135b8e254d64e0abf64 | |||||
seq.valid_undecided | sequential | true | [
"valid",
"sequential"
] | [
"valid_undecided.json"
] | {"valid_undecided.json": "{\"format\":\"equiv-receipt-seq/1\",\"k\":1,\"payload\":{\"design_a\":{\"gates\":[{\"args\":[\"s0\",\"en\"],\"op\":\"XOR\",\"out\":\"n0\"},{\"args\":[\"s0\",\"en\"],\"op\":\"AND\",\"out\":\"c\"},{\"args\":[\"s1\",\"c\"],\"op\":\"XOR\",\"out\":\"n1\"},{\"args\":[\"s0\",\"s1\"],\"op\":\"OR\",\"o... | 1.0.0 | f278ae0d7fe885623b1b1ad2c3a742591a55d3c04bef6135b8e254d64e0abf64 | |||||
seal.valid | seal | true | [
"valid",
"seal"
] | [
"valid.json"
] | {"valid.json": "{\n \"bound\": null,\n \"seal\": {\n \"digest\": \"ff025efd273f9a15eed314e5a8222371ba361de975b13ae5dfd9835d3b03ae79\",\n \"format\": \"prereg-seal/2\",\n \"note\": \"\"\n },\n \"spec\": {\n \"corners\": [\n \"nominal\",\n \"defocus+\",\n \"defocus-\"\n ],\n \"criterion\": \"worst-corner edge... | 1.0.0 | f278ae0d7fe885623b1b1ad2c3a742591a55d3c04bef6135b8e254d64e0abf64 | |||||
seal.valid_bound | seal | true | [
"valid",
"seal"
] | [
"valid_bound.json"
] | {"valid_bound.json": "{\n \"bound\": {\n \"measured_nm\": 2.4,\n \"seal\": {\n \"digest\": \"ff025efd273f9a15eed314e5a8222371ba361de975b13ae5dfd9835d3b03ae79\",\n \"format\": \"prereg-seal/2\",\n \"note\": \"\"\n },\n \"seal_binding\": \"2ca9683ade127f40337af6ac20b978c66a63e1ee05db4ebe85c1dcdd2a23aee6\",\n \... | 1.0.0 | f278ae0d7fe885623b1b1ad2c3a742591a55d3c04bef6135b8e254d64e0abf64 |
Certificate Failure Atlas
A labelled corpus of proof-carrying artifacts that look valid and are not, with a two-sided metric for scoring any verifier against them.
Why this exists
Verifiers are almost always tested on artifacts they are supposed to accept. What matters is what they reject, and there was no public corpus of near-miss forgeries to test that against. So a verifier's soundness was usually an assertion by its own author.
Every case here is a real artifact produced by a real toolchain, then mutated in one specific, named way — with the defect label, why the forgery looks valid, and which check is supposed to catch it.
Usage
from datasets import load_dataset
ds = load_dataset("<owner>/cert-atlas")
row = ds["invalid"][0]
print(row["id"], "|", row["severity"])
print(row["why_it_looks_valid"])
print(row["caught_by"])
No datasets install? The corpus is small and the loader is dependency-free:
from loader import load, iter_forgeries
d = load() # {"valid": [...], "invalid": [...]}
for case in iter_forgeries():
print(case["id"], case["title"])
To actually score a verifier, use the generator package rather than the flat rows — artifacts are directories and file groups that a table cannot fully represent:
pip install cert-atlas
cert-atlas build atlas
cert-atlas score atlas my-verifier --check '{path}'
Schema
| field | type | meaning |
|---|---|---|
artifact_files |
list[string] | filenames making up the artifact |
artifact_json |
string | JSON object mapping each filename to its contents |
atlas_digest |
string | content digest; rows are only comparable at equal digest |
atlas_version |
string | the atlas release this row came from |
caught_by |
string | null |
defect |
string | null |
family |
string | certificate |
id |
string | stable case identifier, e.g. 'cert.forged_verdict' |
severity |
string | null |
tags |
list[string] | free-form labels |
title |
string | null |
valid |
bool | whether a correct verifier should ACCEPT this artifact |
why_it_looks_valid |
string | null |
artifact_json is a JSON object mapping each filename to its contents, so a single row
reconstructs the whole artifact — a bundle.json plus its payload files, a receipt, or a sealed
specification. It is a string rather than a nested mapping because filenames differ per case, and a
struct over the union of every filename defeats columnar schema inference.
import json
artifact = json.loads(row["artifact_json"]) # {"bundle.json": "...", ...}
Fields that only apply to forgeries (defect, severity, title, why_it_looks_valid,
caught_by) are the empty string on valid rows, not null, so every column has one stable type.
Splits
Families: certificate, receipt, seal, sequential.
| split | rows | contents |
|---|---|---|
valid |
8 | artifacts a correct verifier must accept |
invalid |
28 | forgeries a correct verifier must reject |
By family: certificate (1 valid / 10 forged), receipt (2 / 8), seal (2 / 3).
The metric
detection = invalid artifacts correctly REJECTED / all invalid
precision = valid artifacts correctly ACCEPTED / all valid
atlas_score = min(detection, precision)
Ranking on the minimum is the design. Measured:
| verifier | detection | precision | score |
|---|---|---|---|
| reference | 1.000 | 1.000 | 1.000 |
| accepts everything | 0.000 | 1.000 | 0.000 |
| rejects everything | 1.000 | 0.000 | 0.000 |
| crashes on everything | 1.000 | 0.000 | 0.000 |
Both degenerate controls ship with the tooling and are asserted to score zero in its test suite.
Three cases worth reading
receipt.swapped_cnf— the proof genuinely refutes the formula presented; it just is not the formula corresponding to the circuits. Catching it needs the encoder identity committed, not only the proof.cert.vacuous— every certificate deleted. The bundle stays well-formed, so a pure format check reports success. This case exists because it was found by attacking the reference verifier, which had the bug.seal.repointed_bound_seal— criteria doctored and a matching seal minted, so the two agree perfectly with each other. Only a binding over both catches it.
Provenance
Generated by cert-atlas 1.0.0 from artifacts produced by the
reference toolchain (lcert-verify, equiv-receipt, prereg-seal), then mutated by the named
transformations in cert_atlas.generate. No third-party or proprietary data is included; every
artifact is synthetic and generated on demand.
Atlas digest: 8b7f021842dff8909e7ea696d28b1896e7411ee185882ecabed6ed1dae7335a1
The corpus is byte-reproducible — nothing is randomised, and cert-atlas build from a fixed
version yields this digest. Results at different digests are not comparable, and the scorer reports
the digest with every run.
Limitations
- Hand-designed, not exhaustive. Scoring 1.000 means sound against these 28 forgeries — a lower bound on soundness, never a proof of it.
- Cases are deliberately small; they exercise decision logic rather than scale.
- The forgeries were written by the same authors as the reference verifier. That is a real bias, and it is why adversarial contributions matter more than passing scores.
- The corpus tests verifiers, not physics. It says nothing about whether a certificate's numbers describe a real physical object.
The rest of the toolkit
| lcert-verify | Re-derive a manufacturing certificate's verdict. Stdlib only. |
| equiv-receipt | Prove two circuits equivalent, with a re-checkable receipt. |
| prereg-seal | Seal acceptance criteria before you measure. |
| cert-atlas | This corpus, plus the scorer. |
| certified-mcp | All of it, as tools an AI agent can call. |
| 🔏 Try the verifier | In your browser. Nothing uploaded. |
Licence
Apache-2.0. See LICENSE.
- Downloads last month
- -