change(web): add tokenized prediction intermediate type for whitespace correction support 🚂 🔪 - #15907
Merged
jahorton merged 10 commits intoJun 29, 2026
Conversation
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
May 6, 2026 20:17
e8f3cad to
1a3e571
Compare
jahorton
changed the base branch from
feat/web/multi-token-predict-core
to
change/web/rework-traversalless-prediction
May 6, 2026 20:17
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
May 6, 2026 20:19
1a3e571 to
b243fc8
Compare
jahorton
force-pushed
the
change/web/rework-traversalless-prediction
branch
from
May 7, 2026 18:22
f8a1e49 to
daea6e5
Compare
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
May 7, 2026 18:45
eb8c98b to
96b044a
Compare
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
May 12, 2026 17:09
5150f26 to
e622a4b
Compare
jahorton
changed the base branch from
change/web/rework-traversalless-prediction
to
fix/web/create-default-keep
May 12, 2026 18:28
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
May 12, 2026 19:43
e622a4b to
d79d54a
Compare
jahorton
changed the base branch from
fix/web/create-default-keep
to
change/web/multi-token-suggestion-similarity
May 12, 2026 19:43
jahorton
force-pushed
the
change/web/multi-token-suggestion-similarity
branch
from
May 28, 2026 21:43
61fc801 to
96339dc
Compare
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
May 29, 2026 21:40
b763609 to
71a9162
Compare
jahorton
commented
May 29, 2026
| tokens.push({ | ||
| correction: entry, | ||
| casingRoot: orderedTokens ? orderedTokens[i].exampleInput : entry.sample.insert, | ||
| autoSelectable: correctionValidForAutoSelect(entry.sample.insert) |
Contributor
Author
There was a problem hiding this comment.
jahorton
force-pushed
the
change/web/multi-token-suggestion-similarity
branch
2 times, most recently
from
June 2, 2026 14:32
4d2321f to
fa050f9
Compare
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
June 2, 2026 21:30
71a9162 to
e1bba09
Compare
jahorton
force-pushed
the
change/web/multi-token-suggestion-similarity
branch
2 times, most recently
from
June 12, 2026 14:10
2a9c6f2 to
618e6bd
Compare
…e correction support Converts early uses of CompositedPredictionData to TokenizedPredictionData to facilitate important token-based aspects of whitespace correction support, such as case-handling. Build-bot: skip build:web Test-bot: skip
…ction-data format
…suggestion pattern
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
June 12, 2026 14:25
e1bba09 to
acec50b
Compare
jahorton
force-pushed
the
change/web/multi-token-prediction-intermediates
branch
from
June 12, 2026 15:32
c6182e0 to
15080a6
Compare
jahorton
marked this pull request as ready for review
June 12, 2026 17:36
mcdurdin
approved these changes
Jun 22, 2026
- A few let -> const - Adds and fixes doc-comments
…ge/web/multi-token-prediction-intermediates Also renames IntermediateTokenizedPrediction to TokenizedIntermediatePrediction.
Base automatically changed from
change/web/multi-token-suggestion-similarity
to
epic/boundary-correction
June 29, 2026 18:54
…rediction-intermediates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Converts early uses of CompositedPredictionData to TokenizedPredictionData, facilitating important token-based aspects of whitespace correction support, such as case-handling. Predictions will be computed token-by-token without immediately compositing them into a single token. The compositing step will be done later.
Note that the
.metadatacomponent of bothCompositedPredictionDataandTokenizedPredictionDatais identical.Build-bot: skip build:web
Test-bot: skip