FAILURE MAP
← Case archive

FA-96549 / Phone number formatting / Member archive

National number type validator: CC numbers may start with 1 · case 04

"1..." is accepted in CC.

Member previewVariant 4 · 3 implementations · 14 checks per implementation

Case contract

Input [national significant number, country]; non-digit input is invalid. AA: prefix 600 is toll-free with 9 digits; leading 7 is mobile with 9 digits; leading 2..6 is fixed with 8 or 9 digits. BB: exactly 10 digits, leading 9 mobile, leading 3..8 fixed. CC: 7 digits with a leading 2..9 is "fixed_or_mobile". Everything else is "invalid".

Why this case matters

Number type decides SMS eligibility, pricing and fraud rules; the checks overlap on leading digits, so order and bounds matter.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
CC cannot start 1"fixed_or_mobile""invalid"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 ↗