<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Utkarsh Singh</title>
    <description>The latest articles on DEV Community by Utkarsh Singh (@utkarsh_singh-27).</description>
    <link>https://dev.to/utkarsh_singh-27</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4156872%2F18e0f1ad-3d71-43ce-9df8-77dda422593f.jpg</url>
      <title>DEV Community: Utkarsh Singh</title>
      <link>https://dev.to/utkarsh_singh-27</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/utkarsh_singh-27"/>
    <language>en</language>
    <item>
      <title>Ofrenda: a grandmother's voice should never be an API call</title>
      <dc:creator>Utkarsh Singh</dc:creator>
      <pubDate>Wed, 28 Oct 2026 17:04:49 +0000</pubDate>
      <link>https://dev.to/utkarsh_singh-27/ofrenda-a-grandmothers-voice-should-never-be-an-api-call-16b1</link>
      <guid>https://dev.to/utkarsh_singh-27/ofrenda-a-grandmothers-voice-should-never-be-an-api-call-16b1</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Ofrenda is an offline oral-history keeper. You record one family story — a voice memo is enough — and it becomes a printed keepsake: a transcript you can correct, the one line worth keeping, a short remembrance, and a card you can print and put on the wall.&lt;/p&gt;

&lt;p&gt;Two open-weight models do the listening and the writing, both inside the browser tab:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Whisper tiny.en&lt;/strong&gt; turns the recording into text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 3 1B&lt;/strong&gt; writes a title and a three-sentence remembrance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything else is code: choosing the quote, enforcing the word limits, rejecting clichés and invented dialogue, laying out the card, painting it on a canvas, exporting the PNG, keeping a shelf in &lt;code&gt;localStorage&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I read "Ghost in the Machine" as the voice inside a recording, and Día de los Muertos as the night you are supposed to remember out loud. The two fit together too well to ignore. I did not want to build another chatbot with a skull emoji; I wanted to build the card you put on the altar.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuckq8dvibo73ai6szeva.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuckq8dvibo73ai6szeva.png" alt="The Ofrenda interface with a finished card" width="800" height="1157"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Live:&lt;/strong&gt; &lt;a href="https://4-thkind.github.io/ofrenda/" rel="noopener noreferrer"&gt;https://4-thkind.github.io/ofrenda/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/4-thkind/ofrenda" rel="noopener noreferrer"&gt;https://github.com/4-thkind/ofrenda&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;Use the sample story&lt;/strong&gt; button loads a 33-second recording, so you can try the whole flow without a microphone: transcribe → correct a word → pick the line → write the card → download the PNG.&lt;/p&gt;

&lt;p&gt;The first run downloads the models (about 40 MB for Whisper, 570 MB for Gemma) and the browser caches them. After that the app works offline. Chrome or Edge with WebGPU is fastest; without it, the app falls back to WASM on the CPU.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1em6xkq9h8rxgmx3ffj0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1em6xkq9h8rxgmx3ffj0.png" alt="The exported keepsake card" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/4-thkind" rel="noopener noreferrer"&gt;
        4-thkind
      &lt;/a&gt; / &lt;a href="https://github.com/4-thkind/ofrenda" rel="noopener noreferrer"&gt;
        ofrenda
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      An offline oral-history keeper: record a family story, transcribe and remember it locally with open-weight models.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Ofrenda&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;A family story, kept offline.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Ofrenda is an offline oral-history keeper. Record one family story — a voice memo is
enough — and it becomes a printed keepsake: a transcript you can correct, a line worth
keeping, a short remembrance, and a card you can put on the wall.&lt;/p&gt;
&lt;p&gt;Two open-weight models do the listening and the writing. Everything else — the quote
selection, the word limits, the clichés, the layout, the fallbacks — is ordinary code
with tests.&lt;/p&gt;
&lt;p&gt;Nothing is uploaded. Not the audio, not the words, not the name.&lt;/p&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/4-thkind/ofrenda/demo/screenshot.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2F4-thkind%2Fofrenda%2FHEAD%2Fdemo%2Fscreenshot.png" alt="The Ofrenda interface with a finished card"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Why&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Día de los Muertos is a night for remembering out loud. "Ghost in the Machine" is the
same idea from the other side: the ghost is the voice inside the recording.&lt;/p&gt;
&lt;p&gt;The obvious way to build this is to send the audio to a transcription API and the
transcript to a chat API. That means a grandmother's…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/4-thkind/ofrenda" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;No framework, no bundler, no build step. The app is ES modules, one canvas, and a stylesheet. The models run through &lt;a href="https://github.com/huggingface/transformers.js" rel="noopener noreferrer"&gt;Transformers.js&lt;/a&gt; and ONNX Runtime Web.&lt;/p&gt;

