FAILURE MAP
← Case archive

FA-31687 / Keyboard interactions / Member archive

Per-switch keyboard scan debounce: Debounced transition is timestamped at raw contact time or delayed by a second dwell · case 02

The event trace violates the edge time rule and produces incorrect keyboard state or command output.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Case [threshold,scans]. Each scan is [time,sorted_pressed_keys] and times increase. A raw transition starts a candidate timer; a candidate becomes stable after continuously present for threshold time including exact boundary. Each scan considers every known or raw key. Emit [key,down_or_up,time] on stable transitions; return emissions plus stable pressed keys. Missing keys are raw up. 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
key-debounce scenario 1[[[["A", "down", 10]], ["A"]], [[["A", "down", 10]], ["A"]]][[[["A", "down", 13]], ["A"]], [[["A", "down", 13]], ["A"]]]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 ↗