Repository navigation
Releases
v0.1.1 — wrong grids become abstentions
Verification deep-fix round. On non-uniformly resized (differently stretched) artwork, every measured case that previously emitted a confident wrong grid now abstains honestly instead: a finer-harmonic challenger, a cross-pool lattice-agreement check, and a stricter small-image guard confirmation (8%). Held-out wrong grids fell from 2 to 1 at the same recovery count; gentle and harsh suites unchanged. The very small stretched regime was proven unrecoverable in principle (the wrong grid can fit the evidence better than the truth), so the guard's refusal there is documented as a measured limit. Tests: 30 passing.
v0.1.0
First release. snapgrid recovers the true pixel grid from smoothed or AI-generated fake pixel art, with one shared grid and palette across a whole sprite sheet or animation, and abstains with a plain reason instead of emitting a wrong grid. Measured on its published suites: 96% exact recovery on the gentle suite, 94% on the harsh suite. 27 tests, MIT licence.