Inspiration

What it does

How we built it

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for RealWord: catch the spelling errors spellcheck misses

Inspiration

"Mr Patel needs his medication at ate, not nine." A spellchecker sees no error in that sentence, because "ate" is a real word. For a care coordinator writing a handover, that one word is the difference between eight and nine o'clock.

Spellcheckers look for words that are not in the dictionary. Many of the errors people with dyslexia make are real words: "form" for "from", "quite" for "quiet", "their" for "there". A study of dyslexic writing found that nearly 20% of spelling errors are real-word errors, and that current spellcheckers do not detect them (Rello et al., ASSETS 2015).

This is not a niche problem: the British Dyslexia Association estimates that 10-15% of the population have dyslexia and/or other specific learning differences (BDA, advice for employers). At work, a handover with "form the ward" reads as careless. Google Research studied the same audience with LaMPost (ASSETS 2022): adults with dyslexia writing email with an LLM. It also showed the risk: LLMs rewrite text and add things the writer never said.

We wanted a tool that does one narrow thing well: point at the exact word, offer one fix, explain it in six words or fewer, and never rewrite the sentence.

What it does

RealWord is a writing pad for adults with dyslexia who write work email. It catches the real-word and phonetic spelling errors that spellcheckers miss.

  1. You type. When you finish a sentence or pause for 600 ms, RealWord checks that one sentence.
  2. Code pre-filters the sentence. It marks commonly confused words (form/from, quite/quiet, their/there, then/than, affect/effect and more) and words outside an English wordlist (phonetic spellings like "stashun").
  3. Gemini Nano, running on-device in Chrome through Firebase AI Logic, judges only the marked spans and returns JSON: {errors: [{wrong, suggestion, why}]}.
  4. Code verifies every answer. A flag is kept only if wrong is one of the marked words in the sentence and suggestion is in the wordlist or the confusable list. For a sound-alike word, the suggestion must be one of its listed partners (form -> from, never form -> prescription). Nano proposes; code verifies (verify() in web/src/lib/check.ts).
  5. Nano double-checks its own sound-alike flags, on the device. For each one it gets a forced choice: "Which sentence did the writer mean? A: original, B: corrected". It is asked twice with the order swapped. The flag stays only when both answers pick the correction; any other answer, failure or timeout drops it (confirmOnDevice() and confirmModel() with InferenceMode.ONLY_ON_DEVICE in web/src/ai/checker.ts). This step never sends the sentence to the cloud. It adds up to two on-device calls per sound-alike flag (the second call is skipped when the first answer keeps the original).
  6. You click the underline: one suggestion, a plain reason ("quiet = no noise"), a button that reads both words aloud, and Accept / Ignore.
  7. Accepting saves only the word pair (quite -> quiet) on your device. The sentence is never stored.
  8. Weekly review (Pattern Coach) runs in the cloud on your word pairs only. Before sending, a "What the cloud sees" panel shows the exact payload, and a leak guard blocks any fragment of three or more words. A "Sentences sent to cloud" counter at the top counts every sentence that has left the device in any model request.
  9. The coach returns your personal error patterns and a small personal pack (rules, at most 600 tokens). Turn the pack on, and it is injected into the on-device model's initialPrompts. The pack is a short, readable list of rules; how much it helps on-device depends on the writer and the model. On our test set the demo pack did not improve on-device accuracy (15 of 20 correct fixes with it, 17 without), so we do not claim a gain. You can compare pack on and pack off side by side.
  10. Every result shows a badge: on-device or cloud, with latency in ms, taken from Firebase AI Logic's inferenceSource.
  11. A counterfactual panel ("Cloud-only?") replays your session as if every check had gone to the cloud, against a cap of 15 requests per minute. It shows when the first 429 rate-limit error would have happened, how many requests would be rejected, and how many would still be queued. In the demo you can add a simulated 10-minute writing session, clearly labelled as simulated.
  12. No Gemini Nano in your browser? RealWord says so, asks for consent, then checks one paragraph at a time in the cloud with a client-side rate limit.
  13. Without that consent, nothing goes to the cloud. If an on-device check fails or times out, RealWord says "Couldn't check on device ... Nothing was sent." and offers a one-click "Check in cloud" for that sentence only. After you have agreed to cloud checks, the fallback is automatic.

