FA-96248 / Postal address normalization / Member archive
Country address template renderer: city uppercasing applies to the wrong destinations · case 03
BB labels print the city in capitals.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| postal code first, international | ["Robin Placeholder", "6 Fake Rd", "3234 ZORBLETON", "BEEMARK"] | ["Robin Placeholder", "6 Fake Rd", "3234 Zorbleton", "BEEMARK"] | 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 ↗