FAILURE MAP
← Case archive

FA-72508 / Check-digit algorithms / Member archive

VIN weights drop the zero weight at the check position · case 03

Almost every VIN gets a wrong check digit.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

North American 17-character VIN check digit. Input must be 17 uppercase ASCII alphanumerics without I, O or Q (else "malformed"). Letters transliterate (A-H 1-8, J-N 1-5, P 7, R 9, S-Z 2-9); weights are 8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2 with weight 0 on the check position (9th). Remainder mod 11 is the check digit, 10 written X. Return [check character, whether position 9 matches].

Why this case matters

Vehicle registration and recall systems reject VINs with a bad check digit.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression ["7U176LUC2HMRHV49Y"]["X", false]["0", false]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 ↗