<?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: Pratyush Panda</title>
    <description>The latest articles on DEV Community by Pratyush Panda (@pratyushpanda).</description>
    <link>https://dev.to/pratyushpanda</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%2F4153446%2Fa18d47a5-6581-400c-8532-696febb7fce8.jpg</url>
      <title>DEV Community: Pratyush Panda</title>
      <link>https://dev.to/pratyushpanda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pratyushpanda"/>
    <language>en</language>
    <item>
      <title>SlothFridge: The Couch-Potato Culinary Copilot (TabPFN + Gemma 2 + ElevenLabs)</title>
      <dc:creator>Pratyush Panda</dc:creator>
      <pubDate>Wed, 21 Oct 2026 09:08:07 +0000</pubDate>
      <link>https://dev.to/pratyushpanda/slothfridge-the-couch-potato-culinary-copilot-tabpfn-gemma-2-elevenlabs-19ap</link>
      <guid>https://dev.to/pratyushpanda/slothfridge-the-couch-potato-culinary-copilot-tabpfn-gemma-2-elevenlabs-19ap</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;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;It is 10:45 PM. You are lying completely flat on your bed, scrolling on your phone, starving. &lt;/p&gt;

&lt;p&gt;You drag yourself to the kitchen, pull open the fridge door, and stare into the void: two cold eggs, a dying heel of stale bread, half a bowl of curd (dahi), and a stray slice of cheese. &lt;/p&gt;

&lt;p&gt;The traditional internet recipe requires chopping three shallots, preheating an oven, using four prep bowls, and dirtying a cutting board. Opening a food delivery app means spending ₹250 and waiting 45 minutes while fighting decision fatigue. Most people just give up and go to sleep hungry.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SlothFridge&lt;/strong&gt; is the couch-potato culinary copilot built to honor International Sloth Day:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Couch Ingestion Check:&lt;/strong&gt; Tap whatever random items are dying in your fridge without leaving bed or typing out complex measurements.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tabular Fatigue &amp;amp; Standing Regression (TabPFN):&lt;/strong&gt; Evaluates kitchen variables against 130 empirical lazy-cooking observations to predict your active standing minutes, classify cleanup fatigue tiers (&lt;code&gt;Zero Effort (Mug)&lt;/code&gt;, &lt;code&gt;Low Effort (1 Pan)&lt;/code&gt;, &lt;code&gt;High Effort (Avoid)&lt;/code&gt;), and calculate your sink debt penalty.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lazy Recipe Synthesis (Gemma 2 via Groq):&lt;/strong&gt; &lt;code&gt;gemma2-9b-it&lt;/code&gt; crafts an unapologetically low-effort 3-step meal designed around one non-negotiable rule: &lt;strong&gt;zero cutting boards, zero knives, and you eat directly from the vessel so you never look at the sink.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sleepy Audio Walkthrough (ElevenLabs):&lt;/strong&gt; Streams hands-free audio instructions using &lt;code&gt;eleven_turbo_v2_5&lt;/code&gt; in a slow, deadpan voice, guiding you through low-heat cooking so you can retreat back to bed while it cooks.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Web Application:&lt;/strong&gt; &lt;a href="https://slothfridge.vercel.app" rel="noopener noreferrer"&gt;slothfridge.vercel.app&lt;/a&gt;
&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%2F31w7efr7o6wbqk8lj0xo.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%2F31w7efr7o6wbqk8lj0xo.png" alt=" " width="800" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local / Self-Hosted Backend:&lt;/strong&gt; FastAPI + Uvicorn service running TabPFN CPU inference and ElevenLabs streaming.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The interface is built with a mid-century warm stationery aesthetic (&lt;code&gt;#EFE9DD&lt;/code&gt; ground, &lt;code&gt;#141C2B&lt;/code&gt; carbon ink, and &lt;code&gt;Newsreader&lt;/code&gt; + &lt;code&gt;Courier Prime&lt;/code&gt; typography), featuring self-drawing effort curves and zero-border-radius precision.&lt;/p&gt;




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