Why hybrid

Each job runs where it fits best, and only derived data crosses the boundary.

Job Where it runs Why
Check each sentence as you pause (many times a minute) On-device: Gemini Nano in Chrome Drafts are private (names, health and HR details); no network wait per pause; no draw on the project's shared cloud quota
Weekly review of accepted word pairs Cloud: Gemini (ONLY_IN_CLOUD) Rare and heavier: finds patterns across weeks of corrections; receives word pairs only, never sentences
Personal pack Made in the cloud, used on the device The cloud teaches; the device does the frequent work
Checks on a browser without on-device AI Cloud, only after consent Keeps RealWord usable on any desktop Chrome; rate-limited on the client

Why not cloud for everything? In a server run on our test set the cloud model caught 20 of 20 seeded errors with no false flags, but 7 of 29 calls took over 5 s (max 10.5 s), and even paced at 12 requests a minute the run hit one 429 from the project's shared quota (docs/evidence/2026-11-30-eval-cloud.json). A checker that runs on every pause needs to be private and free of a shared quota. The device is not faster: on our test laptop the median on-device check took 6,478 ms without the pack (4,345 ms with the demo pack) against 1,337 ms in the cloud (see "Eval results"). It keeps the draft on the device and costs no shared quota. So the cloud teaches, and the device does the frequent work.

How we built it

  • Web app: React 19, TypeScript, Vite. Hosted on Firebase Hosting.
  • Firebase AI Logic (firebase 13.4.0, firebase/ai) is the single inference layer for both paths:
    • Sentence check: InferenceMode.ONLY_ON_DEVICE before cloud consent, InferenceMode.PREFER_ON_DEVICE after it; onDeviceParams.createOptions.initialPrompts (system prompt + personal pack), onDeviceParams.promptOptions.responseConstraint (plain JSON Schema).
    • On-device confirm: a second model, confirmModel(), always InferenceMode.ONLY_ON_DEVICE, with its own system prompt and a {answer: "A" | "B"} constraint. It re-asks each on-device sound-alike flag as a forced choice, twice with the order swapped, one call at a time (confirmOnDevice() in web/src/ai/checker.ts).
    • Pattern Coach: InferenceMode.ONLY_IN_CLOUD, generationConfig.responseSchema structured output.
    • Cloud check: InferenceMode.ONLY_IN_CLOUD with the same prompt and a responseSchema. Used when Nano is unavailable (after consent) or when an on-device call fails or times out. The cloud model name comes from Remote Config.
  • App Check with the reCAPTCHA Enterprise provider protects every cloud call from the hosted URL.
  • Remote Config: cloud_model, fallback_rpm, coach_enabled, pack_max_tokens. These act as a kill switch and a cloud budget during judging.
  • Speech: the browser's speechSynthesis reads suggestions aloud. Storage: localStorage for the word-pair history and personal pack.
  • Code-side guards: confusable list, wordlist, span verification, partner-only check for sound-alike words, leak guard, token-bucket rate limiter with countdown retry on 429.

