FAILURE MAP
← Case archive

FA-96202 / Postal address normalization / Member archive

Block range side assignment: descending ranges never match · case 02

House 296 is not found on a block whose left range runs 298 down to 200.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input [house, segment] where the segment maps "left"/"right" to [from, to] house ranges (either direction, both ends sharing parity). Check left, then right: a side matches when the house lies between the ends inclusive and has the parity of "from". Return [side, position] with position the reduced fraction (house - from) / (to - from) as a string, "0" for a single-address range, or None when no side matches.

Why this case matters

Assigning a normalized address to the correct block face and position drives geocoding and carrier walk order.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
descending rangenull["left", "2/49"]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 ↗