FAILURE MAP
← Case archive

FA-81342 / MIDI event timing / Member archive

Variable-length quantity delta encoder: leading bytes emitted without continuation flag · case 02

Delta 128 is written as [1, 0], which a reader decodes as two separate deltas 1 and 0.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input a delta-time integer 0..0x0FFFFFFF (booleans rejected). Encode as 7-bit groups, most significant group first, with bit 7 set on every byte except the last. Zero encodes as [0]. Out-of-range or non-integer input returns None.

Why this case matters

MIDI sequencers, file readers and synth drivers depend on exact event ordering and tick/time arithmetic.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
oracle 1[1, 1][129, 1]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 ↗