Challenges we ran into

  • Small on-device models are generic. Without guidance, a small model judges each word in isolation. Instead of a bigger prompt, we let the cloud learn the user's own patterns and hand a small pack back to the device. On our test set the demo pack did not raise on-device accuracy, so this is a design choice, not a measured gain.
  • False flags on correct sound-alike words. On the laptop, Nano flagged correct words in 4 of 10 clean sentences (run 1). Showing each word's partners in the prompt and accepting only those partners removed the wrong fixes, but false flags rose to 6 of 10 (run 2): asked an open "is this word wrong?" question, Nano swapped correct words such as "quiet" and "eight" for their partners. We added the on-device confirm step (forced choice A/B, asked twice in swapped order). In run 4, clean sentences with a false flag went from 6 of 10 (run 2, before the step) to 0 of 10; across all changes since run 1, from 4 of 10 to 0 of 10 while correct fixes rose from 14 to 17 of 20, all on the device (in_cloud = 0, no pack). The step dropped 12 flags in run 4 (7 without the pack, 5 with it), all of them false. The cost is latency: on our laptop a sentence with a confirmed sound-alike flag takes about 9-11 s (one check plus up to two confirm calls); a sentence whose sound-alike flag is double-checked and then dropped also pays for one or two confirm calls; a sentence with no sound-alike flag to double-check takes about 3-4.5 s.
  • Hallucinated corrections are worse than no correction for this audience. We narrowed Nano's job to judging pre-marked spans and added code verification, so a suggestion that is not a real English word, or a "wrong" word that is not in the sentence, is never shown.
  • Context window budget. The schema, system prompt, personal pack and sentence all share the on-device context window, so the pack is capped (Remote Config pack_max_tokens) and the schema is kept short.
  • Proving privacy instead of claiming it. We built the "What the cloud sees" panel and the leak guard so a judge can check the payload, not just read our promise.
  • Shared quota. All cloud calls in a Firebase project share one quota. We added client-side rate limiting, 429 countdown retries, and Remote Config switches.
  • Doubled words. In "the form form the ward", the model sometimes flagged the first "form", which is correct as a noun. Verification now moves the flag to the adjacent copy when the flagged copy follows a determiner (preferDuplicate() in web/src/lib/check.ts).
  • Two schema dialects. Chrome's Prompt API responseConstraint takes plain JSON Schema, while the cloud responseSchema uses the SDK's Schema builder (OpenAPI subset, with keys such as nullable that the Prompt API does not accept). The checker keeps one schema per side (DEVICE_SCHEMA, CLOUD_SCHEMA in web/src/ai/checker.ts).
  • Cold start. The first on-device call also loads the model, so it gets a 30 s timeout; later calls get 8 s (FIRST_DEVICE_TIMEOUT_MS, DEVICE_TIMEOUT_MS in web/src/App.tsx). Without cloud consent a timeout is reported, not sent; the user can click "Check in cloud". With a 15 s first-call limit, one eval run was invalid: the first call timed out while the model loaded, and later prompts queued behind it (25 of 29 timed out), so we raised it to 30 s.
  • Consent-aware routing. Without consent the checker uses InferenceMode.ONLY_ON_DEVICE and throws DeviceCheckError on failure; with consent it uses PREFER_ON_DEVICE, which may fall back to the cloud (model() and checkUnit() with allowCloud in web/src/ai/checker.ts).

Accomplishments that we're proud of

  • A complete loop in one screen: type, flag, explain, hear, accept, learn, check again with the personal pack.
  • A privacy split that holds up: the Pattern Coach saw word pairs only, and the "What the cloud sees" panel proves it before each request.
  • An on-device confirm step that removed Nano's false flags without the cloud: with partner-only verification and the confirm step, clean sentences with a false flag went from 4 of 10 to 0 of 10 (6 of 10 to 0 of 10 from the confirm step alone), while correct fixes rose from 14 to 17 of 20, every call on the device.
  • On a browser with Gemini Nano, sentences stay on the device unless the user agrees to cloud checks or clicks "Check in cloud"; a live counter shows every sentence that leaves.
  • Every result is labeled with where it ran and how long it took.

