diff --git a/docs/superpowers/plans/2026-06-11-wide-angle-distortion.md b/docs/superpowers/plans/2026-06-11-wide-angle-distortion.md index 4af783c..a4c654f 100644 --- a/docs/superpowers/plans/2026-06-11-wide-angle-distortion.md +++ b/docs/superpowers/plans/2026-06-11-wide-angle-distortion.md @@ -972,7 +972,8 @@ and replace the `'beats a homography on barrel-distorted data'` test body's homo const test: Vec2[] = [[488, 244], [1464, 732], [1952, 488], [976, 976]]; const polyMax = Math.max(...test.map((m) => dist(applyPolyWarp(w, m), trueMap(m)))); const baseMax = Math.max(...test.map((m) => dist(applyPolyWarp(baseline, m), trueMap(m)))); - expect(polyMax).toBeLessThan(baseMax * 0.05); + expect(baseMax).toBeGreaterThan(1e-3); // affine baseline genuinely fails on barrel data + expect(polyMax).toBeLessThan(1e-6); // degree-3 fit of cubic data is near-exact everywhere }); ```