Tests
You shouldn't have to take our word that the contracts behave. The test suite runs offline, so you can clone the repo and run it yourself in a few minutes.
We re-ran everything on main at commit 244b358 on 3 Dec 2026. Foundry passed 200 tests with none failing, and 8 fork tests were skipped because they need a live RPC (6 break-it fork tests and 2 mainnet fork tests). The script and web unit tests passed 58 of 58. The repo's docs/TESTS.md now reports the same 258 passing tests: 200 Foundry and 58 unit.
What the tests cover
The Foundry suite runs against the real, unmodified Uniswap v2-core pair, with the Reactive system contract mocked at 0x8888… and a mock callback proxy. It includes fuzz tests on the maths, the vault and the Reactive contract, invariants run over 128,000 calls, reentrancy and replay checks, and regression tests for every attack on the break-it page. The newer suites add 23 tests for the Chainlink-priced v3 vault and 21 for Pilot's registry, scorer cap, veto and fallback. One small test even fails the build if block.number ever appears in the contracts, because every timer uses timestamps.
The unit tests check the guest gate on the live site, the formatting and percentile maths, and that the published latency numbers (1,775 ms p50, 2,368 ms p95) can be recomputed from the raw CSV.
Run them yourself
cd contracts && forge build && forge test # 200 pass, 8 fork tests skip without an RPC
cd .. && npm ci && npm run test:unit # 58 pass