What we learned

  • Hybrid is not only "on-device first, cloud as backup". The best split here was by job: frequent, private, latency-sensitive checks on-device; rare, heavier learning in the cloud; and only derived data (word pairs) crossing the boundary.
  • For accessibility tools, a narrow and predictable model output beats a smart rewrite.
  • A small model answers a narrow question better than an open one. Asked "is this word wrong?", Nano over-flagged correct sound-alike words; asked "which of these two sentences did the writer mean?", in both orders, it kept every correct fix in our run and dropped every false one.
  • Measure the personal pack, do not assume it. Our demo pack did not improve on-device accuracy (17 of 20 correct fixes without it, 15 with it), so we report it as a personal aid, not a gain.
  • Simulating a cloud-only checker made the quota cost visible: every pause becomes a request against one quota shared by all users of the project. Even our paced cloud test run hit a real 429.

Notes for the Firebase AI Logic team

  • On-device generateContent() ignores the AbortSignal passed in request options: the Chrome adapter calls session.prompt(contents, this.onDeviceParams.promptOptions) without a signal (@firebase/ai in firebase 13.4.0, dist/esm/index.esm.js). Our timeout stops waiting, but Nano's inference keeps running in the background. In one eval run, a timed-out first call (model load) left later prompts queued behind it, and 25 of 29 calls timed out. Our workaround: a 30 s first-call timeout, and no further confirm calls for a sentence after a confirm call times out.

What's next for RealWord

  • A Chrome extension for Gmail and other web editors.
  • More languages. This version sets the on-device expectedInputs to English; the Prompt API also supports Japanese, Spanish, German and French.
  • An opt-in, privacy-preserving way to share anonymous topic packs (public vocabulary only), never personal packs.
  • A study with dyslexic adults, as in LaMPost, measuring errors sent before and after.

Judging criteria

Technological Implementation

  • One model factory for both paths: model() in web/src/ai/checker.ts calls getGenerativeModel(ai, { mode, onDeviceParams, inCloudParams }, { timeout }); checkUnit() runs the check and reads response.inferenceSource.
  • Mode per job, not per app: sentence checks use ONLY_ON_DEVICE before cloud consent and PREFER_ON_DEVICE after it; the confirm step always uses ONLY_ON_DEVICE; Pattern Coach uses ONLY_IN_CLOUD.
  • Model output is checked twice: code (verify() in web/src/lib/check.ts: marked span, known word, partner-only for sound-alike words), then a forced-choice confirm on the device for sound-alike flags (confirmOnDevice() in web/src/ai/checker.ts).
  • Structured output on both sides: responseConstraint on-device, responseSchema in the cloud.
  • Routing is measured, not assumed: each result records response.inferenceSource and latency. Median cloud latency on our test set: 1,688 ms (server run, 29 calls) and 1,337 ms (laptop run 3). Median on-device latency on the laptop: 6,478 ms (run 4, no pack, confirm calls included): about 9-11 s for a sentence with a confirmed sound-alike flag, about 3-4.5 s for a sentence with no sound-alike flag to double-check (flags that are double-checked and dropped fall in between).
  • Model availability is checked with a timeout (LanguageModel.availability(), 8 s) in web/src/ai/nanoStatus.ts (nanoAvailability()). The model download starts only from a user click, through the SDK's initializeDeviceModel() with a progress callback (enableDevice() in web/src/App.tsx, model from deviceModelForDownload() in web/src/ai/checker.ts).
  • On-device calls have a timeout (30 s for the first call, 8 s after; withTimeout() in web/src/lib/rate.ts). Without consent a failed or slow sentence is reported with a "Check in cloud" button; with consent it goes to the cloud and the badge tooltip shows why.
  • Security and cost: App Check (reCAPTCHA Enterprise) in web/src/firebase.ts; Remote Config kill switch and budget (loadRemoteConfig()); client token bucket (TokenBucket in web/src/lib/rate.ts, Remote Config fallback_rpm, default 12 per minute) and 429 retries after 15, 30 and 60 s with a countdown (cloudCall() in web/src/ai/checker.ts).

