Insights
The scenes had to prove their math
· verification · scenes · testing
Every hero on this site is a claim. The server room on the privacy page says it runs M/M/c queues with Erlang-C stationary analysis and a PII enclave that only releases ciphertext. The optics scene on the terms page says its rays obey Snell refraction through biconvex surfaces at two refractive indices. The legal page says its merkle demo hashes a real citation chain. The dimensions page says it morphs through genuine SO(4) rotations before projecting out of w.
Spec tables publish those claims next to the scenes. What they didn’t have — until recently — was anyone checking them.
The instrument
tools/verify-scenes.mjs is the gate. It doesn’t test a mock or a spec document; it extracts the shipped function bodies out of the scene scripts and executes them — verbatim, closure-scoped harnesses and all — against the constants the spec table publishes. Poisson arrivals get Knuth-tested against e^(−λ). The Erlang-C still gets checked against textbook values at ρ = 0.5. The queue sim gets run for hundreds of simulated seconds and its throughput compared to λ, because in a stable M/M/c queue throughput equals arrival rate — that’s not a vibe, it’s a theorem.
Every scene also carries a header comment naming its claims in machine-checkable form: fixed sim step, buffer caps, sampling ratios, enclave boundaries. The gate asserts the code honors each one. And every gate has a negative test — we mutate the shipped code on purpose and confirm the suite fails. A gate that can’t fail is decoration too.
The count at publication: 1,314 assertions across the mounted scenes, zero failures.
What the gate caught
The honest part is what it found. Four scenes were lying — not in intent, in mechanism:
The recall field wasn’t conserving energy. The spreading-activation waves on the Synapse page gained activation from nowhere — the update rule added inflow without a matching decay term, so energy compounded across hops. Mathematically it still looked like recall; physically it was a pump. Fixed at the source, gated by an energy-budget assertion.
The globe drew fake great circles. The arcs between points were lerped in screen space — chords pretending to be geodesics. On a sphere, the shortest path between two points isn’t a straight line in any projection; it’s the great circle. The fix computes real spherical interpolation. The gate now asserts arc midpoints lie on the sphere’s surface, not inside it.
The merkle edges floated. On the legal page, every tree edge leaving a citation block started at rowsY[0] — a coordinate sixteen percent of the stage height above the block it claimed to join. Nothing is drawn there. The chain was geometrically detached from its leaves, and had been since the scene shipped. A geometry gate now proves every edge endpoint lands inside the shape it claims to connect — it caught the bug on the first run and fails again if anyone reintroduces it.
The cascade gates were statistically invisible. The ICM propagation model was honest, but the shipped graph had exactly two gate edges in 225 — both one-way, out of a single node, leaving one of three communities with no path in or out. The scene’s signature visual, the amber policy-checkpoint flash, fired a handful of times per hour of viewing. A deterministic bridge pass now guarantees coverage of all six ordered community boundaries while keeping gates sparse at ~3% of edges.
Two more were caught before shipping: the optics march selected the farthest valid surface hit instead of the nearest, and let total-internal-reflection flip the medium state; the fix picks nearest-per-step and clips at the screen plane. And a negative test on the server queues initially passed when we mutated busy to c+1 — the extra service roll was invisible in aggregate totals. The gate got stronger: per-step trajectory assertions now pin exactly how many completions each simulated step allows.
The discipline that makes it mean something
The gates only matter because the math doesn’t move for convenience. When we optimized the server room — the 4,198-path SVG mount, the scan-layer blend mode, the draw-in duration — simStep, mmcStationary, and the PII egress rules stayed byte-identical. Performance work touched rendering, never the model. The spec table kept telling the truth because the truth was never the thing being optimized.
The same standard runs in reverse: when a scene’s math was wrong, we fixed the math and let the gate prove it — not adjusted the gate to match the code.
Why a marketing site does this
Because the product is verified systems. You can’t sell “claims that carry evidence” from a site whose own claims can’t be checked. The scenes are the firm’s physics made visible — Hopfield basins, queueing networks, refraction, merkle chains — and physics doesn’t get a decorative pass.
The site practices what it sells. The spec table is the claim; the gate is the evidence; the assertion count is the receipt. If a scene can’t pass its own math, it doesn’t ship — and if the math changes, the gate changes with it, or the build fails.
Thirty-three instruments. 1,314 proofs. Zero exceptions — the state of the gate on the day it went live.