FAILURE MAP
← Case archive

FA-31850 / Keyboard interactions / Member archive

Keyboard usage snapshot delta decoder: Invalid report count uses slot count or overwrites prior errors · case 05

The event trace violates the reject counter rule and produces incorrect keyboard state or command output.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Each report is [modifier_mask,usage_slots]. Usages are integers >=0; 0 is padding, 1 is an error sentinel that invalidates the whole report. Other usages are unique logical keys even when slots duplicate. Modifier bits 0..7 identify M0..M7. Emit sorted key releases, sorted modifier releases, sorted modifier presses, then sorted key presses per valid report. Return emitted [phase,kind,identity] and final usage/modifier sets. Inputs are finite ordered event traces; return the stated deterministic state. Batch entries are independent. N varies the number of independent input transactions.

Why this case matters

Controlled keyboard event processing model for debugging application event logic.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
hid-report-delta scenario 5[[[], [], [], 1], [[], [], [], 1], [[], [], [], 1], [[], [], [], 1], [[], [], [], 1]][[[], [], [], 2], [[], [], [], 2], [[], [], [], 2], [[], [], [], 2], [[], [], [], 2]]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 ↗