Spaces:
Sleeping
Sleeping
Commit History
-
Fix bridges crossing state model
nilshoehing1abec04 -
Fix bridges visible crossing cycle
nilshoehingb8d1810 -
Fix bridges crossing cell selection
nilshoehingdc70f91
-
Fix bridges crossing-cell bridge gap; add puzzle pipeline + e2e tests
Mayug Maniparambil +1: Claude Opus 4.8 (1M context)The bridges editor's bridgesBoardFromStates wrote "." for every empty opportunity. When a vertical bridge passed through a cell also owned by an unused horizontal opportunity (a crossing point), the later-processed empty opportunity overwrote the shared cell back to ".", leaving a gap in the drawn bridge. The board looked connected but failed verification ("not solved"). Fix: skip level-0 opportunities so they cannot clobber an active perpendicular bridge's crossing cell. Add a full-pipeline test harness to catch this class of editor encode/decode bug across all six families: - vitest round-trip: editor decode->encode of each dataset reference solution (npm test). Fails on 7/15 bridges fixtures without the fix. - verifier oracle: runs the real production verifier on every round-tripped board (npm run test:pipeline) - 90 solutions + 90 round-trips verify SOLVED. - Playwright smoke: draws the solution in the real UI and submits (npm run test:e2e). Co-Authored-By: Claude Opus 4.8 …1ecac33