hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 910ee3154b iOS keyboard: rank completions by frequency, names last, no repeated literal
What: the suggestion strip's completions now keep UITextChecker's own
order, which is most probable first (Apple's documented order; on iOS 27
"b" lists but, be, because and "th" lists the, they, that's), instead of
re-sorting it by length and then alphabetically. UILexicon terms
(Contacts names and text replacements) now rank after the dictionary's
completions instead of ahead of everything, and a capitalised name ranks
after every other completion unless the typed word starts with a
capital. A completion equal to what was typed is dropped, one-letter
words get completions too, and when nothing is left the strip shows only
the typed word on the left instead of repeating it in the centre.

Why: Record typing logs showed contact names and job titles from the
lexicon taking the centre slot for common prefixes (a surname over "the"
for "th"), and one-letter words repeating the literal as the primary.
Removed: the lexicon-first pass (up to three terms before any spelling
guess) and the length/alphabetical sort. The frequency source is the
existing UITextChecker; no word list was added.

Verified: xcodebuild test on the iPhone 18 Pro simulator (iOS 27.2),
AutocorrectEngineTests: 16 tests, 0 failures (4 new: frequency order
ahead of contacts, names demoted unless capitalised, no repeated
literal, and the system dictionary's order for "b" and "th").
2026-11-20 08:49:27 -05:00
..
Fixtures iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
AutocorrectEngineTests.swift iOS keyboard: rank completions by frequency, names last, no repeated literal 2026-11-20 08:49:27 -05:00
CleanupTaggerTests.swift iOS: dictate in every language Apple Speech has on device 2026-11-20 07:52:32 -05:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
DictationLearningTests.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DotScopeTests.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
FullKeyboardEngineTests.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
HexKeyGestureTests.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
KeyboardBridgeTests.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
KeyboardLayoutTests.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
ShiftStateMachineTests.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
TranscriptCleanupTests.swift ios: optional Apple Intelligence transcript cleanup (experiment) (#1538) 2026-11-08 08:07:11 -05:00
TypingLogTests.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00