FAILURE MAP
← Case archive

FA-81360 / MIDI event timing / Member archive

Variable-length quantity delta encoder: zero delta encoded as no bytes · case 05

A zero delta between simultaneous events produces an empty byte list, so the next event byte is read as the delta.

Member previewVariant 5 · 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 0[][0]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 ↗