summaryrefslogtreecommitdiff
path: root/docs/generation.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-28 20:55:52 +0300
committerPaul Buetow <paul@buetow.org>2026-06-28 20:55:52 +0300
commitcc006451b682f6d2c1836db16bc324dfa115cabc (patch)
tree4652bb7238927d661ca28bdcb07084fd91b8ddea /docs/generation.md
parente43bd7b2ccda20d5734d64beb7c7ab000933cfeb (diff)
Assert generated page tiles flush (cell total multiple of 12)
Closes the last output-coverage gap from the gauge-bar audit: the flush guarantee (a page's grid-cell total is a multiple of 12 so it forms a complete rectangle at 2/3/4/6 columns) was only unit-tested on the alignment helper and via markup presence. The dense-packing check that verified it on real albums was a throwaway. test_generate_preview_grid_ emits_every_tile_shape now computes the generated page-1 cell total (features=4 cells, others=1) and asserts it is a positive multiple of 12, and that the pinned seed still yields both a feature and a subdivided tile. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'docs/generation.md')
0 files changed, 0 insertions, 0 deletions