Commit graph

298 commits

Author SHA1 Message Date
Eberhard Beilharz
1389d40965
Merge branch 'master' into change/web/11878_remove-es5 2024-07-31 15:28:38 +02:00
Joshua Horton
32e1ed12ea
Merge pull request #11952 from keymanapp/refactor/web/correction-search-thresholding
refactor(web): spin off method for correction-search probability-thresholding check 📚
2024-07-30 08:47:30 +07:00
Joshua A. Horton
dd91671595 fix(web): prevents correction from deleting tokens 2024-07-29 15:38:27 +07:00
Joshua A. Horton
a5dc128975 chore(web): Merge branch 'master' into feat/web/case-detection-unit-tests 2024-07-29 15:04:40 +07:00
Joshua Horton
b29900ec59
Merge pull request #11949 from keymanapp/feat/web/prediction-lookup-unit-tests
feat(web): add unit tests for prediction lookup component 📚
2024-07-29 15:02:58 +07:00
Joshua Horton
036724d744
Merge pull request #11946 from keymanapp/feat/web/suggestion-finalization-unit-testing
feat(web): add unit testing for finalization of generated suggestions 📚
2024-07-29 15:02:48 +07:00
Joshua Horton
d5929cdbed
Merge pull request #11945 from keymanapp/feat/web/suggestion-dedupe-unit-testing
feat(web): add unit testing for suggestion deduplication 📚
2024-07-25 13:01:11 +07:00
Joshua Horton
8ea9ec0ccb
Merge pull request #11944 from keymanapp/feat/web/suggestion-similarity-unit-testing
feat(web): add unit tests for suggestion-similarity detection 📚
2024-07-25 13:00:52 +07:00
Joshua Horton
6717c3cdab
Merge pull request #11948 from keymanapp/feat/web/extend-dummy-model
feat(web): extend unit-test oriented dummy model 📚
2024-07-25 13:00:44 +07:00
Joshua Horton
6f27797ce0
Merge pull request #11941 from keymanapp/feat/web/auto-select-unit-testing
feat(web): add unit tests for predict auto-selection method 📚
2024-07-25 13:00:31 +07:00
Joshua A. Horton
a9380b035d chore(web): Merge branch 'refactor/web/lm-worker-predict' into refactor/web/stateless-predict-helpers 2024-07-25 10:31:00 +07:00
Joshua A. Horton
1734cfb2aa chore(web): Merge branch 'refactor/web/dedupe-and-similarity' into refactor/web/lm-worker-predict 2024-07-25 10:19:28 +07:00
Joshua A. Horton
c1e8ba0e79 chore(web): Merge branch 'master' into refactor/web/dedupe-and-similarity 2024-07-25 10:16:11 +07:00
Joshua Horton
4efff2cfee
Merge pull request #11899 from keymanapp/refactor/web/predict-suggestion-finalization
refactor(web): extract suggestion-finalization block into its own function 📚
2024-07-25 10:10:59 +07:00
Joshua Horton
980ed88355
Merge pull request #11876 from keymanapp/fix/web/low-probability-exact-matching
feat(web): check for low-probability exact + exact-key correction matches 📚
2024-07-25 10:10:49 +07:00
Joshua A. Horton
d3c9a9f3f3 chore(web): minor cleanup for variable: let -> const 2024-07-24 12:15:18 +07:00
Joshua A. Horton
0f351943be chore(web): test name rework 2024-07-24 12:05:59 +07:00
Joshua A. Horton
854f53360f chore(web): minor test-name tweaks 2024-07-24 10:59:49 +07:00
Joshua A. Horton
d132eed84b change(web): alters test names 2024-07-24 10:54:48 +07:00
Joshua A. Horton
dc4aeccfdd refactor(web): refactor branch commit - extract common auto-test setup 2024-07-24 10:54:15 +07:00
Joshua Horton
f5f3c31548
Merge pull request #11970 from keymanapp/fix/web/no-post-revert-auto-accept
fix(web): prevents auto-accept immediately after reversion
2024-07-23 15:36:06 +07:00
Joshua Horton
8d3aac2348
chore(web): apply code-simplifying suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-07-23 14:05:51 +07:00
Joshua Horton
714d590a9b
Merge pull request #11933 from keymanapp/fix/web/worker-unit-test-stability
fix(web): remedy unit-test stability issues
2024-07-22 09:05:28 +07:00
Joshua A. Horton
c491f10406 fix(web): prevents auto-accept immediately after reversion 2024-07-16 15:11:31 +07:00
Joshua A. Horton
e4d9cdc865 refactor(web): spin off method for correction-search probability-thresholding check
The refactor allows this logic to be unit-tested far more easily.  We additionally leverage this fact and add corresponding unit-tests within this PR.
2024-07-12 09:00:56 +07:00
Joshua A. Horton
88ed20cbcb chore(web): fix typo in dummy-model config for suggestion-finalization tests 2024-07-11 16:09:31 +07:00
Joshua A. Horton
63842056d5 feat(web): add unit tests for case-detection & handling 2024-07-11 13:02:26 +07:00
Joshua A. Horton
47a12c3375 feat(web): add unit tests for prediction lookup component 2024-07-11 10:28:57 +07:00
Joshua A. Horton
682bb4676c feat(web): add unit testing for suggestion finalization 2024-07-11 10:26:11 +07:00
Joshua A. Horton
7fd30449f3 feat(web): add unit testing for suggestion deduplication 2024-07-11 10:22:01 +07:00
Joshua A. Horton
6d223ce678 chore(web): fix formatting 2024-07-11 10:21:07 +07:00
Joshua A. Horton
05e887e5db feat(web): add unit tests for suggestion-similarity detection
Also makes small tweaks to production code that facilitate unit-test comparisons.
2024-07-11 10:13:19 +07:00
Joshua A. Horton
dc80b1c2df feat(web): extend unit-test oriented dummy model 2024-07-11 09:44:13 +07:00
Joshua A. Horton
0e1d6f433e fix(web): disable .only mode for auto-testing 2024-07-09 14:20:14 +07:00
Joshua A. Horton
b1d1dfa9f4 fix(web): improve auto-select for same-key suggestions
This allows the auto-select process to ignore suggestions that don't have an exact key-match when the best candidate does have an exact key-match
2024-07-09 11:52:04 +07:00
Joshua A. Horton
f371165402 feat(web): add unit tests for predict auto-selection method
Fixes: #11935
2024-07-09 10:47:21 +07:00
Joshua A. Horton
c30cc96f3c refactor(web): convert internal prediction methods to stateless format 2024-07-09 08:56:37 +07:00
Joshua A. Horton
8eba5d0d45 fix(web): remedy unit-test stability issues
Fixes: #11844
2024-07-08 13:45:08 +07:00
Joshua A. Horton
946ec38ad4 chore(web): incorporate suggestions, address concerns from PR review 2024-07-08 10:43:40 +07:00
Eberhard Beilharz
afe25eda24
change(web): remove support for es5
Fixes: #11878
2024-07-04 20:49:30 +02:00
Joshua A. Horton
f84c76cdc7 refactor(web): extract the correct-and-raw-predict blocks into their own method 2024-07-02 10:40:57 +07:00
Joshua A. Horton
5fb8762b6b docs(web): adds documentation for spun-off methods 2024-07-02 10:31:24 +07:00
Joshua A. Horton
7c7148e22e refactor(web): spin off deduplication, suggestion-similarity sections 2024-07-02 10:19:57 +07:00
Joshua A. Horton
fccaf4eb61 change(web): changes for clearer review of next PR in sequence
Because git context-detection is sometimes limited.
2024-07-02 10:08:51 +07:00
Joshua A. Horton
5fc4027251 refactor(web): extract suggestion-finalization block into its own function 2024-07-02 09:43:56 +07:00
Joshua A. Horton
ae02e7d110 change(web): perform suggestion dupe-detection based on applied string, not displayAs 2024-06-28 14:13:08 +07:00
Joshua A. Horton
0e8816c263 feat(web): check for low-probability exact + exact-key correction matches 2024-06-28 12:51:16 +07:00
Joshua A. Horton
7bda1e5d93 feat(web): determine suggestion to use for auto-correct 2024-06-27 09:51:30 +07:00
Joshua A. Horton
60772bfdfa chore(web): minor cleanup after generalizing fix with prior commit 2024-06-27 09:50:40 +07:00
Joshua A. Horton
34986503c9 fix(web): patch-up automated tests that utilize dummy models
The dummy model never set a prediction's probability on the suggestion, so it never emitted p, lexical-p, or correction-p values before this branch's changes.
2024-06-27 09:49:09 +07:00