FAILURE MAP
← Case archive

FA-86760 / Procedural level generation constraints / Member archive

Rotated prefab stamping: Rejected stamp leaks partial tiles · case 05

A failed placement leaves half a prefab in the level.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

The prefab (rows of chars, ' ' transparent) is rotated clockwise rot times (rot taken mod 4, negative allowed) and stamped with its top-left at column ox, row oy. If any non-transparent tile would land out of bounds or on a locked 'X' tile, the stamp is rejected and the original grid returned with False; otherwise the new grid with True.

Why this case matters

Procedural generators silently emit unplayable or unfair levels when a single constraint check uses the wrong boundary, axis, neighborhood or update order; the defect is visible in exact generated geometry.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression rejection result #1[["....D", ".X...", "....X", "X...#", "....."], false][["....#", ".X...", "....X", "X...#", "....."], false]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