FAILURE MAP
← Case archive

FA-96150 / Postal address normalization / Member archive

Delivery point check digit: the first two house digits are used · case 05

House 123 gets delivery point 12 instead of 23.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Input [zip5, plus4, primary]. The delivery point is the last two of the leading digits of the primary number, zero-padded to two, or "99" when there are none. With a plus-four the digit string is zip5 + plus4 + delivery point, otherwise zip5 alone. Append the check digit (10 - digit sum mod 10) mod 10.

Why this case matters

A wrong delivery point or check digit sends machine-sorted mail to the wrong door or rejects it.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
three-digit house number"567456789120""567456789238"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 ↗