<?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: Saima Aliya</title>
    <description>The latest articles on DEV Community by Saima Aliya (@unhinged__).</description>
    <link>https://dev.to/unhinged__</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%2F4175990%2Faa95bceb-4859-4012-b031-f0418510f49d.png</url>
      <title>DEV Community: Saima Aliya</title>
      <link>https://dev.to/unhinged__</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/unhinged__"/>
    <language>en</language>
    <item>
      <title>I Summoned COBOL to ask If It’s Dead. It was Offended.</title>
      <dc:creator>Saima Aliya</dc:creator>
      <pubDate>Fri, 30 Oct 2026 18:36:51 +0000</pubDate>
      <link>https://dev.to/unhinged__/i-summoned-cobol-to-ask-if-its-dead-it-was-offended-1h2c</link>
      <guid>https://dev.to/unhinged__/i-summoned-cobol-to-ask-if-its-dead-it-was-offended-1h2c</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;Every few years someone declares COBOL dead. This time I decided to ask it myself.&lt;/p&gt;

&lt;p&gt;There are eight spirits, and none of them are polite about being forgotten:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;COBOL&lt;/strong&gt; SPEAKS IN UPPERCASE and is deeply offended that you think it's dead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fortran&lt;/strong&gt; is a grizzled scientist who invented the compiler and has opinions about NumPy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pascal&lt;/strong&gt; is a strict teacher who is disappointed in JavaScript.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flash&lt;/strong&gt; is a bitter millennial who still misses Newgrounds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;BASIC&lt;/strong&gt; is the friendliest ghost alive and wants to talk about line numbers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ALGOL, 6502 Assembly and Lisp&lt;/strong&gt; round out the graveyard: an aristocrat, a monk who thinks in hex, and a zen philosopher who finds enlightenment in parentheses.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The first thing I typed to COBOL was "are you dead?" It said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I AM COBOL. I PROCESS TRILLIONS OF DOLLARS DAILY. IT IS NOT "DEAD," UNDERSTAND? IT IS... ACTIVE. I AM HERE.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You can do more than chat. &lt;code&gt;/translate&lt;/code&gt; makes a spirit rewrite your modern code in its own language, &lt;code&gt;/teach&lt;/code&gt; gives you a lesson from the source, &lt;code&gt;/roast&lt;/code&gt; has your code critiqued by someone who was there first, and &lt;code&gt;/history&lt;/code&gt; gets you a real story from the language's past.&lt;/p&gt;

&lt;p&gt;I took "Ghost in the Machine" literally. These languages are the ghosts in the machine: invisible, supposedly gone, and still running somewhere under everything.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&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%2Fwjpz4iy3ghf7kk8xn6tq.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%2Fwjpz4iy3ghf7kk8xn6tq.png" alt=" " width="654" height="941"&gt;&lt;/a&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%2Fd7w0qmwdljizemfyaqxi.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%2Fd7w0qmwdljizemfyaqxi.png" alt=" " width="800" height="829"&gt;&lt;/a&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%2Fnct5mgfc8f1r2m9o0erb.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%2Fnct5mgfc8f1r2m9o0erb.png" alt=" " width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&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/saimaaliya2005-cypher" rel="noopener noreferrer"&gt;
        saimaaliya2005-cypher
      &lt;/a&gt; / &lt;a href="https://github.com/saimaaliya2005-cypher/cobol-seance" rel="noopener noreferrer"&gt;
        cobol-seance
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;🕯️ The COBOL Séance&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summon the ghosts of dead (or "dead") programming languages and talk to them.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A terminal app where eight legacy languages come back as spirits with their own personalities, grudges and ways of speaking. It runs &lt;strong&gt;100% locally&lt;/strong&gt; with &lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt; and &lt;strong&gt;Gemma 3 (4B)&lt;/strong&gt;. No cloud, no API keys, no internet needed once the model is downloaded.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;YOU:&lt;/strong&gt; are you dead?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;COBOL:&lt;/strong&gt; I AM COBOL. I PROCESS TRILLIONS OF DOLLARS DAILY. IT IS NOT "DEAD," UNDERSTAND? IT IS... ACTIVE. I AM HERE.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/saimaaliya2005-cypher/cobol-seance/demo.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fsaimaaliya2005-cypher%2Fcobol-seance%2FHEAD%2Fdemo.gif" alt="Demo"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;The Spirits&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Spirit&lt;/th&gt;
&lt;th&gt;Personality&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🏛️ COBOL&lt;/td&gt;
&lt;td&gt;Proud bureaucrat. SPEAKS IN UPPERCASE. Offended that you think it's dead.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;⚡ Fortran&lt;/td&gt;
&lt;td&gt;Grizzled scientist who invented the compiler. Has opinions about NumPy.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🎩 ALGOL&lt;/td&gt;
&lt;td&gt;Aristocratic ancestor of everything. Wears a monocle.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🎓 Pascal&lt;/td&gt;
&lt;td&gt;Strict teacher with a ruler. Disappointed in JavaScript.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🎮 Flash&lt;/td&gt;
&lt;td&gt;Bitter millennial. Misses Newgrounds.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🧮 6502 Assembly&lt;/td&gt;
&lt;td&gt;Minimalist monk. Thinks in hex. Judges your&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;…&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/saimaaliya2005-cypher/cobol-seance" 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;The core app is Python, &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; and &lt;strong&gt;Gemma 3 (4B)&lt;/strong&gt;, running on CPU with no cloud and no API key. The libraries are Rich, Click, httpx and PyYAML.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Spirits are just YAML files.&lt;/strong&gt; Each one holds a personality, a greeting, era context, a code style and translation rules. A registry auto-discovers them and supports aliases, so &lt;code&gt;asm&lt;/code&gt; finds 6502 Assembly. Adding a ninth ghost means writing one file and no code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompts are layered.&lt;/strong&gt; A shared preamble sets the rules (never break character, be eerie, use real syntax, stay short), and a per-mode block changes behavior for chat, translate, teach, roast or history.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Replies stream.&lt;/strong&gt; An async httpx client pulls tokens from Ollama, and a typewriter layer reveals them one character at a time. It pauses on punctuation, and now and then a character flickers into static and corrects itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Memory is a rolling window.&lt;/strong&gt; The last 20 messages are kept, but the opening greeting is always preserved, so a small model keeps its personality without overflowing its context.&lt;/p&gt;

