FAILURE MAP
← Case archive

FA-72780 / Check-digit algorithms / Member archive

LEI check is computed without the 00 placeholder · case 05

Nearly every generated LEI fails validation.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Generate ISO 17442 LEI check digits (ISO 7064 MOD 97-10): the 18-character alphanumeric prefix is upper-cased (other input returns None), "00" is appended, letters become 10..35, and the check is 98 - (number mod 97) written as exactly two digits. Return the 20-character LEI.

Why this case matters

Regulatory reporting tools assign and verify legal entity identifiers.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression ["U6G55SH046WQ164I4P"]"U6G55SH046WQ164I4P72""U6G55SH046WQ164I4P20"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 ↗