FAILURE MAP
← Case archive

FA-86714 / Procedural level generation constraints / Member archive

Heightmap smoothing and biome classes: Smoothed heights round to nearest · case 04

Coastlines shift inland compared to the floor rule.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Each cell height becomes floor(mean) of the in-bounds cells in its 3x3 window (input values only). Class: '~' when v < sea, 's' beach when v < sea+2, 'g' when v < mountain, otherwise '^'. Returns strings per row.

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 mean rounding #1["sss^^", "s^s^^", "ss~s~", "ss~~~"]["ssss^", "sss^s", "ss~~~", "ss~~~"]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 ↗