FAILURE MAP
← Case archive

FA-96227 / Postal address normalization / Member archive

Country address template renderer: unknown destinations render no address · case 02

A parcel to code DD gets only a country line.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input fields name, street, city, region, postal, country (destination) and origin. Toy templates: AA "{city} {region} {postal}", BB "{postal} {city}", CC city and postal on separate lines with the city uppercased; unknown destinations use AA. Each rendered line is whitespace-collapsed and empty lines are dropped. When origin differs from destination the destination name (or its code when unknown) is appended.

Why this case matters

Cross-border labels must follow the destination order; misplaced or doubled components delay or return shipments.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
unknown destination falls back["DD"]["Lee Sample", "5 Fake Rd", "Nowhereville ZZ 12345", "DD"]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 ↗