FAILURE MAP
← Case archive

FA-72415 / Check-digit algorithms / Member archive

Damm processes digits right to left · case 05

Check digits only match for palindromic payloads.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Damm quasigroup scheme with the standard order-10 table. Spaces are ignored; the remaining text must be nonempty ASCII digits or the result is None. Digits are processed left to right with interim = T[interim][digit] from 0; "generate" returns the final interim value, "validate" returns whether it is 0.

Why this case matters

Damm checks are used on order and parcel references where transpositions must be detected.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression ["572 4", "validate"]falsetrueFailed

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 ↗