Accessibility · Machine Learning
Adaptive Typing AssistantIntelligent Input Filtering & Accessibility Analytics
Can adaptive filtering cut accidental repeated keystrokes without eating real ones?
An accessibility experiment for BananaBots: an on-screen keyboard with adaptive debounce, evaluated across 9,000 seeded simulations.
- Timeline
- Sep — Oct 2026
- Status
- Live · research prototype
- Stack
- TypeScriptReactViteVitestPythonStreamlit
- 9,000
- seeded simulation runs
- 90
- experimental conditions
- −18.5%
- character error rate vs unfiltered
- −41%
- false suppressions vs fixed debounce
The problem
Why I built it
For people with motor-control difficulties, unintended repeated key activations add characters and force corrections. But you can't just drop repeated letters: “hello” and “book” have legitimate doubles. A filter sees only the key and its timing, not intent.
How it works
From input to result
- 01
Live keyboard
Accessible on-screen QWERTY with Standard, Fixed debounce and Adaptive debounce modes, timestamped with performance.now().
- 02
Adaptive filter
Threshold = 0.75 × rolling median of the last 9 inter-key intervals, clamped to 100–350 ms. Applied before updating, so it never looks ahead.
- 03
Simulator
Deterministic, seeded generator of duplicate activations and neighbouring-key errors across 5 duplicate rates and 3 typing speeds.
- 04
Evaluation
Paired comparisons, per-condition metrics, win/tie summaries, and run-level CSV export.
Engineering
Decisions worth talking about
Same filter code for live and simulated input
The keyboard and the simulator share one filter implementation, so experimental results describe the code users actually run.
Report the ties, not just the wins
Adaptive beat fixed in 10.6% of paired runs, fixed won 9.0%, and 80.4% tied. The headline improvement is real but modest, and the write-up says so.
Limits & next
What it can't do yet
- All results are synthetic. The right next step is co-design and evaluation with disabled users and accessibility specialists before tuning further.