<?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: Shubh V</title>
    <description>The latest articles on DEV Community by Shubh V (@shubhv122).</description>
    <link>https://dev.to/shubhv122</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%2F4217804%2Fbbd28028-fe43-49e0-a7a4-2cecfa126317.png</url>
      <title>DEV Community: Shubh V</title>
      <link>https://dev.to/shubhv122</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shubhv122"/>
    <language>en</language>
    <item>
      <title>The Poltergeist Ledger</title>
      <dc:creator>Shubh V</dc:creator>
      <pubDate>Sat, 31 Oct 2026 13:48:37 +0000</pubDate>
      <link>https://dev.to/shubhv122/the-poltergeist-ledger-3chd</link>
      <guid>https://dev.to/shubhv122/the-poltergeist-ledger-3chd</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;The Poltergeist Ledger is an offline-first anomaly detection and narrative synthesis engine that transforms real household IoT sensor telemetry into a Victorian ghost story and an interactive séance console.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Inspired It?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Classic Gothic Literature&lt;/strong&gt;: Shirley Jackson’s opening lines from The Haunting of Hill House ("Hill House, not sane, stood by itself against its hills, holding darkness within...") and Arthur Conan Doyle's Victorian domestic mysteries.&lt;/p&gt;

&lt;p&gt;The Ghost in the IoT Machine: The uncanny feeling anyone experiences when checking smart home or IoT logs late at night and finding unexplained 3:00 AM power surges, phantom draws on dead circuits, or sudden temperature drops in uninhabited rooms.&lt;/p&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/CeNz1Ag7YQU" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Physical Anomaly Detection with TabPFN&lt;/strong&gt;: We load 4.5 months of continuous household data (the UCI Appliances Energy dataset) and run a contiguous 5-fold out-of-fold (OOF) cross-validation using TabPFN Regression.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Robust Residual Clustering&lt;/strong&gt;: The pipeline computes residuals (actual−predicted) and converts them into robust z-scores via median and Median Absolute Deviation (MAD). Rows exceeding ∣ 𝑧 ∣ ≥ 4.5&lt;br&gt;
within 60 minutes are merged into distinct physical disturbance events, deliberately balancing daytime surges with 3:00 AM midnight spikes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Local Victorian Stewardship via Ollama (Gemma 3)&lt;/strong&gt;: Each event's physical telemetry (power surges, sub-room temperatures &lt;br&gt;
humidity, barometric pressure, wind speed) is passed as an isolated JSON fact block into a local Gemma model. Gemma writes a concise entry in the voice of an 1890s house steward inspecting needle deflections by candlelight.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Zero-Hallucination Number Grounding Validator&lt;/strong&gt;: A regex parser extracts every numeric token from Gemma's response. Every single number must exist within the ground-truth physical fact block (accounting for time formats and decimals). &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interactive Séance &amp;amp; ElevenLabs Spooky Voice&lt;/strong&gt;: A local Flask server allows users to "interrogate the dwelling" (POST /ask). Gemma translates natural language questions into time windows, Python computes the real sensor telemetry, Gemma responds in character, and ElevenLabs text-to-speech narrates the story and chat answers aloud using an ominous British voice (onwK4e9ZLuTAKqWW03F9 - Daniel).&lt;/p&gt;

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

&lt;p&gt;Open models also let me change how the system behaves, which a closed API wouldn’t have allowed. I ran the same pipeline with two Gemma sizes and measured the difference: [model A: X s per entry, Y% of entries failed number validation] vs. [model B: X s, Y%]. I could also hold Gemma to the real data by validating every number it wrote against the facts it was given, and I could inspect exactly what it was told. And there’s no per-token bill and no service that can change or shut down underneath the project, which suits a piece about old, forgotten things.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;TabPFN&lt;/li&gt;
&lt;li&gt;Gemma&lt;/li&gt;
&lt;li&gt;GitHub Copilot&lt;/li&gt;
&lt;li&gt;ElevenLabs&lt;/li&gt;
&lt;/ul&gt;

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