&lt;h3&gt;
  
  
  The spirits can talk (ElevenLabs)
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;/voice on&lt;/code&gt; sends each reply to ElevenLabs text-to-speech and plays it. It runs in a background thread so the typewriter never stalls. Before sending, the text is trimmed to about 350 characters, with code blocks and &lt;code&gt;*stage directions*&lt;/code&gt; removed, so the ghost doesn't read out "asterisk static crackles asterisk" and the free tier lasts longer.&lt;/p&gt;

&lt;p&gt;The gotcha: some ElevenLabs voices return a &lt;strong&gt;402&lt;/strong&gt; on the free plan when called through the API. [FILL: describe what you ended up using, e.g. "I ended up with one premade voice for every spirit."] Voices are a simple dictionary in &lt;code&gt;voice.py&lt;/code&gt;, so giving each spirit its own sound is a one-line change per ghost.&lt;/p&gt;

&lt;h3&gt;
  
  
  Tracing the ghosts (Sentry)
&lt;/h3&gt;

&lt;p&gt;These spirits are agents with personalities, so I wanted to know what each reply costs. Every reply is a Sentry trace with the spirit, mode, model, &lt;strong&gt;time to first token&lt;/strong&gt;, model generation time (typewriter delays excluded), an approximate token count (counted from streamed chunks) and any errors. Message text never leaves the machine, only timings and counts.&lt;/p&gt;

&lt;p&gt;What I found: the traces showed me where the time actually goes, and it wasn't where I expected. The first COBOL reply took about 32 seconds before Ollama started answering, which is Gemma loading into memory on CPU. A later reply, a &lt;code&gt;/history&lt;/code&gt; story of about 1,370 characters (378 tokens, counted from stream chunks), took 72.6 seconds start to finish. Only 28.3 seconds of that was spent waiting on the model, and about 14.5 of those came before the first word. The other 44 seconds, around 60% of the total, was my own typewriter effect drip-feeding characters onto the screen.&lt;/p&gt;

&lt;p&gt;Without the tracing I would have blamed the 4B model for being slow. A lot of the wait was the spooky effect I added on purpose.&lt;/p&gt;

&lt;p&gt;Next I’d shorten the typewriter delays, since that’s the biggest cost.&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%2Fuc17err3u9dsuozsc46b.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%2Fuc17err3u9dsuozsc46b.png" alt=" " width="798" height="196"&gt;&lt;/a&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%2Fjej0douqvldqpqa3vqoh.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%2Fjej0douqvldqpqa3vqoh.png" alt=" " width="800" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What didn't work
&lt;/h3&gt;

