FA-72385 / Check-digit algorithms / Member archive
ISIN country prefix accepts a digit · case 05
Identifiers without an alphabetic country code are checksummed as if they were ISINs.
Case contract
Input a 12-character ISIN: two uppercase ASCII letters (country), nine uppercase alphanumerics, one check digit; anything else is "malformed". Letters expand to two digits (A=10 .. Z=35), then Luhn doubling starts at the rightmost digit of the expanded 11-character payload. Return [computed check digit, whether it matches].
Why this case matters
Securities settlement systems reject ISINs whose check digit does not match before routing trades.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression ["1S0378331005"] | [0, false] | "malformed" | 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 ↗