FAILURE MAP
← Case archive

FA-96223 / Postal address normalization / Member archive

Block range side assignment: right side wins a conflicting segment · case 03

A house present on both sides of bad data is assigned to the right.

Member previewVariant 3 · 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
conflicting sides resolve to left["right", "1/2"]["left", "1/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 ↗