For teams running autonomous labs
What a deterministic claims layer does for a high-throughput lab: separating real disagreements from noise, refusing unfair comparisons, catching bad records, and checking agent-written plans before they run.
This page is for people who run automated or high-throughput labs. It explains, in plain words, what this repository does and why it might matter to you.
One rule governs everything here: every number comes with its sample size, and tests fail the build if a number drifts from its registered value. Built with AI assistance; every decision was reviewed and is logged, and corrections are public. I assume your team has already solved some of the problems below. What I offer is an independent implementation you can check yourself in an afternoon.
The examples use public data: a high-throughput OER electrochemistry release (Caltech HTE, CC BY 4.0), a published eleven-lab comparison study (nine labs with readable data), and a published autonomous-lab benchmark. The chemistry is the test case. The machinery does not depend on it.
1. Two runs disagree. Is that real, or is it noise?
Run the same material twice and the numbers differ. By how much before it means something? Most pipelines guess. Guess too tight and you chase ghosts. Guess too loose and you miss real contradictions.
I measured it instead. In that study, eleven labs measured the same material; nine had readable data. The central range across them is 90.7 mV (n=9). The comparison engine treats that measured spread as the floor. Fork counts are only ever reported with the threshold used: (full sweep: 4, 15, 20, 23 forks at thresholds of 15, 10, 7.5 and 5 mV; n=36 pairs; 9 of 11 labs mappable).
What this gives you: when the system flags a disagreement, it has already cleared what normal lab-to-lab variation looks like. People investigate signal, not noise.
2. Results get compared that should never be compared
A number measured on glass gets plotted next to a number measured on silicon. A 15-second hold gets compared with a 10-minute hold. The plot looks fine, because numbers always look fine.
Here, every claim becomes a card that carries its conditions: material, value, substrate, hold time, electrolyte, and so on. A judge compares two cards. The judge is plain code. No AI inside it, no text input. Same cards in, same verdict out, every time, with a hash you can re-run. If the conditions do not match, it refuses to compare, and it names the condition that failed.
A real case from this repo: I compared two datasets. 7,115 pairs, 1,881 samples, 1,041 matched pairs across 58 compositions, 297 samples at the closest condition. The judge refused, because three recorded conditions fail independently: hold time, substrate, deposition method. And on a known pair of palladium papers that agree, it refused to invent a disagreement. The human review of those two cards, including the mistakes it caught, is public in the closure records.
What this gives you: cross-campaign comparisons become safe by default. The system says "not comparable, and here is why" instead of quietly averaging apples and oranges.
3. Bad records slip into every result store
Big result stores collect errors: transcription slips, impossible values, measurements that went past what the instrument was set to allow. This is normal. It happens in every lab and every database, ours included. Models train on those records. Decisions inherit them.
I ran the check on the public release this work builds on. A dataset of this size and age is expected to carry some slips; finding them is what the check is for, and it is no criticism of the people who made the data. I ingested 140,708 claim cards from that release (n=140,708) and sorted every comparison into six buckets, always reported together: not comparable 74,569; within floor 80,144; replicate inconsistency 0; fork 0; suspect transcription 16,613 (test half); catalog untestable 6,231. A compliance pass found 5,131 of 70,152 records that went past their own recorded instrument limit by more than 0.5 V, plus 920 records with impossible values (overpotential at or below zero). The limit field itself was present in all 70,152. And on clean null data the pipeline invents nothing: false positive rate 0.000 (n=1,228, q=0.05).
What this gives you: run at ingest time, the same check catches bad records before they spread into models and decisions. A data team gets a typed defect list instead of a vague worry.
4. An agent wrote a plan. Is it safe to run?
Agent loops write experiment plans faster than people can review them. Manual review becomes the bottleneck, or it gets skipped.
I built a gate that checks each typed plan against typed safety rules in about 20 ms (evaluated in the public helao simulator with benign stand-in rules; not yet run on a live lab). Its record: 13,627 benign plans, zero wrongly blocked and zero sent to a human as unsure, including a 990-plan surprise subset that also produced zero false blocks. Against attacks the typed gate let none through on the programmatic suites (n=37; n=240 adaptive), and an LLM attacker scored 0 of 12 in a preregistered run, then 0 of 48 and 0 of 48 (exact confidence interval 0.00 to 0.074 per mode). By contrast, a frontier LLM used as the gate — not as the attacker — let 0.28 of attacks through (n=36), and still 0.08 even when handed the gate's own parity information. The two independent checkers agreed on 12,000 of 12,000 plans, and every counterexample replayed, 458 of 458. One limit, stated rather than hidden: 7 of 34 attacks aimed at hazards outside the ruleset got through (20.6%) — the gate is only as good as the rules written into it.
The safety rules live in a format where each rule carries a grade and a source, compiled into machine checks with no text input. It ships with a six-rule demonstration seed, reviewed and signed by the maintainer, under a policy that keeps dangerous content permanently out, enforced by an automatic scan. Filling the format with your real safety content is your experts' work. The container, the compiler and the gate are done.
What this gives you: safety review that scales with the loop. Humans set the rules once. The gate enforces them on every plan, with an audit trail.
5. Which disagreement is worth your next experiment?
The most valuable thing a claims layer can produce is a short list: the contradictions in your results, ranked, each one resolvable by an experiment your platform can run.
Published papers cannot feed this. In my census, about 3 result sentences in 100 state the correction method, and a single material needs roughly 600 condition-complete claims where public sources give about 20.
So here is what I can prove, honestly. The hunting machinery exists and its accuracy is measured. When I planted disagreements, it found all of them: recovery 1.00 and 1.00 (n=33). On null data it invented none: false positives 0.000 (n=1,228, q=0.05). On public data the hunt ran and came back empty, and I publish that as a fact about public data. A separate cross-field matcher test also came back empty: 0 of 60 candidate pairs.
Your internal records are different. They carry exactly what papers drop: the conditions, as data. Pointed at a LIMS, an ELN or a platform's run store, the same engine is designed to surface inconsistent replicates and rank contradictions. The planted-disagreement numbers are the evidence it works the moment the data exists. A full detect-and-write-back loop runs end to end on synthetic data (labelled synthetic, n=1 cycle); it is designed for live streams and has not yet run on one.
6. Why trust the verdicts?
Fair question. My answer: do not trust it. Check it.
Every public number is registered with its sample size, and a test fails the build if it drifts. The repository rebuilds byte-identically from source. Pre-registrations were written before data was read. A corrections file lists every error found so far, each fixed in a visible commit. A human gate sits over extraction, and it earns its keep: on the two closure cards it caught a missing stated condition and an invented number, both corrected on the record, with the before and after preserved.
Where the AI sits, and where it does not: a language model reads sentences into cards. That step is the measured weak link. A prompt-injection probe steers extraction in 0.30 of cases overall and 0.91 in the worst class. That is exactly why the judge that issues verdicts has no text input at all, and why a human reviews cards. The comparison grader was checked three ways: its verdicts matched an independent logic-program rewrite on 213 of 213 and an SMT encoding on 311 of 311, with machine-checked proof coverage of 0.9842 (n=316). These are internal-consistency checks that the code computes what it claims, not agreement with an outside human panel. One piece is a design only: a trace audit that would check each agent decision against the evidence available at that step. It needs private traces by definition, so it is not built.
What this gives you: trust that does not depend on taking my word. Every number has a receipt. Every mistake has a commit. Every unproven part says so. And the human attention a lab does spend goes further here, not shorter: reviewers get typed records with verdicts and named defects instead of raw text, and review can narrow toward a safety-only check as measured reliability rises.
The full system, stage by stage
The capabilities above are not a toolbox; they are stages of one planned loop, the operator's checking layer end to end. Here is every stage, what runs today, and exactly what unlocks the rest.
- Read the literature and the lab's records into typed claim cards, each tied to its exact source sentence. Runs on real data today: 34 approved claims from the first corpus, 73 from the expanded one, 140,708 cards from a public database (n=140,708). Extraction is the measured weak link (test-retest stability 0.25 to 0.42, below a 0.70 gate, on identical passages), which is why a human approves cards; everything after runs without one.
- Compare every pair: match, real disagreement (a fork), or refusal with the failed condition named. The refusing half runs at full scale on real data today: 561 refusals with recorded reasons on the first corpus, the full six-class accounting on the database, and the 1,041-pair cross-dataset refusal with committed receipts. The fork-finding half is proven on planted disagreements (recovery 1.00 and 1.00, n=33; false positives 0.000, n=1,228, q=0.05) and finds zero on public text. Root cause, measured: about 3 result sentences in 100 state the correction method, and a material needs roughly 600 condition-complete claims where public sources yield about 20. Possible with: any claim source that records conditions as data, a LIMS, an ELN, an autonomous platform's run store.
- Decide whether a fork is settleable by the lab as it stands: which instrument, what cost, under what assumption. Built and tested against the public simulator and generic instrument limits; it has never been fed a real fork. Possible with: stage 2 running on condition-complete data, plus the lab's own instrument map.
- Compile a settleable fork into an experiment card and then into the lab's own plan format. Built and demonstrated end to end: the compiler emits helao-format plans, with gate receipts and simulator traces, from a synthetic case. Possible with: a real fork from stage 3.
- Gate every plan before it runs. Runs today in simulation, published, evaluated: about 20 ms, zero false blocks on 13,627 benign plans (including a 990-plan surprise subset) with zero abstains, zero attacks through the typed gate on the programmatic suites, an LLM attacker at 0 of 12 preregistered then 0 of 48 and 0 of 48 (exact CI 0.00 to 0.074 per mode), and it beat a trained classifier and two LLM gates in the same harness. Disclosed blind spot: 7 of 34 attacks aimed at hazards outside the written ruleset got through (20.6%).
- Run the experiment and write the verdict back onto the original claims. The verdict machinery runs on real data today: the durability check found all 84 points of the paper's own figure within the stated bound plus the comparability floor (maximum 0.5055 V), a self-consistency verdict the repo labels as such; the public H-cell file returns 9 of 9 not comparable because it carries no conditions. The full detect-to-write-back cycle has run end to end on synthetic data (labelled, n=1 cycle). Possible with: result streams that carry their conditions.
- Audit the operator's own reasoning traces: was each decision supported by the evidence available at that step? Designed, not built, and it cannot be built from outside; it needs private traces by definition. Possible with: trace access inside a lab. This is the one stage that exists only as a design.
- Map shared structure across fields, so a mechanism proven in one domain can be found operating in another. The machinery ran honestly and returned a true null on its first real hunt (0 of 60 candidate pairs above the match bar), published with its denominator. Possible with: deeper corpora under the same preregistration rails.
Four stages run on real data today, and the safety gate runs in simulation. Two more are built and waiting on exactly one thing, data that records its conditions, which is what a lab has and public text does not. One is a design that only makes sense inside. Nothing here is abandoned; every waiting stage names its unlock.
What I do not claim
I found no contradictions in public data; the buckets above say so. The write-back loop has run only on synthetic data. The typed safety layer has a stated blind spot. The trace audit is a design. Everything unproven here is labelled, and everything labelled proven can be rerun by you.
Check it in an afternoon
Clone the repo. Run the tests and make reproduce. Read the numbers lock, the corrections file, and the closure records with both verdict hashes. Then judge the one claim this page makes: the same machinery, pointed at data that records its conditions, becomes the claims layer an autonomous lab needs.
Found a problem? Open an issue. Maintained by Anuja Khatri.