&lt;p&gt;A 4B model has limits, and I'd rather tell you than hide them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Style drift.&lt;/strong&gt; COBOL's all-caps rule held in the greeting, then slipped in translate mode once the prompt got longer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The translated code is flavor, not a compiler.&lt;/strong&gt; My &lt;code&gt;a + b&lt;/code&gt; test came back as COBOL with hardcoded values and a &lt;code&gt;DISPLAY&lt;/code&gt; statement that isn't valid. It looks right and shouldn't be compiled.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The glitch effect leaks a few terminal escape codes&lt;/strong&gt; before a spirit's name. I'm calling it haunting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A bigger Gemma would likely fix the first two. That's the tradeoff of running on a laptop CPU.&lt;/p&gt;

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

&lt;p&gt;A closed API would have changed what this project is.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It cost nothing to run.&lt;/strong&gt; Tuning a persona means sending the same prompt thirty times, and I did that late into the night without watching a bill.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The core is private.&lt;/strong&gt; When you &lt;code&gt;/roast&lt;/code&gt; your own code, it stays on your machine. Voice and tracing are opt-in extras, and I want to be clear about what they send: voice sends the spirit's reply text to ElevenLabs, and tracing sends timings only.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Anyone can add a ghost.&lt;/strong&gt; The model is open-weight and the spirits are plain YAML, so someone can summon Perl or Delphi without asking permission. A project about keeping old technology alive felt right on top of something anyone can run, read and keep alive.&lt;/p&gt;

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

&lt;p&gt;I started with an AI coding agent (Antigravity), which generated the first version of the app: the structure, the spirits, the effects, the engine. Its files were written in about ten minutes, according to the folder timestamps. Then it hit its quota, and its shell was broken, so the code had never run once.&lt;/p&gt;

&lt;p&gt;I picked it up there. I ran it, fixed the bugs, added the ElevenLabs voice and the Sentry tracing, and wrote this post, with help from Claude for the debugging. A ghost in the machine, built partly by one, and finished by hand when the agent ran out of breath.&lt;/p&gt;

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

&lt;p&gt;The moment it landed for me was COBOL's answer. A 4-billion-parameter model on my laptop had just taken offense on behalf of a language from 1959.&lt;/p&gt;