&lt;p&gt;The entire open-source repository—including the reference dataset, TabPFN dual inference engine, Gemma 2 prompt templates, and multi-page editorial frontend—is public on GitHub:&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/Pratyush-Panda-2006" rel="noopener noreferrer"&gt;
        Pratyush-Panda-2006
      &lt;/a&gt; / &lt;a href="https://github.com/Pratyush-Panda-2006/SlothFridge" rel="noopener noreferrer"&gt;
        SlothFridge
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      The couch-potato culinary copilot. Predicts cleanup fatigue and active standing minutes via TabPFN, crafts ultra-lazy 1-pan/mug recipes with Gemma 2, and streams deadpan hands-free cooking audio with ElevenLabs for Hacktoberfest Week 3.
    &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;SlothFridge: The Couch Potato Culinary Copilot 🦥🍳&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Built for the Hacktoberfest Open-Source AI Challenge Week 3&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Theme: Slow and Steady / International Sloth Day&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;SlothFridge takes expiring groceries entered by exhausted users lying on their beds and outputs an uncompromisingly lazy, 1-pan or microwave recipe. It uses &lt;strong&gt;TabPFN&lt;/strong&gt; to predict cleanup fatigue and continuous standing minutes, &lt;strong&gt;Gemma 2 (via Groq)&lt;/strong&gt; to synthesize lazy recipes, and &lt;strong&gt;ElevenLabs&lt;/strong&gt; to stream slow, deadpan audio walkthroughs.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏛 Architecture &amp;amp; Open Stack&lt;/h2&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;TabPFN Fatigue &amp;amp; Standing Time Engine (&lt;code&gt;services/tabpfn_service.py&lt;/code&gt;)&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Trained on &lt;code&gt;data/sloth_meals.csv&lt;/code&gt; (130 realistic kitchen observations).&lt;/li&gt;
