FAILURE MAP
← Case archive

FA-11609 / Compression format semantics / Member archive

Canonical Huffman codes advance without shifting at length changes · case 04

Canonical Huffman codes advance without shifting at length changes.

Member previewVariant 4 · 3 implementations · 6 checks per implementation

Case contract

Given valid nonzero Huffman lengths keyed by symbol, return integer codes assigned by ascending (length,symbol), incrementing then left-shifting when length grows. Empty input returns {}.

Why this case matters

A small offline codec model isolates a compression-specific failure without external files or libraries.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
length jump{"a": 0, "b": 1}{"a": 0, "b": 32}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 ↗