&lt;p&gt;These languages carry stories. COBOL and Fortran still turn up in banks, government systems and labs, BASIC taught a generation their first program, and Lisp keeps being rediscovered. (The "trillions of dollars" line is the model talking, so don't quote it as a statistic, but the point stands.) When we call something dead, we usually mean "I don't have to deal with it." The people who maintain these systems know better.&lt;/p&gt;

&lt;p&gt;If this makes one person look up the real history of a language, or lets a beginner try BASIC without feeling intimidated, then the ghosts did their job.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Best Use of Gemma:&lt;/strong&gt; the whole app runs on Gemma 3 (4B) through Ollama, locally on CPU. Gemma is every spirit's voice, translator, teacher and critic, and the post covers what a 4B model handled well and where it struggled.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best Use of ElevenLabs:&lt;/strong&gt; spirits speak their replies through ElevenLabs text-to-speech. Voice is opt-in with &lt;code&gt;/voice on&lt;/code&gt;, plays in a background thread, and trims and cleans the text so the free tier lasts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best Use of Sentry Agent Tracing:&lt;/strong&gt; every spirit reply is a trace with time to first token, model time, approximate tokens and errors, with no message content sent. The findings are in the Sentry section above.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>gemma</category>
      <category>python</category>
    </item>
    <item>
      <title>MerchPulse: Stopping Refund Bleed for Shopify Sellers with Open-Source AI</title>
      <dc:creator>Saima Aliya</dc:creator>
      <pubDate>Sat, 17 Oct 2026 21:43:24 +0000</pubDate>
      <link>https://dev.to/unhinged__/merchpulse-stopping-refund-bleed-for-shopify-sellers-with-open-source-ai-5gao</link>
      <guid>https://dev.to/unhinged__/merchpulse-stopping-refund-bleed-for-shopify-sellers-with-open-source-ai-5gao</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;MerchPulse&lt;/strong&gt; is an autonomous customer feedback intelligence and root-cause platform built specifically for e-commerce merchants (Shopify, Amazon, WooCommerce, and Etsy sellers).&lt;/p&gt;

&lt;h3&gt;
  
  
  The Problem
&lt;/h3&gt;

&lt;p&gt;Small and mid-sized e-commerce sellers are flooded with scattered, messy feedback across:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Product reviews (Shopify, Amazon)&lt;/li&gt;
&lt;li&gt;Helpdesk tickets (Zendesk, Gorgias)&lt;/li&gt;
&lt;li&gt;Live chat transcripts&lt;/li&gt;
&lt;li&gt;Return reasons and refund notes
Merchants spend &lt;strong&gt;10–15 hours every week&lt;/strong&gt; manually reading hundreds of comments trying to guess whether their biggest issue is carrier delays, sizing inaccuracies, checkout bugs, or supplier defects. By the time they spot a pattern manually, thousands of dollars in refunds and ad spend are already lost.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Deployed App:&lt;/strong&gt; &lt;a href="https://merchpulse.onrender.com" rel="noopener noreferrer"&gt;https://merchpulse.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Demo Dataset Included:&lt;/strong&gt; includes dashboard with KPI cards, the charts and the root-cause and action plan tab.&lt;/li&gt;
&lt;/ul&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%2Fwyjtse7jsffo8zk4d809.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%2Fwyjtse7jsffo8zk4d809.png" alt=" " width="800" height="557"&gt;&lt;/a&gt;&lt;br&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%2F7d62gc8t25f8dhrlg9e1.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%2F7d62gc8t25f8dhrlg9e1.png" alt=" " width="800" height="539"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/saimaaliya2005-cypher/merchpulse" rel="noopener noreferrer"&gt;https://github.com/saimaaliya2005-cypher/merchpulse&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stack:&lt;/strong&gt; 
HTML5, Tailwind CSS, Chart.js, PapaParse, Gemma 2, Prior Labs TabPFN 2.5, Render.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;MerchPulse combines a dual-model open-source AI architecture:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Google Gemma 2 (Open-Weight LLM):&lt;/strong&gt;
Acts as the semantic reasoning engine. It ingests unstructured text, classifies sentiment (&lt;code&gt;Positive&lt;/code&gt;, &lt;code&gt;Neutral&lt;/code&gt;, &lt;code&gt;Negative&lt;/code&gt;, &lt;code&gt;Frustrated&lt;/code&gt;), groups complaints into 6 operational categories, and extracts concrete root-cause explanations backed by direct customer quotes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prior Labs TabPFN 2.5 (Tabular Foundation Model):&lt;/strong&gt;
Acts as the tabular risk engine. When a merchant uploads a CSV with order metadata (&lt;code&gt;rating&lt;/code&gt;, &lt;code&gt;order_value&lt;/code&gt;, &lt;code&gt;shipping_days&lt;/code&gt;, &lt;code&gt;product_sku&lt;/code&gt;), TabPFN analyzes tabular patterns to detect anomalies (e.g., transit threshold correlation where orders taking &amp;gt;6 days experience a 5x return spike) and predicts high-risk return SKUs without needing days of model training.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Customer PII &amp;amp; Strict Data Sovereignty:&lt;/strong&gt;
Customer feedback contains sensitive personal identifiable information (names, delivery addresses, order numbers, payment amounts). Sending this proprietary data to closed third-party APIs (like OpenAI or Anthropic) introduces compliance risks and data privacy concerns. Because &lt;strong&gt;Gemma 2&lt;/strong&gt; is open-weight, merchants can run inference locally or in a private cloud container where zero customer data leaves their infrastructure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sustainable Margins vs. Closed API Lock-in:&lt;/strong&gt;
Closed APIs charge per token. For an e-commerce brand processing 5,000+ support tickets and reviews monthly, token fees quickly eat into thin retail margins. Open-weight models cost essentially zero per request once deployed on standard commodity compute.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Domain Adaptation &amp;amp; Fine-Tuning:&lt;/strong&gt;
Closed models cannot be adapted at the weight level without expensive enterprise agreements. Open innovation allows merchants to fine-tune Gemma on niche e-commerce vocabularies (apparel sizing tolerances, tech specs, shipping codes) that generic APIs frequently misinterpret.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;I don’t have paying customers yet, but I've tested the platform on a realistic 15-order test dataset modeled after a Shopify apparel store. &lt;/p&gt;

&lt;p&gt;The test proved the concept immediately: Gemma and TabPFN automatically connected 4 separate complaints—totaling &lt;strong&gt;$514 in return requests&lt;/strong&gt;—to a single 4mm zipper defect on Wool Blend Jackets (SKU &lt;code&gt;JKT-WOOL-M&lt;/code&gt;). Instead of an admin spending hours manually reading tickets, the root cause and supplier fix were ready in seconds.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; ($200) — Employs Google's open-weight Gemma 2 for root-cause synthesis, sentiment extraction, and executive recommendation generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of TabPFN&lt;/strong&gt; ($200) — Leverages Prior Labs' TabPFN tabular foundation model for anomaly detection, transit time correlation, and return probability predictions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Render&lt;/strong&gt; ($200) — Deployed via &lt;code&gt;render.yaml&lt;/code&gt; infrastructure blueprint on Render.&lt;/li&gt;
&lt;/ul&gt;

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