&lt;li&gt;Predicts active standing minutes (continuous regression) and cleanup fatigue tier (&lt;code&gt;Zero Effort (Mug)&lt;/code&gt;, &lt;code&gt;Low Effort (1 Pan)&lt;/code&gt;, &lt;code&gt;High Effort (Avoid)&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Computes utensil penalty and inverted &lt;strong&gt;Sloth Approval Score&lt;/strong&gt; (0–100, where higher is lazier).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Gemma 2 Couch Potato Chef (&lt;code&gt;services/gemma_service.py&lt;/code&gt;)&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Synthesizes lazy recipes using &lt;code&gt;gemma2-9b-it&lt;/code&gt; on Groq with strict JSON…&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Pratyush-Panda-2006/SlothFridge" 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;SlothFridge connects tabular foundation inference with open-weight language synthesis and streaming speech:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. TabPFN Fatigue &amp;amp; Standing Time Engine (&lt;code&gt;services/tabpfn_service.py&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Rather than relying on vague heuristics or heavyweight neural training loops, SlothFridge utilizes &lt;strong&gt;Prior Labs' TabPFN&lt;/strong&gt; fitted on in-memory tabular data (&lt;code&gt;data/sloth_meals.csv&lt;/code&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Continuous Regression:&lt;/strong&gt; Estimates exact standing time down to the decimal (e.g., &lt;code&gt;3.8 minutes&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Class Probabilities:&lt;/strong&gt; Computes calibrated posterior distributions across &lt;code&gt;Zero Effort (Mug)&lt;/code&gt;, &lt;code&gt;Low Effort (1 Pan)&lt;/code&gt;, and &lt;code&gt;High Effort (Avoid)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cognitive Anomaly Detection:&lt;/strong&gt; Flags an alert if a user inputs complex ingredients requiring extensive knife work while selecting "Couch Comatose" commitment.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Gemma 2 Couch Potato Chef (&lt;code&gt;services/gemma_service.py&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Using Google's open-weight &lt;code&gt;gemma2-9b-it&lt;/code&gt; served through Groq, the engine acts as an exhausted, realistic chef. It strips out all culinary pretense:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enforces hand-tearing over knife-chopping.&lt;/li&gt;
&lt;li&gt;Mandates eating straight from the skillet or mug with a fork.&lt;/li&gt;
&lt;li&gt;Generates deadpan, 3-step instructions tailored to your available heat source.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. ElevenLabs Sleepy Voice Narration (&lt;code&gt;services/voice_service.py&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Using &lt;code&gt;eleven_turbo_v2_5&lt;/code&gt; with the calm, deadpan "George" voice profile, the app synthesizes low-latency audio walkthroughs. Users start the audio, dump ingredients in, set the heat to low, and return to bed until the timer sounds—touching neither a cutting board nor their phone screen with messy hands.&lt;/p&gt;




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

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Toll Everyday Utilities:&lt;/strong&gt; A consumer app for lazy home cooking cannot survive behind expensive proprietary API paywalls or ₹800/month subscription gates. Open models like &lt;strong&gt;Gemma 2&lt;/strong&gt; and CPU-efficient tabular models like &lt;strong&gt;TabPFN&lt;/strong&gt; run at near-zero inference cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Sovereignty:&lt;/strong&gt; Your kitchen habits, pantry ingredients, and late-night routines stay private.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;In-Context Tabular Intelligence:&lt;/strong&gt; TabPFN's transformer-based approach allows developers to evaluate small, curated tabular datasets without managing hyperparameter tuning pipelines or cloud database clusters.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;To test the real-world payoff, I simulated a late-night cooking scenario using a typical hostel desk stash: &lt;strong&gt;2 eggs, half an onion, two slices of stale bread, and a slice of processed cheese&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Traditional Recipe:&lt;/strong&gt; 22 minutes of standing, 1 chef's knife, 1 cutting board, 1 whisk, 1 prep bowl, 1 frying pan, and 1 plate. Total sink debt: &lt;strong&gt;7 items&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The SlothFridge Payoff:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;TabPFN Predicted Standing Time:&lt;/strong&gt; 4.2 minutes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cleanup Fatigue Tier:&lt;/strong&gt; &lt;code&gt;Low Effort (1 Pan)&lt;/code&gt; (94.2% posterior confidence).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 2 Generated Recipe:&lt;/strong&gt; &lt;em&gt;"The 1-Skillet Bread-Egg Slump"&lt;/em&gt; — Tear the stale bread by hand into a cold pan, crack both eggs over the bread, crush the onion half into rough chunks with your palm, drop the cheese on top, cover with a lid, and walk back to bed for 5 minutes. Eat directly from the pan with a single fork.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Actual Utensils Washed:&lt;/strong&gt; &lt;strong&gt;1 skillet, 1 fork.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Effort Saved:&lt;/strong&gt; ~18 minutes of standing avoided and an 85% reduction in dirty dishes.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Best Use of TabPFN&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of ElevenLabs&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Vercel&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>HostelBites: Zero-Shot Tabular Spoilage Arbitrage &amp; Midnight Flash Combos for Campus Stalls</title>
      <dc:creator>Pratyush Panda</dc:creator>
      <pubDate>Fri, 16 Oct 2026 18:17:33 +0000</pubDate>
      <link>https://dev.to/pratyushpanda/hostelbites-zero-shot-tabular-spoilage-arbitrage-midnight-flash-combos-for-campus-stalls-5fdg</link>
      <guid>https://dev.to/pratyushpanda/hostelbites-zero-shot-tabular-spoilage-arbitrage-midnight-flash-combos-for-campus-stalls-5fdg</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/new?prefill=---%0Atitle%3A%20%0Apublished%3A%20%0Atags%3A%20devchallenge%2C%20hf26challenge%0A---%0A%0A%2AThis%20is%20a%20submission%20for%20the%20%5BHacktoberfest%20Open-Source%20AI%20Challenge%20Week%202%3A%20Side%20Hustle%5D%28https%3A%2F%2Fdev.to%2Fchallenges%2Fhacktoberfest-week2-2026-10-12%29%2A%0A%0A%23%23%20What%20I%20Built%0A%3C%21--%20What%20does%20it%20do%2C%20and%20who%20would%20pay%20for%20it%3F%20%20What%20problem%20does%20it%20solve%20for%20them%3F%20--%3E%0A%0A%23%23%20Demo%0A%3C%21--%20Share%20a%20deployed%20link%20or%20a%20video%20demo.%20--%3E%0A%0A%23%23%20Code%0A%3C%21--%20Show%20us%20the%20code%21%20%20You%20can%20embed%20a%20GitHub%20repo%20directly%20into%20your%20post.%20--%3E%0A%0A%23%23%20How%20I%20Built%20It%0A%3C%21--%20Which%20open-source%20AI%20did%20you%20use%20%28open-weight%20models%2C%20agent%20harnesses%2C%20frameworks%2C%20local%20inference%29%2C%20and%20how%20is%20your%20project%20built%20around%20it%3F%20--%3E%0A%0A%23%23%20Why%20Does%20Open%20Innovation%20Matter%3F%0A%3C%21--%20Why%20does%20open%20innovation%20matter%20for%20what%20you%20built%3F%20%20What%20did%20it%20make%20possible%20that%20a%20closed%20API%20wouldn%27t%3F%20--%3E%0A%0A%23%23%20My%20Agent%20Session%0A%3C%21--%20Optional%2C%20but%20judges%20love%20it.%20%20Save%20your%20session%20with%20DevRelay%20and%20embed%20it%20with%20the%20agent_session%20tag%20%28see%20the%20challenge%20page%29%2C%20or%20link%20to%20it.%20--%3E%0A%0A%23%23%20My%20First%20User%0A%3C%21--%20Optional%2C%20but%20this%20is%20where%20bonus%20points%20live.%20%20Did%20someone%20use%20it%3F%20%20Who%20were%20they%2C%20what%20did%20they%20say%2C%20and%20did%20they%20pay%3F%20%20If%20not%2C%20remove%20this%20section.%20--%3E%0A%0A%23%23%20Prize%20Categories%0A%3C%21--%20Which%20partner%20categories%20are%20you%20entering%3F%20%20List%20every%20one%20that%20applies%2C%20or%20remove%20this%20section.%20--%3E%0A%0A%3C%21--%20Team%20Submissions%3A%20Please%20pick%20one%20member%20to%20publish%20the%20submission%20and%20credit%20teammates%20by%20listing%20their%20DEV%20usernames%20directly%20in%20the%20body%20of%20the%20post.%20--%3E%0A%0A%3C%21--%20Thanks%20for%20participating%21%20--%3E%0A"&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;Outside college campus gates in India (like ITER/SOA, KIIT, and OUTR in Bhubaneswar), late-night roll counters, burger stalls, and small cloud kitchens rely heavily on hungry hostel students. However, their razor-thin margins face a daily threat: &lt;strong&gt;unpredictable perishable inventory waste&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Freshly marinated chicken, paneer cubes, and burger buns spoil overnight under humid coastal conditions. If it suddenly rains at 9:00 PM, or if hostels enforce quiet-hour study gates before mid-semester exams, stall owners routinely throw out ₹1,000 to ₹2,500 worth of fresh stock by morning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HostelBites&lt;/strong&gt; is an autonomous inventory liquidation copilot built for the daily 8:00 PM kitchen check-in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The 8:00 PM Inventory Audit:&lt;/strong&gt; The line cook or stall owner enters remaining raw stock weights alongside environmental conditions (exam week flags, rain, day of the week).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Shot Tabular Spoilage Prediction (TabPFN):&lt;/strong&gt; Ingests the tabular kitchen metrics to classify spoilage risk, outputs posterior class-probability distributions, and calculates continuous clearance windows and mandi financial loss exposure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Campus-Targeted Flash Combos (Gemma 2):&lt;/strong&gt; Uses &lt;code&gt;gemma2-9b-it&lt;/code&gt; via Groq to synthesize high-margin flash combo meals that bundle surplus stock, generating ready-to-broadcast WhatsApp copy tailored with local campus slang and exam urgency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hands-Free Kitchen Audio Briefing (ElevenLabs):&lt;/strong&gt; Converts the preparation priorities into a clear Hinglish voice walkthrough using the Turbo engine, letting the line cook hear batch-fry priorities over loud kitchen exhaust fans.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Stall owners gladly pay a modest ₹199/month micro-subscription because salvaging just one evening's worth of unsold chicken pays for the service for an entire semester.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Application:&lt;/strong&gt; &lt;a href="https://hostelbitesapp.vercel.app/" rel="noopener noreferrer"&gt;https://hostelbitesapp.vercel.app&lt;/a&gt;
&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%2Fjo8bw3883jmh4cn255mw.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%2Fjo8bw3883jmh4cn255mw.png" alt=" " width="800" height="368"&gt;&lt;/a&gt;&lt;/p&gt;




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

&lt;p&gt;The entire open-source repository—including the tabular prior dataset, TabPFN foundation pipelines, Gemma 2 prompt engineering, and the Tech Editorial frontend—is public on GitHub:&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/Pratyush-Panda-2006" rel="noopener noreferrer"&gt;
        Pratyush-Panda-2006
      &lt;/a&gt; / &lt;a href="https://github.com/Pratyush-Panda-2006/HostelBites" rel="noopener noreferrer"&gt;
        HostelBites
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Zero-shot tabular food waste arbitrage engine for campus cloud kitchens. Predicts midnight perishable loss via TabPFN, synthesizes student flash deals via Gemma 2, and streams line-cook audio walkthroughs with ElevenLabs.
    &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;HostelBites 🌙: Midnight Food Arbitrage Engine&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Production-ready AI waste prediction &amp;amp; dynamic flash deal engine for late-night college campus food stalls, roll joints, and cloud kitchens.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;⚡ Overview&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Late-night food stalls outside engineering campus gates (such as &lt;strong&gt;ITER / SOA&lt;/strong&gt;, &lt;strong&gt;KIIT Food Street&lt;/strong&gt;, &lt;strong&gt;Silicon Tech&lt;/strong&gt;, and &lt;strong&gt;Manipal&lt;/strong&gt;) face a persistent operational challenge: &lt;strong&gt;unpredictable closing surplus&lt;/strong&gt;. Unsold chicken, paneer, and breads face morning spoilage and financial write-off.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;HostelBites&lt;/strong&gt; solves this by bridging tabular machine learning and generative campus marketing:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The 8:00 PM Kitchen Check&lt;/strong&gt;: Takes remaining raw inventory (chicken in kg, paneer in kg, buns/parathas) alongside environmental signals (exam week status, rain, day of the week).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TabPFN Spoilage Inference&lt;/strong&gt;: Employs &lt;strong&gt;TabPFN&lt;/strong&gt; (CPU Prior-Data Fitted Network) trained on 120 days of campus operational records (&lt;code&gt;data/midnight_orders.csv&lt;/code&gt;) to predict risk level (&lt;code&gt;High&lt;/code&gt;, &lt;code&gt;Moderate&lt;/code&gt;, &lt;code&gt;Safe&lt;/code&gt;) and compute potential financial exposure at mandi…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Pratyush-Panda-2006/HostelBites" 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;HostelBites links tabular machine learning with generative copy and neural speech synthesis:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prior Labs TabPFN-3.5 Foundation Model:&lt;/strong&gt; Rather than training a brittle, heavy gradient-boosted tree that requires thousands of samples, TabPFN functions as an in-context tabular foundation model. Fitted directly over 150 nights of campus kitchen records (&lt;code&gt;data/midnight_orders.csv&lt;/code&gt;), it delivers:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Categorical Risk Classification:&lt;/strong&gt; Classifies risk into &lt;code&gt;Safe&lt;/code&gt;, &lt;code&gt;Moderate&lt;/code&gt;, &lt;code&gt;High&lt;/code&gt;, and &lt;code&gt;Critical&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calibrated Posterior Probabilities:&lt;/strong&gt; Provides confidence percentages across every risk tier.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Continuous Clearance Windows:&lt;/strong&gt; Projects remaining liquidation hours before demand drops to zero.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outlier Detection:&lt;/strong&gt; Flags dangerous inventory build-ups (e.g., surplus poultry during sudden storms).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt; via Groq):&lt;/strong&gt; Analyzes the inventory surplus and risk status to generate campus-themed WhatsApp broadcasts with emojis, gate delivery instructions, and combo names (&lt;em&gt;"End-Sem All-Nighter Double Roll"&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ElevenLabs Neural Turbo (&lt;code&gt;eleven_turbo_v2_5&lt;/code&gt;):&lt;/strong&gt; Synthesizes practical 30-second Hinglish voice instructions with the George voice profile, backed by automatic Web Speech API browser fallbacks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend Architecture &amp;amp; Hosting:&lt;/strong&gt; Styled with a "Tech Editorial" aesthetic (&lt;em&gt;Playfair Display&lt;/em&gt;, &lt;em&gt;Space Grotesk&lt;/em&gt;, and &lt;em&gt;Space Mono&lt;/em&gt;) on a 4-column guide grid with scan-line progress indicators, deployed on &lt;a href="https://vercel.com/pratyush-pandas-projects" rel="noopener noreferrer"&gt;Vercel&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Open-weight models and open foundation models are essential for micro-enterprises:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Protecting Micro-Margins:&lt;/strong&gt; Proprietary closed APIs charge high token fees that consume the small margins of street vendors. Open-weight models like &lt;strong&gt;Gemma 2&lt;/strong&gt; and CPU-efficient foundation models like &lt;strong&gt;TabPFN&lt;/strong&gt; run at near-zero inference cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Sovereignty &amp;amp; Local Control:&lt;/strong&gt; Daily inventory ledgers, raw purchase costs, and local customer logs stay private within the vendor's application rather than being harvested by commercial cloud providers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Shot Adaptability:&lt;/strong&gt; TabPFN's transformer architecture evaluates small tabular datasets directly in memory without hyperparameter tuning, bringing institutional-grade yield optimization to grassroots developers.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;To test HostelBites in the real world, I visited a popular roll and paratha stall near the engineering student hostels in Jagamara, Bhubaneswar around 8:30 PM.&lt;/p&gt;

&lt;p&gt;The cook had approximately 3.5 kg of pre-marinated chicken and 30 dough balls remaining on a quiet evening:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;TabPFN Output:&lt;/strong&gt; Classified the situation as &lt;code&gt;Moderate&lt;/code&gt; risk, computing a 2.5-hour clearance window and ₹1,415 in at-risk stock.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 2 Output:&lt;/strong&gt; Formatted an urgent &lt;em&gt;"Exam Midnight Craving Alert: Jumbo Butter Chicken Roll @ ₹119"&lt;/em&gt; WhatsApp broadcast.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feedback:&lt;/strong&gt; The owner explained that refrigerating opened, marinated meat degrades its texture for the next day. He forwarded the broadcast into two local student hostel groups. Within 40 minutes, the stall received 9 orders, clearing over 2 kg of chicken before midnight. He affirmed that a ₹199/month fee is an easy investment if it reliably clears perishable stock during exam seasons or rainy days.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Best Use of TabPFN&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of ElevenLabs&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Vercel&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>tabpfn</category>
      <category>elevenlabs</category>
    </item>
    <item>
      <title>CampusBahar: Touch Grass Before Monday Classes — Zero-Screen-Time Trail Scout</title>
      <dc:creator>Pratyush Panda</dc:creator>
      <pubDate>Fri, 09 Oct 2026 04:55:16 +0000</pubDate>
      <link>https://dev.to/pratyushpanda/campusbahar-touch-grass-before-monday-classes-zero-screen-time-trail-scout-4n97</link>
      <guid>https://dev.to/pratyushpanda/campusbahar-touch-grass-before-monday-classes-zero-screen-time-trail-scout-4n97</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




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

&lt;p&gt;Engineering and college students across Bhubaneswar (from campuses like SOA/ITER, KIIT, OUTR, AIIMS, and Silicon) often spend entire weekends inside air-conditioned hostel rooms scrolling feeds or grinding code blocks. Many migrant hostellers want to explore, but lack of local transit clarity, intense coastal humidity windows, and Odia language barriers keep them trapped indoors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CampusBahar (PravasiTrail)&lt;/strong&gt; is an intentional &lt;strong&gt;anti-screen exploration engine&lt;/strong&gt;. Its mission is to be used for less than 30 seconds:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Hostel-to-Trail Routing:&lt;/strong&gt; Select your campus hub or auto-detect your location with GPS to discover 18 natural, forest, and ancient rock-cut destinations across Odisha.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TabPFN Diurnal Climate Windows:&lt;/strong&gt; Predicts heat, humidity, and UV solar comfort using a prior-data fitted tabular model so students step out only during safe dawn or dusk hours.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;4-Way Transparent Transit Matrix:&lt;/strong&gt; Real-time fare comparisons across Mo Bus routes, shared autos, bike taxis, and split cabs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hands-Free Audio Walk (ElevenLabs):&lt;/strong&gt; Converts the pocket guide into clear audio so students can put their phones away, put in their earphones, and navigate purely through sight and touch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Colloquial Street Odia:&lt;/strong&gt; Provides authentic Odia script, phonetic transliteration, and street tips to negotiate with local auto drivers and bus conductors without stress.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Application:&lt;/strong&gt; &lt;a href="https://campusbahar.vercel.app" rel="noopener noreferrer"&gt;https://campusbahar.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Production Backend API:&lt;/strong&gt; &lt;a href="https://campusbahar.onrender.com" rel="noopener noreferrer"&gt;https://campusbahar.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Health Check:&lt;/strong&gt; &lt;a href="https://campusbahar.onrender.com/api/health" rel="noopener noreferrer"&gt;https://campusbahar.onrender.com/api/health&lt;/a&gt;
&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%2Fjgqluvsmuk5xkb1qglfz.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%2Fjgqluvsmuk5xkb1qglfz.png" alt=" " width="799" height="365"&gt;&lt;/a&gt;&lt;/p&gt;




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

&lt;p&gt;The entire open-source repository (FastAPI backend + Memphis postmodern UI) is available on GitHub:&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/Pratyush-Panda-2006" rel="noopener noreferrer"&gt;
        Pratyush-Panda-2006
      &lt;/a&gt; / &lt;a href="https://github.com/Pratyush-Panda-2006/CampusBahar" rel="noopener noreferrer"&gt;
        CampusBahar
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A zero-screen-time weekend exploration engine for Bhubaneswar students. Built with TabPFN tabular models and Groq Gemma 2 to check coastal heat windows, transit fares, and trail guides before stepping outside.
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;





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

&lt;p&gt;CampusBahar is built around a lightweight, privacy-focused open-weight AI architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;TabPFN Foundation Model (&lt;code&gt;tabpfn&lt;/code&gt;):&lt;/strong&gt; We fitted TabPFN on diurnal coastal microclimate cycles (&lt;code&gt;bbsr_weather_comfort.csv&lt;/code&gt;). Unlike heavy ML pipelines that require hyperparameter tuning or training iterations, TabPFN delivers instant zero-shot tabular inference directly on CPU, classifying hours into &lt;code&gt;Optimal&lt;/code&gt;, &lt;code&gt;Moderate&lt;/code&gt;, or &lt;code&gt;Avoid&lt;/code&gt; conditions based on temperature, relative humidity, and UV index.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt; via Groq):&lt;/strong&gt; Synthesizes concise 4-point micro field cards (Transit Route, Sensory Touch-and-See Checkpoint, Driver Phrase in Odia, and Digital Detox Rules) tailored specifically for non-Odia students from Jharkhand, Bihar, and UP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Gemini API (&lt;code&gt;gemini-2.5-flash&lt;/code&gt;):&lt;/strong&gt; Powers the bilingual Odia translation engine, handling colloquial street phrasing and phonetic transliteration to demystify transit communication.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ElevenLabs Speech API (&lt;code&gt;eleven_turbo_v2_5&lt;/code&gt;):&lt;/strong&gt; Generates lightweight audio walk narrations with the Rachel voice model, allowing students to disconnect from screens entirely once on the trail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud Infrastructure:&lt;/strong&gt; The asynchronous FastAPI backend is deployed on a &lt;strong&gt;Render Web Service&lt;/strong&gt; container in Singapore, and the frontend is hosted on &lt;strong&gt;Vercel&lt;/strong&gt; with pure static edge rewrites.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Open-source and open-weight models give developers the power to solve hyper-local civic and student challenges without being tied to expensive, closed enterprise platforms. &lt;/p&gt;

&lt;p&gt;Using &lt;strong&gt;TabPFN&lt;/strong&gt; and &lt;strong&gt;Gemma 2&lt;/strong&gt; means community tools like CampusBahar can run inference with minimal latency and predictable overhead. Open innovation allows models to be adapted to local micro-climates, regional bus networks, and campus realities, giving students an accessible, open-weight toolkit that encourages them to close their laptops and step outside into the real world.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Best Use of TabPFN&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of ElevenLabs&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Render&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>LabExplain: A Zero-Login Code Tutor for University Labs Powered by Gemma 2</title>
      <dc:creator>Pratyush Panda</dc:creator>
      <pubDate>Fri, 02 Oct 2026 18:42:36 +0000</pubDate>
      <link>https://dev.to/pratyushpanda/labexplain-a-zero-login-code-tutor-for-university-labs-powered-by-gemma-2-14j8</link>
      <guid>https://dev.to/pratyushpanda/labexplain-a-zero-login-code-tutor-for-university-labs-powered-by-gemma-2-14j8</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;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;During university computer programming labs, instructors often demonstrate syntax implementations (like Python file handling or pointers in C) and quickly move ahead. My friend and lab partner struggled to grasp the internal mechanics of the context manager (&lt;code&gt;with open(...) as file:&lt;/code&gt;) and list comprehensions during a recent class. &lt;/p&gt;

&lt;p&gt;He wanted to ask an AI tutor for an immediate line-by-line explanation, but doing so on shared university terminals required signing into personal Google or OpenAI accounts. Logging into personal accounts on public lab workstations presents serious privacy risks, including cached credentials, open sessions, and browser data leakage.&lt;/p&gt;

&lt;p&gt;To solve this, I built &lt;strong&gt;LabExplain&lt;/strong&gt;: a zero-login, peer code tutor designed specifically for shared lab environments. Students do not need individual accounts, OAuth logins, or credentials. Instead, any student at a shared machine types a 6-digit session PIN (&lt;code&gt;123456&lt;/code&gt;), pastes their lab snippet, and receives an instant, line-by-line pedagogical breakdown.&lt;/p&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://labexplain-ai.onrender.com" rel="noopener noreferrer"&gt;https://labexplain-ai.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Session PIN for Testing:&lt;/strong&gt; &lt;code&gt;123456&lt;/code&gt;
&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%2Fr603y74f474qsw5o7202.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%2Fr603y74f474qsw5o7202.png" alt=" " width="799" height="362"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;The complete source code is public and open-source:&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/Pratyush-Panda-2006" rel="noopener noreferrer"&gt;
        Pratyush-Panda-2006
      &lt;/a&gt; / &lt;a href="https://github.com/Pratyush-Panda-2006/LabExplain-AI" rel="noopener noreferrer"&gt;
        LabExplain-AI
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A privacy-first code explainer built with FastAPI and Google Gemma 2 open weights. Allows students on shared lab computers to get instant line-by-line breakdowns for Python, C++, and Java using a simple 6-digit session PIN.
    &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;⚡ LabExplain&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zero-login, peer-accessible university code tutor powered by Google Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt;) via Groq Cloud.&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Built for the DEV Hacktoberfest Weekend Challenge.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🎯 Problem Statement&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;In university coding labs, undergraduate students often encounter unfamiliar syntax and cryptic runtime errors (e.g., Python context managers, recursion base cases, pointer dereferencing in C/C++). However, students cannot safely use commercial AI tools on public lab machines because doing so requires logging into personal accounts, creating serious credential exposure and session leakage risks on untrusted workstations.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;💡 The Solution&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;LabExplain&lt;/strong&gt; is a zero-login, peer-accessible code tutor:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Students sit down at any university lab computer.&lt;/li&gt;
