Repository navigation
test: cube sizes 2 to 15 (W7), scramble length above 7x7 - #72
Conversation
02ce315 to
81a0b04
Compare
Widen the loops that stopped at 2 to 7 (or 3, 5, 7 and 2, 4, 6 by parity) to every accepted size: random states, scramble validity, guided reassembly and routing, face orientation solving, notation round trips, shadow floor and display-frame conjugation. test/cubeSizes.ts holds the range once. Tests that take seconds at 9 to 15 get an explicit time limit; the display-frame test runs one case per size. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Extend the junction, inner-slice and scramble-depth tests to 15x15 and add a size 2 to 15 block: index buffers (32-bit above 65535 vertices, 9x9 stickered and up), geometry growth, zoom and the exact column a slice turn moves. The scramble length table ends at 7x7 and falls back to 20 moves above it; an expected-failure test records that gap. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The generators stopped at 7x7. Scrambles, move inverses, valid-state, facelet round trips, the odd-cube and wing parity checks and the zoom range now draw sizes up to 15. The zoom property also checks that an in-range zoom is kept. A new property round-trips an Orbit64 V2 token for every size; the V1 token property stays at 2 to 7, the sizes of that codec. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The clean-face read-back now covers 8x8 to 15x15, and the lighting presets run on 8x8, 10x10, 12x12 and 15x15. At 300 px the glare preset washes four corner stickers out to white on 12x12 and 15x15; that case is listed as a known failure, like the other misread presets. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… to 15 Each size renders a random valid cube to six JPEG faces, checks the meta against the published fixture schema, round-trips the ZIP, reads the fingerprint of every photo and reads the photos back as the cube's colors with the app's own detection. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Time budgets (median of three runs) for random cube, scramble, facelets, parity, Orbit64 V2 token, both meshes, photo rendering and reading, face orientation and the guided search at 15x15. The budgets are 10 to 150 times the measured medians so a loaded runner passes and a step that grows with the size faster than expected fails. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Grid alignment, repeated-face detection and the guided capture routing test used lists that stopped at 7x7 (2, 3, 4, 5, 7 and 2, 3, 4, 7). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The length table ended at 7x7 (100 moves) and every larger size fell back to 20 moves. Above 7x7 the length is round(100 * n^2 / 49): 131 moves for 8x8, 459 for 15x15. The table for 2 to 7 is unchanged. The test checks the length of every size from 2 to 15 and that it grows. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The app token is the V2 codec since #69, so the property no longer needs the 2 to 7 generator of the removed V1 codec. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
81a0b04 to
fda7cd8
Compare
|
Review: FINDINGS head=fda7cd85b0fa578d07c163e9a62f6a59c12cf44a patch-id=056b03eb461556def9127ab2a62f4854f9f62a35 pr=72
|
…e note The stickered-mesh budget called the adapter with its default (stickerless), so it measured the same mesh as the stickerless line. It now passes stickerless = false (median 74 ms at 15x15, budget unchanged at 3000 ms). The index-buffer comment named 9x9 for stickered meshes; 32-bit indices start at 7x7 stickered and 9x9 stickerless. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Review: CLEAR head=3fc038b7b1f28821ef887f61739fb4ab8c4dbf8d patch-id=c540cd7c3d1f69d3cd2e6f9dace8bbe023f44da8 pr=72 |
Tests for cube sizes 2 to 15 (work package W7), plus one small source change in
CubeMoves.res.test/cubeSizes.tsholds the range.Orbit64V2Facelets.test/sizePerformance.test.ts.npx vitest run: 2031 passed, 47 failed. The 47 fail onmaintoo: fixture JPEGs are Git LFS pointers (nogit-lfshere).Blocker: none.
🤖 Generated with Claude Code