Put to the test

What we tested, and what we didn’t

Every number on this page is produced by benchmark/run_benchmark_dimensional.py — a script anyone can run. We publish methodology, honest limitations, and negative results. The numbers are not cherry-picked from multiple runs.

95.8%

total detection recall

5 seeds, n=9,333 train trials

100.0%

auto-exclusion precision

when the engine auto-excludes a trial, it is genuinely corrupted

6.8s

validation latency ±0.6s

full dimensional-analysis cascade, CPU-only, n=9,333 rows

Dataset — production scale

A synthetic but physically self-consistent aerodynamics dataset: 9,333 training trials and 4,000 held-out test trials. Generated from exact physical relationships (Re = ρvL/μ, Ma = v/c, P = ρRT) so ground truth corruption labels are available and the ideal-gas anchor has something real to verify against.

Corruption model

30.2% of training trials are corrupted across 6 documented categories: solver divergence (drag/lift coefficient spikes, 5%), unit conversion — Pa vs kPa (4%), cross-variable inconsistency — Re scaled 1.7–2.2× (4%), copy-paste near-duplication (2.5%), sensor drift — progressive 1–9% velocity creep (15%), and measurement noise — ±12% target perturbation (5%). Corruption placement is fully randomised per seed. Identical dataset generator and corruption injector as the retired engine’s benchmark, for a fair comparison.

Architecture: 9-layer dimensional cascade

Layer 0 — Units resolution: maps every column to SI base-dimension exponents via a dictionary (LLM fallback for unresolved columns), converts non-SI units, and emits per-column confidence.

Layers 1–4 — Discovered laws: enumerates dimensionless Pi-groups, finds ones that are constant across rows (exact laws) or match a known physical constant (anchored constants — the layer that stays correct even past 50% corruption, since a constant doesn’t move with the data), and detects bimodal unit-convention splits.

Layer 5 — Pi-space response surface: local — a k-NN regression in log-transformed coordinates catches corruption that breaks no law and stays in-range but doesn’t fit the learned Cd = f(Re, Ma)-style relationship. Global — a robust regression (IRLS with Huber weights, numpy-only, no new dependency) fit against the same reference sample, run alongside the local check. This closes a real gap: corruption clustered in feature space (e.g. a whole velocity band from one bad solver run) makes a corrupted row’s nearest neighbours mostly other corrupted rows, so the local fit can validate the cluster against itself — measured catching only 1 of 39 rows in a clustered-corruption test before the global check was added. A global fit is barely perturbed by a minority cluster, so it stays sensitive to exactly what the local check misses. Both feed the review tier below.

Layers 6–8: semantic bounds (definitional impossibilities — a fraction outside [0,1]), declared-condition assertions, and structural checks (NaN/Inf, exact duplicates, and near-duplicates via magnitude-aware significant-figure bucketing — catches a copy-pasted block disguised with ~1e-5 relative noise even on large-magnitude columns like Reynolds number, which decimal-place bucketing alone misses).

Two output classes, not one exclusion list

Auto-excluded (17.9% recall, 100.0% precision): impossible or unsuitable-for-training rows — an anchored constant is violated, or a definitional bound is broken. No human review needed; this tier is never wrong on this benchmark.

Flagged for review (brings total recall to 95.8%): rows that deviate from the response surface but don’t break a provable law. The engine is not confident enough to auto-remove these — it surfaces them for a human decision instead.

Baselines

Two baselines: (1) untouched corrupted training set, and (2) naive IQR outlier removal + z-score filtering at 4σ. On this benchmark, naive filtering is competitive with — and on MLP, currently beats — the auto-excluded-only tier, because it catches large-magnitude statistical outliers (like the solver-divergence spikes) that don’t violate any checkable physical law. See the limitations section below; we are not hiding this.

Runs & variance

Every number is mean across 5 seeds (42, 123, 456, 789, 1337). A single-seed run is an anecdote. Total benchmark time: 128.9s on a CPU-only container — including all 5 validation runs, all model training, and all evaluation. No GPU, no network calls, no special hardware.

Latency — the honest number

Validation latency at n≈9,333 rows is 6.8s ± 0.6s. Most of this is the response-surface layer's k-NN search (fit against a bounded 1,500-row reference sample for tractable distance-matrix cost, but every row is scored against it — an earlier version of this layer silently skipped ~84% of rows above 1,500 total, which is exactly the kind of gap this benchmark exists to catch).

Reproducibility

Run it yourself: python -m benchmark.run_benchmark_dimensional. No hidden data files. Output writes to benchmark/results_dimensional.json, which this page reads directly.

Limitations — read before citing

  • Synthetic data. Generated from known physical relationships. Real datasets have correlated noise, multi-physics coupling, and instrument-specific failure modes not captured here. These numbers are a controlled proof of mechanism, not a production SLA.
  • Single domain, single feature set. All runs use an 8-column aerodynamics dataset. Recall depends heavily on which anchored constants and declared conditions apply to the columns actually present — a dataset with more physically-coupled columns (e.g. one where reference length is itself a column) will see materially higher recall than this benchmark shows.
  • Auto-exclusion recall is low by design, not by accident. Only 17.9% of corrupted rows are auto-excluded. This is intentional: the engine only auto-removes what it can mathematically prove is wrong. Most of the detection work on this benchmark (95.8% total) lands in the review tier, which requires a human decision by design.
  • Measurement noise is the honest weak point. Only 73.4% of measurement-noise corruption is caught. These are perturbations that land within the natural scatter for that specific feature combination — a genuine physical detection limit (there's no statistical signature to find), not a software gap. By contrast, near-duplicate rows — the previous weak point — are now caught at 98%, after fixing a bucketing bug that missed large-magnitude columns.
  • On this benchmark, MLP training quality using only the auto-excluded tier does not clearly beat naive filtering. MAPE went from 3.94% (corrupted) to 4.58% (dimensional, auto-excluded tier only) vs 1.13% (naive IQR/z-score). GBT improved modestly (0.42% → 0.43%). The auto-excluded tier optimizes for zero-false-positive precision, not for maximum rows removed — pairing it with a human decision on the review tier is expected to close most of this gap, but we haven’t measured that yet.

How it did in our tests

We tested SimAPI on 9,333 generated samples with six kinds of errors. These results come from test data, not real robot runs.

95.8%

Errors caught or flagged for review

Some flagged samples still need a person to review them.

17.9%

Known errors removed automatically

99.95%

Flagged samples that contained errors

What it catches well

It found 100.0% of the unit mix-ups added to this test.

What it can miss

It found 73.4% of the added measurement noise. Small errors can look like normal variation.

Prediction error after cleanup (lower is better)
ModelWith errorsBasic cleanupSimAPI cleanupClean data
Neural network3.94%1.13%4.58%0.68%
Boosted trees0.42%0.44%0.43%0.39%

Basic cleanup gave the neural network better results in this test. Some unusual values still need a person to review them.

See the full test