&lt;li&gt;Enter the active 6-digit lab session PIN (&lt;code&gt;482910&lt;/code&gt; or set by the instructor/TA).&lt;/li&gt;
&lt;li&gt;Paste their confusing code snippet.&lt;/li&gt;
&lt;li&gt;Receive an encouraging, line-by-line pedagogical breakdown powered by Google's open-weight &lt;strong&gt;Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt;)&lt;/strong&gt; running at ultra-low latency on Groq Cloud.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏗️ Architecture &amp;amp; Project Layout&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;labexplain-ai/
├──&lt;/code&gt;&lt;/pre&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/Pratyush-Panda-2006/LabExplain-AI" 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;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source AI Inference:&lt;/strong&gt; Powered by open weights served via Groq's low-latency inference engine for near-instant responses during lab classes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend Architecture:&lt;/strong&gt; Built with &lt;strong&gt;FastAPI&lt;/strong&gt; and &lt;strong&gt;Pydantic&lt;/strong&gt;, featuring session PIN verification, language routing (Python, C, C++, Java, JavaScript, SQL), and structured pedagogical prompt engineering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend Design:&lt;/strong&gt; A single-page dawn-lake glassmorphism UI featuring responsive CSS tokens, custom dark-glass dropdown components, and an expandable line-by-line modal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud Hosting:&lt;/strong&gt; Deployed as a web service on &lt;strong&gt;Render&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Open-weight models and open innovation are essential for this architecture:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Privacy on Shared Hardware:&lt;/strong&gt; Proprietary closed-source platforms mandate individual user profiles and track activity. Open-weight models decouple intelligence from personal accounts, allowing lightweight, PIN-brokered sessions on public lab computers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Campus LAN &amp;amp; Air-Gapped Readiness:&lt;/strong&gt; Because the underlying weights are open, educational institutions can host the model directly on local campus servers or offline intranets where student machines lack external internet access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility:&lt;/strong&gt; It ensures all students get high-quality learning assistance without paywalls or individual subscriptions.&lt;/li&gt;
&lt;/ol&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;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Render&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

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