hex/android/benchmark/typing/critical-cases.json
Ryan Vogel afdd8e98a4 Gate only unambiguous restorations of hold-only letters
Replace the all-accent score with mappings verified against the Android key rows and long-press menus. Use model and validity spellings to report ambiguous restoration and clean-word harm separately, so literal dedicated keys and legitimate competing spellings cannot fail the 85% gate. Add attributed German and Bokmål evaluation sentences and report frequent Bokmål clean changes.

Verified all six gates on the Studio in 26.5s: English, Spanish and French pass; German, Italian and Bokmål fail. Each of the 18 raw, decoded and clean-change counts matched the preceding commit. All 12 layout-appropriate critical cases passed, French alone returned 0, the full run returned 1, and code-shape passed.
2026-11-22 09:12:01 -05:00

8 lines
670 B
JSON

{
"en": [["correct article typo", "teh cat", "the cat"], ["keep noun well", "a deep well", "a deep well"]],
"es": [["restore después", "hasta despues", "hasta después"], ["keep article el", "el tren", "el tren"]],
"de": [["restore transposed dank", "vielen dnak", "vielen dank"], ["keep adverb schon", "schon gut", "schon gut"]],
"nb": [["restore doubled consonant", "tusen takkk", "tusen takk"], ["keep article en", "jeg har en bok", "jeg har en bok"]],
"fr": [["restore café", "le cafe", "le café"], ["keep verb a", "il a faim", "il a faim"]],
"it": [["restore caffè", "un caffe", "un caffè"], ["keep conjunction e", "pane e vino", "pane e vino"]]
}