Skip to content

refactor(web): refactor intermediate composited prediction type 🚂 🔪#15951

Open
jahorton wants to merge 2 commits into
epic/boundary-correctionfrom
refactor/web/intermediate-composited-prediction
Open

refactor(web): refactor intermediate composited prediction type 🚂 🔪#15951
jahorton wants to merge 2 commits into
epic/boundary-correctionfrom
refactor/web/intermediate-composited-prediction

Conversation

@jahorton

@jahorton jahorton commented May 12, 2026

Copy link
Copy Markdown
Contributor

This reorganizes the type formerly known as CorrectionPredictionTuple, preparing it to share similarities with a new incoming type (see #15907) handling an earlier, tokenized intermediate stage that will be needed for some aspects of suggestion generation once whitespace-correction comes online.

Build-bot: skip build:web
Test-bot: skip

@keymanapp-test-bot

keymanapp-test-bot Bot commented May 12, 2026

Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

  • Web
    • KeymanWeb Test Home - build : all tests passed (no artifacts on BuildLevel "build")

@keymanapp-test-bot keymanapp-test-bot Bot changed the title refactor(web): refactor intermediate composited prediction type refactor(web): refactor intermediate composited prediction type 🚂 May 12, 2026
@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S29 milestone May 12, 2026
@keyman-server keyman-server modified the milestones: A19S29, A19S30 May 23, 2026
@jahorton jahorton force-pushed the fix/web/create-default-keep branch from 023a560 to 4d60591 Compare May 28, 2026 17:51
@jahorton jahorton force-pushed the refactor/web/intermediate-composited-prediction branch from b4a8771 to 9c45716 Compare May 28, 2026 18:33
@keymanapp-test-bot keymanapp-test-bot Bot changed the title refactor(web): refactor intermediate composited prediction type 🚂 refactor(web): refactor intermediate composited prediction type 🚂 🔪 May 28, 2026
@jahorton jahorton force-pushed the fix/web/create-default-keep branch from 4d60591 to 21ecf7a Compare May 28, 2026 21:33
@jahorton jahorton force-pushed the refactor/web/intermediate-composited-prediction branch from 9c45716 to 36c1445 Compare May 28, 2026 21:36
@jahorton jahorton force-pushed the fix/web/create-default-keep branch from 21ecf7a to b079a74 Compare June 1, 2026 21:13
@jahorton jahorton force-pushed the refactor/web/intermediate-composited-prediction branch from 36c1445 to c785a39 Compare June 1, 2026 21:15
@jahorton jahorton force-pushed the fix/web/create-default-keep branch from b079a74 to 6e557ee Compare June 2, 2026 14:29
@jahorton jahorton force-pushed the refactor/web/intermediate-composited-prediction branch from c785a39 to 4be948f Compare June 2, 2026 14:31
@keyman-server keyman-server modified the milestones: A19S30, A19S31 Jun 8, 2026
@jahorton jahorton force-pushed the fix/web/create-default-keep branch 5 times, most recently from 8fd9ef9 to 9a26be5 Compare June 11, 2026 20:56
@jahorton jahorton force-pushed the refactor/web/intermediate-composited-prediction branch from 4be948f to dbbe633 Compare June 12, 2026 13:44
This reorganizes the type formerly known as CorrectionPredictionTuple, preparing it to share similarities with a new incoming type handling an earlier, tokenized intermediate stage that will be needed for some aspects of suggestion generation.

Build-bot: skip build:web
Test-bot: skip
@jahorton jahorton force-pushed the refactor/web/intermediate-composited-prediction branch from dbbe633 to 415e003 Compare June 12, 2026 14:04
@jahorton jahorton requested a review from ermshiperete June 12, 2026 17:36
@jahorton jahorton marked this pull request as ready for review June 12, 2026 17:36
@keyman-server keyman-server modified the milestones: A19S31, A19S32 Jun 22, 2026

@mcdurdin mcdurdin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; the doc comments on the new interfaces are clear and helpful

if(transformId) {
p.prediction.sample.transformId = transformId;
p.metadata.preservationTransform = preservationTransform;
if(transformId !== undefined) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good bugfix -- should it have been called out separately?

Base automatically changed from fix/web/create-default-keep to epic/boundary-correction June 22, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants