functionVerified releasev1
keystroke_bias
Logit-bias matrix from a keystroke log: hesitations, typos, slow and unexplored transitions. Steers any char model toward your weak spots (stdlib only).
Interface
Verified contract
Inputs
| Name | Type |
|---|---|
| logs | list |
| chr_to_idx | dict |
| duplicates_weight | float |
| typos_weight | float |
| durations_weight | float |
| exploration_weight | float |
| max_effect | float |
Outputs
| Name | Type |
|---|---|
| default | list |
Exact release
Pinned local call
from spl import SPLClient
result = SPLClient.embedded().call(
"splime://@splime.project/typing-trainer/keystroke_bias@1",
kwargs={'chr_to_idx': {}, 'duplicates_weight': 0.0, 'durations_weight': 0.0, 'exploration_weight': 0.0, 'logs': [], 'max_effect': 0.0, 'typos_weight': 0.0},
trust=True,
)Review before running. Public bundles contain executable code. Verify the publisher and exact content hash; a virtual environment isolates dependencies, not the operating system.
Evidence
Evidence-backed concepts
- Keystroke bias
- Keystroke log
- Unexplored transitions
- Stdlib only
- Logit bias matrix
- Chr idx
- Duplicates weight
- Typos weight
History
Public versions
- v10 downloads
Discover
Similar Objects
- adaptive_typing_drillAdaptive typing drill: model_dir + keystroke log -> one practice line aimed at your weak spots (requires torch).
- typing_weak_spotsTyping report from a keystroke log: accuracy, mistyped transitions, double presses and slowest bigrams (stdlib only).
- train_char_modelTrain the typing-check GRU+attention char model on your lines and save it to a folder (requires torch).
- build_char_vocabBuild a character vocabulary {char: index} with SOS=0 and EOS=1 (stdlib only).
- summarize_topicsMeasure observed topic counts, shares, scores and comments separately from topic assignment; compare equal-duration windows under one fixed model and report overlapping feed coverage.