Design

  • The first screen explains itself: the browser's spellchecker on the left with no red lines on the real-word errors, RealWord on the right with them flagged.
  • One suggestion at a time, a six-word reason, read-aloud, Accept / Ignore. No rewriting.
  • Accessibility options: larger text, dyslexia-friendly font option, high contrast.
  • Honest system state: on-device / cloud badge with ms on every result, a clear banner and consent before cloud checks, a per-sentence "Check in cloud" choice when an on-device check fails, and a live "Sentences sent to cloud" counter.

Potential Impact

  • Audience: adults with dyslexia writing work email, handovers and applications, who already use a spellchecker and still send errors. The British Dyslexia Association estimates that 10-15% of the population have dyslexia and/or other specific learning differences (https://www.bdadyslexia.org.uk/advice/employers).
  • The stakes: "medication at ate, not nine" passes a spellchecker.
  • Problem size: nearly 20% of dyslexic spelling errors are real-word errors that spellcheckers do not detect (Rello et al., ASSETS 2015).
  • What we demonstrate: on our 30-sentence test set (20 seeded errors), a wordlist spellcheck proxy flagged 8 of 20 and none of the 12 real-word errors; RealWord's cloud path flagged and correctly fixed 20 of 20, with no false flags on the 10 clean sentences (server run; 19 of 20 in the laptop run, where 2 of 29 cloud calls failed). On-device: Gemini Nano on a Windows 11 laptop flagged 19 of 20 and correctly fixed 17 of 20, with no false flags on the clean sentences and every call on the device (median 6,478 ms without the pack). With the demo pack it fixed 15 of 20, so we make no claim that the pack improves accuracy.
  • Privacy is a requirement, not a feature: work drafts often contain names and health or HR details. RealWord checks sentences on the device and sends one to the cloud only with the user's consent.

Quality of the Idea

  • Non-obvious hybrid split: the Pattern Coach never sees what you write. It sees only the word pairs you accepted, and it returns a personal pack for the on-device model. The cloud learns from derived data only; the device keeps doing the frequent, private work.
  • Comparison with alternatives:
Browser spellcheck Chrome Proofreader API RealWord
Real-word errors (form/from) No General proofreading, not tuned to dyslexic error patterns Yes, targeted confusable and phonetic checks
Status Stable Origin trial (Chrome 141-145) Prompt API (shipped for the web in Chrome 148) through Firebase AI Logic
Learns your personal patterns No No Yes, from accepted word pairs
Works without on-device model Yes No Yes, cloud fallback after consent
Explains each fix in plain words + read-aloud No No Yes
  • Note: Chrome's Enhanced spell check sends typed text to Google for checking. RealWord's on-device path does not.

Built during the submission period

RealWord is a new project, built between Nov 11 and Nov 30, 2026. The repository contains the complete source as submitted. No pre-existing app or code base was used, apart from open-source dependencies listed in web/package.json and the SCOWL English wordlist (web/public/wordlist-LICENSE.txt).

How we use Firebase AI Logic

Source code: https://github.com/kaydash/firebase_public (Apache-2.0). Paths below are relative to the repository root.

What File Function / API
Firebase app, App Check, AI Logic instance web/src/firebase.ts initializeApp, initializeAppCheck(… ReCaptchaEnterpriseProvider …), getAI(firebaseApp, { backend: new GoogleAIBackend() })
On-device availability web/src/ai/nanoStatus.ts nanoAvailability(): LanguageModel.availability() with an 8 s timeout
On-device model download (user click) web/src/ai/checker.ts, web/src/App.tsx deviceModelForDownload() returns the hybrid model; enableDevice() calls its initializeDeviceModel() with progress
Sentence check, no cloud consent web/src/ai/checker.ts model('device', packRules): InferenceMode.ONLY_ON_DEVICE; a failure throws DeviceCheckError and the UI offers "Check in cloud"
Sentence check, with cloud consent (on-device first) web/src/ai/checker.ts model('hybrid', packRules): getGenerativeModel with InferenceMode.PREFER_ON_DEVICE, createOptions.initialPrompts (systemPrompt(packRules), personal pack included), promptOptions.responseConstraint (DEVICE_SCHEMA); checkUnit() calls generateContent() and reads response.inferenceSource
Pattern Coach (cloud only) web/src/ai/coach.ts coachModel(): InferenceMode.ONLY_IN_CLOUD, generationConfig.responseSchema (COACH_SCHEMA); runCoach() runs leakGuard() first, then generateContent() on the buildPayload() JSON (word pairs only); fitPack() trims rules to pack_max_tokens
Cloud check (no Nano after consent, "Check in cloud", or on-device failure after consent) web/src/ai/checker.ts, web/src/lib/rate.ts model('cloud', packRules): InferenceMode.ONLY_IN_CLOUD, responseSchema (CLOUD_SCHEMA); cloudCall() waits on the TokenBucket gate and retries 429s (is429())
Remote Config web/src/firebase.ts loadRemoteConfig() (fetchAndActivate, 5 s fetch timeout, in-code defaults on failure), appConfig(): cloud_model, fallback_rpm, coach_enabled, pack_max_tokens
Code stages around the model web/src/lib/check.ts prefilter() (confusables + wordlist), markText(), verify() (span and suggestion checks)
Quota counterfactual web/src/lib/counterfactual.ts simulate(events, 15)

Testing instructions

  1. Open https://buildhybridai-2026-app.web.app/?demo=1 in desktop Chrome. No login is needed. ?demo=1 loads Maya's draft email and a word-pair history.
  2. Click "Autoplay demo" (top right). It types Maya's email and walks through every feature with captions, in about two and a half minutes. Or type your own sentence, for example: I will send the form form the ward when it is quite.
  3. Click an underlined word to see the suggestion, the reason and the read-aloud button. Click Accept.
  4. Open the "Weekly review" tab. Check the exact request (word pairs only), try "Test the leak guard", then click "Run weekly review".
  5. Open the "Personal pack" tab, turn the pack on, and click "Compare" to check The new stashun rota starts on Munday. with the pack off and on.
  6. Open the "Cloud-only?" tab to see this session replayed against a cap of 15 requests per minute. The "Log" tab shows each check's route, time and prompt.

On a browser without Gemini Nano (most judges):

  • You will see the banner: "On-device AI isn't available in this browser. Checks will use Gemini in the cloud, one paragraph at a time." Nothing is sent until you agree; words that need no AI are still checked in code.
  • Click "Agree: check paragraphs in the cloud". Checks then run in the cloud, one paragraph at a time, limited by the client to 12 requests per minute (Remote Config fallback_rpm). Badges show cloud. If the shared quota is busy you will see a countdown and an automatic retry.
  • The demo history means Pattern Coach and the personal pack work on the first click.

To see the on-device path: desktop Chrome 148 or later on hardware that supports Gemini Nano. If RealWord does not detect on-device AI, open chrome://flags, enable #prompt-api-for-gemini-nano-multimodal-input and #gemma4-for-built-in-ai, restart Chrome, then click "Enable on-device AI (one-time download)" and wait for the progress bar.

Known limitations

  • English only. On-device checks need desktop Chrome with Gemini Nano; other browsers use the cloud path after consent.
  • Nano still misses some errors: without the pack, 3 of 20 were not correctly fixed on the device in run 4 (5 of 20 with the demo pack). The demo pack did not improve on-device accuracy on our test set (15 of 20 correct fixes with it, 17 without). See the eval table.
  • On-device checks are slower than the cloud on our test laptop: median 6,478 ms without the pack (4,345 ms with the demo pack), about 9-11 s for a sentence with a confirmed sound-alike flag, about 3-4.5 s for a sentence with no sound-alike flag to double-check; a dropped flag still costs one or two confirm calls. Cloud median: 1,337 ms.
  • The confirm step can drop a correct flag: when Nano picks the original sentence in either order, or a confirm call fails or times out. In run 4 it dropped 12 flags (both configurations), all false, and no correct one.
  • Code verification can hide a correct suggestion if the word is not in our wordlist (for example, names and rare terms).
  • In cloud mode, paragraph text is sent to Gemini, only after the user agrees. On a browser with Gemini Nano, a sentence goes to the cloud only after consent: either the general agreement (then a failed, slow or SDK-routed on-device check falls back automatically) or a click on "Check in cloud" for that sentence. The counter counts every sentence that leaves the device.
  • Our test set is small and self-made: 30 sentences written by the team, and the seeded errors overlap our confusable list and the demo pack. It is not a benchmark, and there has been no user study yet.
  • History and the personal pack are stored in localStorage in one browser profile. No sync between devices.
  • The counterfactual panel is a simulation based on this session's check times and an assumed cap of 15 requests per minute, not a live load test. The real free-tier limit for a project is shown only in AI Studio and can change (see "Rate-limit wording").
  • RealWord is a writing aid, not a diagnostic or medical tool.

Eval results

Setup Seeded errors flagged (of 20) Correct fix (of 20) False flags on 10 clean sentences Median latency
Spellcheck proxy (flags words outside the wordlist, no suggestions), run 3 8 (real-word 0/12, phonetic 8/8) 0 0 n/a (no model)
Gemini Nano on-device, no pack, run 4 19 (real-word 11/12, phonetic 8/8) 17 0 6,478 ms
Gemini Nano on-device + demo pack, run 4 15 (real-word 9/12, phonetic 6/8) 15 0 4,345 ms
Cloud, gemini-3.5-flash-lite (ONLY_IN_CLOUD, no pack), run 3 19 (2 of 29 calls failed: one HTTP 500 "high demand", one timeout) 19 0 1,337 ms

30 sentences we wrote in Maya's domain: 20 with one seeded error (12 real-word, 8 phonetic), 10 clean. One sentence per request, production prompt, pre-filter and verification. Battery and runner: web/src/evalBattery.ts, web/src/eval.ts (/eval page). All four rows were measured on one Windows 11 laptop, Chrome 158, Gemini Nano (gemma4 component 2026.11.3.1140, as recorded in run 1 on the same laptop), on 2026-12-01 (KST). On-device rows: run 4, docs/evidence/2026-12-01-eval-laptop-v4.md; every call ran on the device (in_cloud = 0), no timeouts or failures; latency includes the confirm calls (about 9-11 s for a sentence with a confirmed sound-alike flag, about 3-4.5 s for a sentence with no sound-alike flag to double-check). Spellcheck proxy and cloud rows: run 3, docs/evidence/2026-12-01-eval-laptop-v3.md. Earlier history: runs 1 and 2 (docs/evidence/2026-11-30-eval-laptop-v1.md, -v2.md). An earlier cloud run on a server (Chrome 156 on Linux, no Gemini Nano, 2026-11-30) caught and fixed 20 of 20 with no false flags, median 1,688 ms (29 calls, one 429 retry): docs/evidence/2026-11-30-eval-cloud.json.

Clean sentences with a false flag, on-device (no pack / demo pack): run 1 baseline 4/10 / 3/10; run 2 partner-only verify and partner hints 6/10 / 4/10; run 4 with the on-device confirm step 0/10 / 0/10. Correct fixes without the pack: 14/20 (run 1), 16/20 (run 2), 17/20 (run 4).

References

Built With

  • chrome-prompt-api
  • firebase-ai-logic
  • firebase-app-check
  • firebase-hosting
  • firebase-remote-config
  • gemini
  • gemini-nano
  • react
  • recaptcha-enterprise
  • typescript
  • vite
  • web-speech-api
Share this project:

Updates

Submission history