SIM-LAB-004 // labs

Shell ML Command Autocomplete Lab

Local-first terminal command prediction workbench comparing Markov prefix tries against BM25 history retrieval.

Shell ML Command Autocomplete Lab poster preview

Steps: 0

Invariant: OK

Metric: 0.0

Seed: 6004

EMC Reference
EMC-LAB-004 (Offline zero-egress inference contract)
Deterministic Seed
6004
Runtime Bundle
labs

Governing Equation

Mean Reciprocal Rank

MRR=1|Q|∑i=1|Q|1ranki

Verification Contract & Falsification

Top-5 suggestion latency < 1 ms in-memory; zero network requests or external dependencies.

Falsified if suggestion ordering is non-deterministic for tied scores.