Skip to content

test: cover joined emoji and max-length GPU parity - #44

Merged
codewarnab merged 1 commit into
mainfrom
codex/browser-parity-edge-cases
Oct 19, 2026
Merged

codewarnab merged 1 commit into
mainfrom
codex/browser-parity-edge-cases

Conversation

@codewarnab

@codewarnab codewarnab commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

The browser GPU/CPU differential gate covered single-code-point emoji and short queries but omitted joined emoji and the query-length boundary. Extend the existing gate from 10 to 18 comparisons with full ZWJ sequences, emoji components, 128-token ASCII queries, and queries that expand to 128 tokens through case folding, in both substring and fuzzy modes.

Add exact and embedded matches, separate emoji scalars, and final-token near misses so truncation or incorrect sequence handling changes the results. Each browser result is checked against the CPU reference for ordered indexes, integer scores, text, and match counts. Include normalized token counts in test output and update the improvement plan.

Validation

  • bun run check:shaders
  • bun run typecheck
  • bun run build
  • bun run test:mock
  • bun run test:parity
  • Independent verification review

PR CI passed, including all 18 executing browser GPU/CPU comparisons (eight new cases). CI run. The local ARM host has no Chrome/Chromium installed, so browser validation ran in CI.

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
webgpu-search Ignored Ignored Oct 19, 2026 7:54am UTC

Copilot AI balanced review requested due to automatic review settings October 19, 2026 07:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codewarnab
codewarnab merged commit 973f202 into main Oct 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants