FAILURE MAP
← Case archive

FA-96830 / Phone number formatting / Member archive

Caller ID display and callback string: subscriber numbers are called back without the area · case 05

A seven-digit caller is called back as trunk + number.

Member previewVariant 5 · 3 implementations · 11 checks per implementation

Case contract

Home country: trunk 0, code 42, exit 00, default area 55. Restricted -> ["Private", None]; unavailable -> ["Unavailable", None]; no digits -> ["Unknown", None]. For type "unknown": a stripped leading "+" means international, else a leading exit prefix is removed and means international, else a leading trunk is removed and means national, else subscriber. International: display "+digits"; callback is trunk + national part for the home code, otherwise exit + digits. National: trunk + digits for both. Subscriber: display digits, callback trunk + area + digits. Return [display, callback].

Why this case matters

Caller ID is shown on handsets and used for one-touch callback; a wrong classification displays a foreign number as local and calls back the wrong party.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
unknown type starting with the country digits["425550556", "0425550556"]["425550556", "055425550556"]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 ↗