&lt;p&gt;The design rule that shaped everything: &lt;strong&gt;the model writes; the code decides what is true.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A 1B model is good at prose and bad at being trusted. So the parts a family would care about are not generated:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Decision&lt;/th&gt;
&lt;th&gt;Made by&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Which sentence becomes the quote&lt;/td&gt;
&lt;td&gt;scoring in &lt;code&gt;text.js&lt;/code&gt; — first person, distinct sensory details, comfortable length, penalty for funeral language&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Whether the remembrance is acceptable&lt;/td&gt;
&lt;td&gt;guards in &lt;code&gt;remembrance.js&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What the card says when the model fails&lt;/td&gt;
&lt;td&gt;a deterministic fallback built from the facts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where every line sits&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;card-layout.js&lt;/code&gt;, tested without a canvas&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Gemma's output is accepted only if it is 18–95 words, 2–4 sentences, ends with punctuation, contains no markdown, no greeting-card language ("loving memory", "rest in peace"), no machine voice ("circuits", "as an AI"), and &lt;strong&gt;no quotation marks&lt;/strong&gt; — because the model does not know what anyone actually said, and putting words in a grandmother's mouth is the one thing a memory keeper cannot do.&lt;/p&gt;

&lt;h3&gt;
  
  
  What broke, and what fixed it
&lt;/h3&gt;

&lt;p&gt;Every one of these was found by running the app, not by reading it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;English-only Whisper rejects the language flag.&lt;/strong&gt; &lt;code&gt;onnx-community/whisper-tiny.en&lt;/code&gt; throws if you pass &lt;code&gt;language&lt;/code&gt; or &lt;code&gt;task&lt;/code&gt;. Stop passing them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The 1B echoed the prompt.&lt;/strong&gt; Given a raw string, Gemma continued the instructions and fell into markdown fences. Given a chat template — system and user messages — it wrote three clean sentences. Same model, same words, different shape.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The 1B invented dialogue.&lt;/strong&gt; One remembrance included &lt;code&gt;She'd simply say, "Listen closely"&lt;/code&gt; — a line that appears nowhere in the story. The quote guard exists because of that sentence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The 1B wrote about its own circuits.&lt;/strong&gt; "The scent of warm bread fills my circuits with memories." Now rejected by the same bouncer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;q4f16&lt;/code&gt; reloaded the tab on first load.&lt;/strong&gt; Twice. The same model at &lt;code&gt;q4&lt;/code&gt; loaded in 89 seconds and generated normally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Two models, one GPU.&lt;/strong&gt; Holding Whisper and Gemma at once was more memory than the tab was given. The listener is now disposed before the writer wakes; the weights stay cached, so it wakes again in seconds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The card was hollow.&lt;/strong&gt; The first layout left the bottom third of the paper blank. The quote and the remembrance are now one composition, centred between the divider and a drawn marigold.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Measured on the demo machine: 33.2 s of audio → transcript in 42 s on WebGPU; one title plus one remembrance in about 37 s; the card renders in under 10 ms. 44 assertions in four test files, no test framework.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;A grandmother's voice is the most personal data a family owns. The ordinary way to build this app is to send the audio to a transcription API and the transcript to a chat API. That means the voice leaves the laptop, lands in someone's logs, and stays there — for a memory you intend to keep for decades.&lt;/p&gt;

&lt;p&gt;Open weights change the bargain. Download the model once and the machine in front of you can do the listening. The audio is decoded in the tab with the Web Audio API, the models run on the device, and the shelf is &lt;code&gt;localStorage&lt;/code&gt;. The only network requests are the model files and the library itself.&lt;/p&gt;

&lt;p&gt;The second thing open weights gave me is &lt;strong&gt;the right to refuse&lt;/strong&gt;. Because the model is small, local, and mine, I can wrap it in hard rules — no quotes, no clichés, no machine voice — and fall back to prose built from facts when it fails. With a closed API you get a text blob and a policy page. With open weights you get a component you can constrain, test, and replace.&lt;/p&gt;

&lt;p&gt;And the keepsake is a PNG, not a subscription. The card survives the app. That is the whole point of an ofrenda: the thing you keep outlives the thing that made it.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;I built this with an AI coding agent (OpenCode) in one session, and I want to be specific about the split, because "AI built it" is not a useful sentence.&lt;/p&gt;

