The same shape, every time.
For engineers who depend on CAD software being right. The engine that computes every shape is tested against known answers, and a wrong shape that looks fine is treated as a failure.

A case that passed must still pass.
The gate runs every case on OpenCascade and on the npm build of SMLib, each in fresh processes. Its results are held to a recorded list of known answers, and it runs whenever the geometry engine changes. When that list was told that case F08 passes, the gate stopped:
F08 fail heat sink, fillet overlapping the hole by 0.5, hole first
F19 lie boolean identities on seeded pairs of boxes and cylinders
GATE: occt F08 passed in baseline.json and is now fail
exit 1The shipped engine passes most cases. Each one it fails is named.
Each case is a body with a known answer: a closed-form volume, a boolean identity, a seam that must not move, a refusal that must be honest. OpenCascade is the engine the 3D service ships. It fails a fillet over a hole, blade roots swept through a pitch, and the face history of a fillet and a move. It refuses a rounded box shelled inward, where the npm SMLib answers with a wrong body. One boolean case on seeded boxes and cylinders gives a wrong answer and is recorded as a known defect.
One answer on every run. The npm SMLib gives a different shelled box almost every time.
Every case runs in many fresh processes on each engine, and each run's body is hashed. An engine that gives two hashes for one input is not deterministic on it, whatever its status says. OpenCascade and our SMLib fork give one answer to every case. The npm SMLib gives a different wrong body for the shelled box nearly every time it runs, night after night.
In its first weeks our fork sometimes gave two answers for one case; it has not since. Our patched build fixes every random choice the engine makes. It is not the engine we ship: OpenCascade is.
Over 29 nightly runs from 2026-10-16 to 2026-11-13, the npm build of SMLib gave 24 distinct results for F09 on the first 7 nights, 21 on 2026-10-23, 23 on the next 14 nights and 21 on the last 7. Our SMLib fork gave 1 result for F09 every night.
The numbers
| Night | SMLib 0.3.0 (npm) | Our SMLib fork |
|---|---|---|
| 10-16 | 24 | 1 |
| 10-17 | 24 | 1 |
| 10-18 | 24 | 1 |
| 10-19 | 24 | 1 |
| 10-20 | 24 | 1 |
| 10-21 | 24 | 1 |
| 10-22 | 24 | 1 |
| 10-23 | 21 | 1 |
| 10-24 | 23 | 1 |
| 10-25 | 23 | 1 |
| 10-26 | 23 | 1 |
| 10-27 | 23 | 1 |
| 10-28 | 23 | 1 |
| 10-29 | 23 | 1 |
| 10-30 | 23 | 1 |
| 10-31 | 23 | 1 |
| 11-01 | 23 | 1 |
| 11-02 | 23 | 1 |
| 11-03 | 23 | 1 |
| 11-04 | 23 | 1 |
| 11-05 | 23 | 1 |
| 11-06 | 23 | 1 |
| 11-07 | 21 | 1 |
| 11-08 | 21 | 1 |
| 11-09 | 21 | 1 |
| 11-10 | 21 | 1 |
| 11-11 | 21 | 1 |
| 11-12 | 21 | 1 |
| 11-13 | 21 | 1 |
Hold an engine to known answers.
The suite, the gate and the fork are in the repository. A change to the engine that drops a passing case does not land.










