FAILURE MAP
← Case archive

FA-72722 / Check-digit algorithms / Member archive

Container weights start at two · case 02

Every container number fails its check.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Shipping container identification check digit: three uppercase owner letters, category U, J or Z, six serial digits and a check digit (else "malformed"). Letter values start at A=10 and skip every multiple of 11 (so B=12, L=23, V=34, Z=38). Position i (0-based) has weight 2^i; the check digit is (sum mod 11) mod 10. Return [check, match].

Why this case matters

Terminal gate systems validate container numbers read by OCR cameras before booking moves.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression ["MUHJ6260452"][8, false][4, 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 ↗