FAILURE MAP
← Case archive

FA-81469 / MIDI event timing / Member archive

Absolute events to delta-time serialisation: leading silence dropped · case 04

A track whose first event is at tick 5 is serialised with a first delta of 0, removing the opening rest.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input a list of [tick, kind, note] with kind on or off in any order. Emit events sorted by tick; at equal ticks note-offs precede note-ons, and otherwise input order is kept. Each output is [delta from the previous emitted event (the first from tick 0), kind, note]. A negative tick 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 2[[0, "on", 1], [0, "on", 2], [0, "on", 3]][[3, "on", 1], [0, "on", 2], [0, "on", 3]]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 ↗