FAILURE MAP
← Case archive

FA-15093 / Numerics / Member archive

Lehmer permutation rank: unused alphabet initialization · case 03

The exact lehmer permutation rank result violates the stated contract at unused alphabet initialization.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Input permutation of 0..n-1 with n<=7; return zero-based lexicographic rank.

Why this case matters

Exact discrete arithmetic with observable algorithmic state; no floating point approximation is used.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
explicit oracle 0null1Failed

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 ↗