Rolls, metrics of other analyzers, and search from saved layouts
- Pair metrics of other analyzers (oxeylyzer, genkey, the Keyboard Layouts Doc): same-finger distance, lateral stretches, scissors and half scissors. - Rolls: each window of three presses gets a class: a roll of two or three, inward or outward, a roll with the ring finger above the middle finger, alternation, a redirect or a bad redirect. A space ends a window and is on neither hand, so a word's first and last two presses also make a window. The search scores the word edges too. - All the new numbers are 0 by default: the scores do not change. The report, the Layout tab and word.bjo show the shares of each class. - optimize.bjo can start from a saved layout. - The GUI test sets the window size before showing it, so the first screenshot is not narrow. New screenshots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
50a9d43d14
commit
e0d1bfdefb
14 changed files with 430 additions and 37 deletions
13
README.md
13
README.md
|
|
@ -31,6 +31,17 @@ is better. A score is a cost per key press.
|
|||
Each press past that share costs extra.
|
||||
- **Finger distance:** how far the fingers travel, in key widths per press.
|
||||
By default it is shown but not scored.
|
||||
- **Other analyzers:** metrics from oxeylyzer, genkey and the Keyboard
|
||||
Layouts Doc: same-finger distance, lateral stretches, scissors and half
|
||||
scissors.
|
||||
- **Rolls:** each window of three presses gets a class: a roll of two, a
|
||||
roll of three, alternation, a redirect or a bad redirect. A space ends a
|
||||
window, and counts as neither hand, so a word's first and last two
|
||||
presses can be a roll. A roll with the ring finger above the middle
|
||||
finger is a broken roll.
|
||||
|
||||
The numbers of the last two groups are 0 by default: the report shows their
|
||||
shares, but they do not change the scores.
|
||||
|
||||
`src/score.bjo` describes each rule. `src/board.bjo` describes the board
|
||||
and the key costs.
|
||||
|
|
@ -51,7 +62,7 @@ programs from this folder.
|
|||
| --- | --- |
|
||||
| `bjo run .` | Prints the report: each layout's score on each text, the parts of the scores, and the pairs that cost each layout most. |
|
||||
| `bjo run src/gui.bjo` | Opens the GUI. |
|
||||
| `bjo run src/optimize.bjo [runs] [steps] [layout] [t-start] [vowels-left] [fixed=CHARS]` | Searches for a better layout by simulated annealing. |
|
||||
| `bjo run src/optimize.bjo [runs] [steps] [layout] [t-start] [vowels-left] [fixed=CHARS]` | Searches for a better layout by simulated annealing. The layout can be a built-in or a saved one. |
|
||||
| `bjo run src/swaps.bjo [char] [layout]` | Tries to swap one character with each other key. |
|
||||
| `bjo run src/word.bjo word [layout]` | Shows what a word costs a layout, pair by pair. |
|
||||
| `bjo run tests/gui-shots.bjo [folder]` | Tests the GUI without a screen, and saves the screenshots in this file. |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue