FAILURE MAP
← Case archive

FA-86699 / Procedural level generation constraints / Member archive

Decoration scatter with quadrant quota: Quadrant counter never exceeds one · case 04

Quotas above one are ignored.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Candidates [x, y] (grid[y][x]) are tried in order. Accept when in bounds on '.', its quadrant (x*2//w, y*2//h) holds fewer than per_quadrant accepted props, and its squared Euclidean distance to every accepted prop is at least radius*radius. Returns accepted [x, y].

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 quota increment #1[[4, 2], [6, 0], [7, 3], [5, 4], [7, 6], [5, 6], [0, 2], [4, 0]][[4, 2], [6, 0], [5, 4], [7, 6], [0, 2]]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 ↗