FAILURE MAP
← Case archive

FA-96537 / Phone number formatting / Member archive

National number type validator: fixed lines may start with 0 or 1 · case 02

"1..." is accepted as a fixed line.

Member previewVariant 2 · 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
fixed line cannot start 1"fixed""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 ↗