FAILURE MAP
← Case archive

FA-95928 / Postal address normalization / Member archive

Outward-inward postcode formatter: the typed space is kept inside the code · case 03

"ZX3 9ZZ" is rejected because the outward part ends in a space.

Member previewVariant 3 · 3 implementations · 11 checks per implementation

Case contract

Remove all whitespace and uppercase. Length must be 5..7. The inward code is the last three characters: digit, letter, letter, where neither letter may be one of C I K M O V. The outward code is the rest: alphanumeric, starting with a letter and containing at least one digit. Return "OUTWARD INWARD" or None.

Why this case matters

Codes whose outward part varies in length must be split from the right; mis-splitting sends deliveries to the wrong sorting district.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
standard seven-character codenull"ZX5 9ZZ"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 ↗