FA-96207 / Postal address normalization / Member archive
Block range side assignment: parity is not used to pick the side · case 02
Even house 152 is placed on the odd left side.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| even house on even right side | ["left", "53/98"] | ["right", "27/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 ↗