&lt;p&gt;I set the constraints and the taste: no paid APIs, no uploads, a keepsake rather than a demo page, the theme, and the rule that the model may not invent dialogue. The agent wrote the modules and the tests, ran them, and drove the browser to verify the real flow — including finding the seven bugs above by running the app. I made the calls that could not be automated: which model, which guard, what the card should feel like.&lt;/p&gt;

&lt;p&gt;The build is 25 commits, grouped by concern, so the history reads like the work: pure rules and their tests first, then the model wrappers, then the painter, then the controller.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The first time the whole flow ran, the code picked this line from the transcript:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;But every time I smell bread, I hear her humming in the kitchen.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;and Gemma put this above it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Sunday's Warmth&lt;/strong&gt;&lt;br&gt;
Amma · 1938 – 2019 · grandmother · Kochi&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The story is synthetic — I wrote it and generated the audio offline — but the shape was right. The line the scoring chose was the line a family would choose. The card looked like something you would actually print and put next to a candle.&lt;/p&gt;

&lt;p&gt;Then, a few runs later, the model wrote "fills my circuits with memories," and the guard threw it out. That contrast is the project in miniature: the ghost can talk, but it does not get to lie.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; — Gemma 3 1B (q4, ONNX) runs locally in the tab through Transformers.js and writes both pieces of prose on the card. Every output passes through the guards before it is allowed onto the paper, and the deterministic fallback keeps the card honest when the model is not.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Whisper is MIT; Gemma 3 is open-weight under the Gemma Terms of Use; Transformers.js is Apache-2.0. The demo audio is synthetic speech generated offline. No real family recording is in the repo.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Siesta: the anti-todo list that runs Gemma 3 1B in your browser and tells you to do less</title>
      <dc:creator>Utkarsh Singh</dc:creator>
      <pubDate>Sat, 24 Oct 2026 08:40:21 +0000</pubDate>
      <link>https://dev.to/utkarsh_singh-27/siesta-the-anti-todo-list-that-runs-gemma-3-1b-in-your-browser-and-tells-you-to-do-less-ldp</link>
      <guid>https://dev.to/utkarsh_singh-27/siesta-the-anti-todo-list-that-runs-gemma-3-1b-in-your-browser-and-tells-you-to-do-less-ldp</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I deleted eleven tasks and kept two. That was the whole feature.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Siesta&lt;/strong&gt; is an anti-todo list. You paste everything on your mind — eleven lines, no order, half of them already late — and it returns the smallest possible day: at most a couple of things to do, a parking lot, a list of things you are officially allowed to forget, and a permission slip.&lt;/p&gt;

&lt;p&gt;It runs &lt;strong&gt;Gemma 3 1B inside the browser tab&lt;/strong&gt;. No account, no server, no API key, no bill. Once the tab has downloaded the model, it works with the Wi-Fi off.&lt;/p&gt;

&lt;p&gt;The task list is arguably the most personal document a person owns after their resume: it is a map of what they are worried about. Siesta is built on the idea that this map should not be uploaded anywhere just to be told what to do with it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who gets to be lazier?&lt;/strong&gt; Me, and anyone who has ever opened a to-do app and felt their chest tighten. The app does the &lt;em&gt;deciding&lt;/em&gt; — which is the actual chore. Nobody procrastinates because writing "clean the cupboard" is hard. They procrastinate because deciding what deserves today is hard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Live: &lt;a href="https://4-thkind.github.io/siesta/" rel="noopener noreferrer"&gt;https://4-thkind.github.io/siesta/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg2y535ptvqiezlti4ru5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg2y535ptvqiezlti4ru5.png" alt="Siesta after a real run: two things scheduled, eight parked, one let go, and a permission slip" width="800" height="1140"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That screenshot is a real run, not a mock: eleven tasks in, &lt;strong&gt;two scheduled, eight parked, one let go, 3h 45m of tracked effort reclaimed&lt;/strong&gt;. The permission slip is written by the model; the reasons under each task come from the facts in the line — "deadline is tomorrow", "two hours is too much for today", "didn't fit today's budget".&lt;/p&gt;

