FAILURE MAP
← Case archive

FA-72779 / Check-digit algorithms / Member archive

LEI check is computed without the 00 placeholder · case 04

Nearly every generated LEI fails validation.

Member previewVariant 4 · 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 ["WYITG3CIA2EMN51FG8"]"WYITG3CIA2EMN51FG851""WYITG3CIA2EMN51FG854"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 ↗