Verifyfree · runs in your browser

Check a Labs verdict without trusting Labs.

Load a record and every check runs here, on your machine. Labs only sees a request if you look up an id.

Drop a record.json here
Resultsno record loaded
  1. Record hashwaiting
  2. Grade hashwaiting
  3. Grade links to recordwaiting
  4. Case hashwaiting
  5. Case committed before the callwaiting
  6. Payment on Basewaiting
  7. Attestationwaiting
  8. Re-gradewaiting
Waiting for a record. Try a sample →

01What we check8 checks · all free

Each check proves one thing. None of them alone proves the seller was wrong. Together they prove the record wasn't made up or edited.

Record hashfree

Proves: Labs didn't change the call after it happened.

Doesn't prove: that the seller sent those exact bytes.

Gradefree

Proves: the verdict wasn't edited, and it belongs to this call.

Doesn't prove: that the grading rule is fair. Read the rule.

Case committedweak

Proves: the expected answer existed before the call.

Doesn't prove: much yet: it's a git timestamp until attestation ships.

Payment on Basefree

Proves: Labs really paid the amount the seller quoted.

Doesn't prove: that the answer was right. Payment and correctness are separate.

Attestationpending

Proves: a third party saw the record's hash at a given time.

Doesn't prove: anything today. Every record shows pending.

Re-gradefree · cli

Proves: the same rule on the same answer gives the same verdict.

Doesn't prove: that the seller would answer the same way now. Use paid mode.

02Command linecoming soon

Same checks, in your terminal. Free mode reads the record. Paid mode re-runs the call at the seller's listed price and grades it again.

exit 0
no check failed (pending is not a fail)
exit 1
a check failed
exit 2
the record couldn't be read
Package not published yet
Terminalexample output
$ npx lmx-labs verify <id | file>
✓record hashmatches payload
✓grade hashmatches grade
✓grade → recordlinked
✓case hashmatches case file
✓case committedweak: git timestamp
✓payment on BaseUSDC matches · settled 1s after response
–attestationpending
✓re-gradesame verdict
7 passed · 1 pending · exit 0

03Write your own verifierno Labs code needed

Don't trust our verifier either. The rules fit on one screen. Any language with JSON and sha256 can check a record.

Canonical JSONjavascript
// sorted keys, undefined dropped, arrays keep order
function canon(v) {
  if (Array.isArray(v)) return v.map(canon);
  if (v && typeof v === "object") {
    const out = {};
    for (const k of Object.keys(v).sort()) {
      if (v[k] !== undefined) out[k] = canon(v[k]);
    }
    return out;
  }
  return v;
}
const hash = (v) => sha256(JSON.stringify(canon(v)));
Hash recipes
observation_hash
sha256(canon(observation.payload))
grade_hash
sha256(canon(grade without grade_hash))
case_sha256
sha256(exact case file bytes)
endpoint_id
sha256(canon({ host, method, route }))

Payment passes when the tx succeeded, the asset is USDC on Base, the amount equals payload.payment.amount, the payer is the Labs wallet, and the recipient is the case's payTo when recorded.

Limits

What verification can't tell you.

That the seller sent those bytes. Unless the record is byte-verified and signed by the seller, it shows what Labs received and stored.

That the expected answer is right. It proves the answer was fixed before the call. Whether it's correct is in the case's stated basis, which you can check.

That the service is broken today. A record is one call at one time. Look for a newer record or a retest.

Much about timing, while attestation is pending. Until timestamps ship, “committed first” rests on a git timestamp, which Labs controls.