&lt;p&gt;The eleven-line pile is my own test pile, built to have a mix of real deadlines and vague wishes. Every decision and every number in that screenshot came out of the app running on a laptop GPU.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/4-thkind/siesta" rel="noopener noreferrer"&gt;https://github.com/4-thkind/siesta&lt;/a&gt;&lt;/strong&gt; — MIT, no dependencies, no build step:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;index.html      the whole UI skeleton
src/app.js      flow, progress, rendering, markdown export
src/parse.js    deadlines, estimates, priorities (pure, tested)
src/triage.js   verdict protocol, budget engine, scheduler, guards (pure, tested)
src/model.js    Transformers.js pipeline, prompts, fallbacks
src/store.js    weekly ledger in localStorage
test/run.mjs    28 assertions, run with: node test/run.mjs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The model:&lt;/strong&gt; &lt;a href="https://huggingface.co/onnx-community/gemma-3-1b-it-ONNX" rel="noopener noreferrer"&gt;&lt;code&gt;onnx-community/gemma-3-1b-it-ONNX&lt;/code&gt;&lt;/a&gt; at q4 (~0.5 GB), run through Transformers.js v4 on WebGPU with a WASM fallback. First load caches it; after that the tab is offline. One constant swaps the model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The part I did not expect: teaching a 1B model to answer a question.&lt;/strong&gt; I tried three formats before one worked, and all three failures are written up in &lt;a href="https://github.com/4-thkind/siesta/blob/main/AGENT_NOTES.md" rel="noopener noreferrer"&gt;AGENT_NOTES.md&lt;/a&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Attempt&lt;/th&gt;
&lt;th&gt;What I asked for&lt;/th&gt;
&lt;th&gt;What happened&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;numbered batch in, `3\&lt;/td&gt;
&lt;td&gt;DROP\&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;one task per call, {% raw %}`VERDICT\&lt;/td&gt;
&lt;td&gt;reason`&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;ask the model for the &lt;em&gt;why&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;platitudes: "Focus is key", "Time is a gift"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;one letter: A keep / B park / C drop&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;11 of 11, every run&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;So the design rule became: &lt;strong&gt;the model decides what matters; the code decides what fits, what cannot be dropped, and what the reason is.&lt;/strong&gt; Dates and arithmetic never touch the model. Reasons are derived from the facts the user actually typed, which is why they can say "didn't fit today's budget" instead of "Focus is key."&lt;/p&gt;

&lt;p&gt;Two more things had to be fixed by &lt;em&gt;using&lt;/em&gt; the app, not by reading it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The model parked everything and never chose "drop", so the mercy feature was invisible. Fix: after a park, one extra binary call — &lt;em&gt;"Would anyone complain if this task never happened?"&lt;/em&gt; — and a NO turns the park into a real drop.&lt;/li&gt;
&lt;li&gt;The model dropped "Reply to Prof. Menon about the extension." A 1B model does not know what an obligation is. Fix: a commitment guard in code — anything addressed to a person or an institution (reply, professor, boss, bank, bill, exam, submission) can be parked, never dropped.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The budget engine&lt;/strong&gt; is deterministic: a cap on things (1–4) and a cap on minutes, a five-minute break between items, deadlines inside 24 hours win over both caps (with an honest note that the day is over budget and why), and nothing due within three days can be dropped. Each rule has a unit test; &lt;code&gt;node test/run.mjs&lt;/code&gt; runs 28 of them in under a second.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A worry list is private.&lt;/strong&gt; The product only makes sense if the pile never leaves the laptop. With closed weights, "your data stays on your device" is a policy, not a fact. With open weights it is physically true: after the model download there is no server to leak to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The definition of "lazy" has to be yours to tune.&lt;/strong&gt; Coach, Sloth and Brutal are two lines of prompt each; the guards are ten lines of code. A closed product decides what laziness means for you and ships it as a feature. Here, my definition is inspectable and replaceable in the same file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It costs nothing to keep.&lt;/strong&gt; A subscription for an anti-procrastination tool is a joke with the punchline missing. Local Gemma: zero per plan, forever.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline is not a feature, it is a Tuesday.&lt;/strong&gt; Exam-week Wi-Fi dies. The plan still works.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swap the brain, keep the product.&lt;/strong&gt; One constant moves the app from a 1B to a 4B model on a stronger machine. The budget engine, the guards and the UI do not change, because none of them ever depended on the model's opinion.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;This was built in one session with an AI coding agent. I chose the product, the constraints (local, free, offline) and the design direction, and approved each change as it was tested live in the browser. The unedited log — four prompt strategies, the bugs that only appeared when the app ran, and the layout collision that only showed up in a screenshot — is in &lt;a href="https://github.com/4-thkind/siesta/blob/main/AGENT_NOTES.md" rel="noopener noreferrer"&gt;AGENT_NOTES.md&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;The real payoff is not the minutes saved; it is the decision avoided. But the numbers are nice too: eleven tasks in, a 1h 55m day out, 3h 45m of tracked effort formally parked or dropped, and one genuinely dead task removed from the list for good.&lt;/p&gt;

&lt;p&gt;My favourite part is the smallest: the "Let go" column contains exactly one entry — &lt;em&gt;"Update resume — nobody is waiting on this one."&lt;/em&gt; That is not a productivity insight. It is permission, and it is the thing a normal to-do app would never give you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; — Gemma 3 1B runs fully on-device (ONNX q4, WebGPU) and is the only component making judgement calls. The model is swappable via a single constant, and the app keeps working with no network after the first load.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>A private interview coach that runs in my friend's browser — no server ever saw their resume</title>
      <dc:creator>Utkarsh Singh</dc:creator>
      <pubDate>Sun, 18 Oct 2026 12:19:19 +0000</pubDate>
      <link>https://dev.to/utkarsh_singh-27/a-private-interview-coach-that-runs-in-my-friends-browser-no-server-ever-saw-their-resume-akk</link>
      <guid>https://dev.to/utkarsh_singh-27/a-private-interview-coach-that-runs-in-my-friends-browser-no-server-ever-saw-their-resume-akk</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Honest timing note: the weekend window closed on Oct 5 and this was built after. I'm publishing anyway, for the love of completing the arc — this week it earns no prize and no badge. It's just a gift with documentation.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/4-thkind/interviewbuddy" rel="noopener noreferrer"&gt;InterviewBuddy&lt;/a&gt;&lt;/strong&gt; — a private AI mock-interview coach that runs &lt;em&gt;entirely inside one browser tab&lt;/em&gt;. No server. No account. No install.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The friend:&lt;/strong&gt; a college friend of mine, mid job-hunt. Their interview prep routine at 2 AM is: job description open in one window, their own resume in another, talking sections out loud to an empty room. Real feedback doesn't exist at that hour — &lt;em&gt;every&lt;/em&gt; “AI interview coach” is a hosted service that wants their resume uploaded to someone's cloud first (and resumes are the single most personal document a candidate owns).&lt;/p&gt;

&lt;p&gt;So I built the coach the shape of a browser tab instead:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;paste the &lt;strong&gt;job description&lt;/strong&gt; and their &lt;strong&gt;resume/notes&lt;/strong&gt; (nothing uploads — there's no server to upload to),&lt;/li&gt;
&lt;li&gt;Gemma generates &lt;strong&gt;five interview questions&lt;/strong&gt; grounded in that exact role and that exact person,&lt;/li&gt;
&lt;li&gt;they answer out loud and type the gist; each round gets &lt;strong&gt;Strength / Improve / Sharper answer&lt;/strong&gt; feedback,&lt;/li&gt;
&lt;li&gt;it ends with a &lt;strong&gt;debrief&lt;/strong&gt;: two things done well, two to practise, and a confidence score.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Try it at &lt;strong&gt;&lt;a href="https://4-thkind.github.io/interviewbuddy/" rel="noopener noreferrer"&gt;https://4-thkind.github.io/interviewbuddy/&lt;/a&gt;&lt;/strong&gt; — click once and the browser downloads Gemma 3 1B (~0.5 GB) &lt;em&gt;one time&lt;/em&gt;, then caches it. After that, unplug the network; it still works.&lt;/p&gt;

&lt;p&gt;What a real session looks like — five questions pulled from the pasted JD + resume, and round-one coaching:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpjmdh18pylcvvqdjehe8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpjmdh18pylcvvqdjehe8.png" alt="InterviewBuddy generating grounded questions and giving Strength / Improve / Sharper answer feedback on round one" width="800" height="606"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The final debrief, where it names what worked and what to practise before the real thing:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsh65b5rddxnu6ijuyulk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsh65b5rddxnu6ijuyulk.png" alt="The debrief at the end of a full session, with a confidence score" width="800" height="1011"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The whole product is &lt;a href="https://github.com/4-thkind/interviewbuddy" rel="noopener noreferrer"&gt;4-thkind/interviewbuddy&lt;/a&gt;: eight files, and the app itself is exactly two of them — &lt;code&gt;index.html&lt;/code&gt; and &lt;code&gt;app.js&lt;/code&gt;. No bundler, no backend, no SDK key.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/4-thkind/interviewbuddy
npx serve &lt;span class="nb"&gt;.&lt;/span&gt;          &lt;span class="c"&gt;# or python -m http.server&lt;/span&gt;
&lt;span class="c"&gt;# open the tab, paste a JD + resume, click start&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; &lt;a href="https://huggingface.co/onnx-community/gemma-3-1b-it-ONNX" rel="noopener noreferrer"&gt;&lt;code&gt;onnx-community/gemma-3-1b-it-ONNX&lt;/code&gt;&lt;/a&gt; — Gemma 3 1B quantized to q4 (~0.5 GB), loaded straight into the tab with &lt;a href="https://github.com/huggingface/transformers.js" rel="noopener noreferrer"&gt;Transformers.js v4&lt;/a&gt;, GPU-accelerated by &lt;strong&gt;WebGPU&lt;/strong&gt;, with a graceful WASM/CPU fallback (the UI badge tells you which one you're on). Streaming output lands token-by-token, which makes a 1B model feel alive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I deliberately skipped Ollama.&lt;/strong&gt; My previous Hacktoberfest build ran a 4B model through a local server — great for my RTX laptop, wrong for a friend who shouldn't have to install &lt;em&gt;anything&lt;/em&gt;. The entire footprint here is: a webpage and one cached model file. Nothing installs, nothing persists, nothing runs when the tab closes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fresh short context per turn.&lt;/strong&gt; Question generation and every feedback round get their own compact messages array instead of one long transcript — a 1B model stays sharp in small windows and drowns in long ones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;do_sample: false&lt;/code&gt;, after the model earned it.&lt;/strong&gt; With sampling on, Gemma started inventing candidate background that wasn't in the resume. Temperature 0 keeps the coach honest: it may be dull, but it never lies about who the candidate is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt-compliance is enforced in code, not hoped for.&lt;/strong&gt; “Exactly 5 questions, lines end with &lt;code&gt;?&lt;/code&gt;, no commentary” is backed by a parser that strips numbering, filters non-question lines, and falls back to a legal default. A 1B model &lt;em&gt;will&lt;/em&gt; occasionally answer its own question — the app must survive that.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The privacy argument collapses without open weights.&lt;/strong&gt; If the model were closed, the only way to run it is &lt;em&gt;the other company's server&lt;/em&gt; — the resume leaves the laptop, and my friend's leverage in a negotiation ends up in someone else's training pipeline. Open weights make “it never leaves this tab” physically true, not a policy promise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A gift must be free to keep.&lt;/strong&gt; A hosted interview coach costs a subscription for a friend who is, definitionally, broke. Gemma 1B local costs exactly nothing — per question, per session, ever — and that price is what makes “here, take this” a whole gift instead of a trial.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No internet, no problem.&lt;/strong&gt; Campus Wi-Fi dies during every exam week at my college. After the one-time download, the browser has the model; InterviewBuddy is interview practice that survives the outage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The friend can read and change their own coach.&lt;/strong&gt; The prompt is 12 lines of plain English in &lt;code&gt;app.js&lt;/code&gt;. If they want stricter cold-read questions or a softer tone, they edit one file. Try asking a closed API for that.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;This was built in one working session with an AI coding agent — I picked the friend, the constraints (“lighter than last time, no Ollama, no installs”) and reviewed everything. The honest build log, including the two bugs found while driving it live (a DOM-history bug and a question-parser failure), is in &lt;a href="https://github.com/4-thkind/interviewbuddy/blob/main/AGENT_NOTES.md" rel="noopener noreferrer"&gt;&lt;code&gt;AGENT_NOTES.md&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; — Gemma 3 1B runs entirely on-device in the browser (ONNX q4 via WebGPU), powers every part of the coach, and swapping to &lt;code&gt;gemma-3-4b&lt;/code&gt; on a stronger laptop is a one-line change.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Solo build — no teammates.)&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>The $0-per-report feature: a patient-friendly radiology explainer that runs on the clinic's own laptop</title>
      <dc:creator>Utkarsh Singh</dc:creator>
      <pubDate>Sun, 18 Oct 2026 11:10:50 +0000</pubDate>
      <link>https://dev.to/utkarsh_singh-27/the-0-per-report-feature-a-patient-friendly-radiology-explainer-that-runs-on-the-clinics-own-4152</link>
      <guid>https://dev.to/utkarsh_singh-27/the-0-per-report-feature-a-patient-friendly-radiology-explainer-that-runs-on-the-clinics-own-4152</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/4-thkind/plainray" rel="noopener noreferrer"&gt;PlainRay&lt;/a&gt;&lt;/strong&gt; turns radiology reports into plain-language patient explainers — on the clinic's own machine, with an open-weight model, for zero rupees per report.&lt;/p&gt;

&lt;p&gt;It reads a report and produces, in one pass:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a &lt;strong&gt;plain-language summary&lt;/strong&gt; of what the exam showed (under 150 words, roughly 8th-grade reading level),&lt;/li&gt;
&lt;li&gt;a &lt;strong&gt;glossary&lt;/strong&gt; of every term and abbreviation it used, translated to everyday words ("consolidation → cloudy areas in the lung"),&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;questions the patient can ask their doctor&lt;/strong&gt;, and&lt;/li&gt;
&lt;li&gt;a calm &lt;strong&gt;urgency note&lt;/strong&gt; — only if the report itself flags something, in the report's own wording. The model is not allowed to invent findings, diagnose, or reassure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Who would pay for this: the kind of clinic that runs two radiologists, one front desk, and a stack of reports whose first word is usually "IMPRESSION:". Behind that desk sits a person who answers "what does effusion mean?" eleven times a week. Every hosted "AI patient portal" wants a per-report meter and a copy of the report on someone else's server. PlainRay flips it: &lt;strong&gt;flat license, zero usage cost, nothing ever leaves the machine.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The side-hustle math that makes it a real product instead of a demo: the clinic already owns the laptop, and the model runs on an RTX 4060. So the unit economics are: model = free forever, electricity = what the lamp costs, product = one flat fee per workstation. There is no other version of this offer where the &lt;em&gt;cost driver of the whole business is $0&lt;/em&gt; — that's only possible because the model is an open-weight one you can download.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Three synthetic reports are in the repo (&lt;code&gt;samples/sample_reports.json&lt;/code&gt; — no real PHI is ever committed). Here is the actual flow, captured locally while the machine was offline for everything else:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft3t2v9nxgd5mttb7tdzu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft3t2v9nxgd5mttb7tdzu.png" alt="PlainRay explaining a chest X-ray report - summary, reading grade, glossary and questions" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The second frame is the mammography screening sample — the star of the show, because screening reports are the least readable of all (&lt;a href="https://raw.githubusercontent.com/4-thkind/plainray/main/demo/02-mammo-explained.png" rel="noopener noreferrer"&gt;see it here&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;No login, no cloud, no network. Unplug the ethernet cable and it keeps working — that is the demo. Run it yourself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/4-thkind/plainray
ollama pull gemma3:4b          &lt;span class="c"&gt;# one time, ~3 GB&lt;/span&gt;
python &lt;span class="nt"&gt;-m&lt;/span&gt; plainray serve       &lt;span class="c"&gt;# http://127.0.0.1:7860&lt;/span&gt;
python &lt;span class="nt"&gt;-m&lt;/span&gt; plainray explain &lt;span class="nt"&gt;--file&lt;/span&gt; report.txt   &lt;span class="c"&gt;# JSON on stdout&lt;/span&gt;
python &lt;span class="nt"&gt;-m&lt;/span&gt; plainray selftest    &lt;span class="c"&gt;# prompts + validator + readability, no model needed&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;Everything lives in the &lt;a href="https://github.com/4-thkind/plainray" rel="noopener noreferrer"&gt;4-thkind/plainray&lt;/a&gt; repo:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;plainray/llm.py&lt;/code&gt; — a minimal local Ollama client in stdlib &lt;code&gt;urllib&lt;/code&gt;, ~40 lines. No pip, no SDK.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;plainray/prompts.py&lt;/code&gt; — the patient-safety prompt, readable in plain text by whoever deploys it.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;plainray/app.py&lt;/code&gt; — CLI (&lt;code&gt;explain&lt;/code&gt; / &lt;code&gt;serve&lt;/code&gt; / &lt;code&gt;selftest&lt;/code&gt;) and a validator that enforces the JSON shape: caps list lengths, dedupes glossary terms, refuses an empty summary.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;plainray/readability.py&lt;/code&gt; — a Flesch-Kincaid grader in stdlib. Numbers, not promises.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;static/index.html&lt;/code&gt; — the UI; the server binds to &lt;code&gt;127.0.0.1&lt;/code&gt; on purpose.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; &lt;a href="https://ollama.com/library/gemma3" rel="noopener noreferrer"&gt;Gemma 3&lt;/a&gt; 4B (open weights), served locally by &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; on an RTX 4060 Laptop (8 GB VRAM). One-time ~3 GB pull; after that it runs offline. Generation takes ~30 s per report on this laptop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The prompt is the product.&lt;/strong&gt; Anti-diagnosis, no invented findings, glossary limited to terms that actually appear in the report, calm-not-reassuring urgency wording. That last rule came from watching Gemma happily soften "consolidation" into "all is well" — which is exactly wrong for a patient explainer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured output enforced in code, not trusted from the model.&lt;/strong&gt; &lt;code&gt;_validate()&lt;/code&gt; rebuilds the JSON from scratch. A 4B model &lt;em&gt;will&lt;/em&gt; slip a made-up term into the glossary now and then ("mets", when the report never said it) — the design answer is to show the glossary to a human for one click of review, not to pretend the model is a pharmacist.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measured readability.&lt;/strong&gt; The Flesch-Kincaid grade runs on the raw report and on the generated explainer, and both numbers show in the UI:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Sample report&lt;/th&gt;
&lt;th&gt;Raw grade&lt;/th&gt;
&lt;th&gt;PlainRay explainer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Chest X-ray, consolidation&lt;/td&gt;
&lt;td&gt;10.4&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;7.6&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Knee MRI, meniscus tear&lt;/td&gt;
&lt;td&gt;10.0&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;7.6&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mammography screening&lt;/td&gt;
&lt;td&gt;12.3&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;6.7&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero dependencies:&lt;/strong&gt; everything is stdlib (&lt;code&gt;urllib&lt;/code&gt;, &lt;code&gt;http.server&lt;/code&gt;). Clinic IT never touches a package manager.&lt;/li&gt;
&lt;li&gt;Swapping the model is one variable (&lt;code&gt;PLAINRAY_MODEL&lt;/code&gt;): &lt;code&gt;gemma3:12b&lt;/code&gt; on a bigger box, or the medical-tuned sibling &lt;code&gt;medgemma&lt;/code&gt; — same code, same prompt.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;PHI is the whole story.&lt;/strong&gt; A radiology report is protected health information. A closed, hosted model requires sending that text to someone else's server before any feature can run — which is why most clinics simply don't have this feature. With Gemma running locally, that sentence disappears from the compliance conversation: the data physically cannot leave the laptop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It fixes the cost basis of the product.&lt;/strong&gt; A center reading ~120 reports a day on a hosted API pays a meter every month, forever, for a feature most clinics treat as nice-to-have. Local open weights move that cost to approximately zero — which is what makes the pitch survive an accountant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unplugged beats pretty.&lt;/strong&gt; The internet does go down in small clinics. PlainRay doesn't care; the server is on the same machine.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customize for a niche.&lt;/strong&gt; A general-purpose closed API handles "ACR 2" the way a search engine does. Locally, a clinic can tune the prompt to their own reporting style, and the weights are there if they ever want to go further.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fair for a two-doctor clinic.&lt;/strong&gt; No usage meter, no lock-in, no per-seat squeeze. The feature that is free for a solo practitioner is the same for a hospital.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;This project was built in one working session with an AI coding agent — I set the problem, the constraints ("small, specific, useful, and it must actually run on this laptop") and reviewed everything it produced. The short form of that session — constraints discovered first, the decisions worth keeping, and what was hard — is checked into the repo as &lt;a href="https://github.com/4-thkind/plainray/blob/main/AGENT_NOTES.md" rel="noopener noreferrer"&gt;&lt;code&gt;AGENT_NOTES.md&lt;/code&gt;&lt;/a&gt;. No DevRelay install for this build; the notes file is the session, honestly summarized.&lt;/p&gt;

&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;Honest version: &lt;strong&gt;my first real user test hasn't happened yet.&lt;/strong&gt; During this challenge window I built the product and ran it end-to-end on my own machine against three synthetic reports; nobody's real report went through it, because the right first user is a clinic that will trade one afternoon for a demo, and setting that up properly takes longer than the window. Rather than report a fake ten, here is the actual next step: one call to my cousin's ortho clinic, a printed example made from &lt;code&gt;samples/&lt;/code&gt;, and two questions I'll log verbatim in the repo — &lt;em&gt;would you pay, and how much per year?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you're a radiologist or run a small clinic and want to be user #1: the demo runs from a fresh clone in under two minutes, and my contact is on my profile.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; — Gemma 3 4B runs entirely on-device through Ollama, powers the whole product, and the architecture keeps &lt;code&gt;gemma3:12b&lt;/code&gt; / &lt;code&gt;medgemma&lt;/code&gt; as one-variable drop-ins.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Solo build — no teammates.)&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
