Skip to content

fix(search): recover adjacent transposition typos in fuzzy ranking - #82

Draft
kvnloo wants to merge 2 commits into
mainfrom
ayo-auto/o13
Draft

kvnloo wants to merge 2 commits into
mainfrom
ayo-auto/o13

Conversation

@kvnloo

@kvnloo kvnloo commented Nov 6, 2026

Copy link
Copy Markdown
Owner

O13 bounded search-algorithm change only; bottom navigation prototypes remain separate.

Shared scoreQueryMatch now recovers a single adjacent transposition only when fuzzy scoring is enabled, without enabling broad edit distance. Added focused regression assertions for exact matches, typo recovery, substitutions, short queries, and multiple swaps.

Evidence: packages/shared/src/searchRanking.ts and searchRanking.test.ts on main before this branch. No installed-device task-success evidence yet.

Verification NOT RUN (connector-only): vp test run packages/shared/src/searchRanking.test.ts; vp run check:changed. No CI claim. UI/nav unchanged.

@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Nov 6, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant