<?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: Unni Koroth</title>
    <description>The latest articles on DEV Community by Unni Koroth (@unni_koroth_5d00009494812).</description>
    <link>https://dev.to/unni_koroth_5d00009494812</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%2F4283993%2F6c74a778-c4f0-40df-b5df-0f754e9f75af.png</url>
      <title>DEV Community: Unni Koroth</title>
      <link>https://dev.to/unni_koroth_5d00009494812</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/unni_koroth_5d00009494812"/>
    <language>en</language>
    <item>
      <title>AI can't be trusted with the numbers yet: an open-source morning brief for business owners where a model never writes one</title>
      <dc:creator>Unni Koroth</dc:creator>
      <pubDate>Sat, 05 Dec 2026 06:00:29 +0000</pubDate>
      <link>https://dev.to/unni_koroth_5d00009494812/ai-cant-be-trusted-with-the-numbers-yet-an-open-source-morning-brief-for-business-owners-where-a-gke</link>
      <guid>https://dev.to/unni_koroth_5d00009494812/ai-cant-be-trusted-with-the-numbers-yet-an-open-source-morning-brief-for-business-owners-where-a-gke</guid>
      <description>&lt;p&gt;I'm Unni. Most companies have more dashboards than ever, and fewer people looking at them. The owner still finds out late. So we built the opposite of a dashboard: a short brief that lands every morning and says what the numbers and the team aren't telling you. It's open source (Apache-2.0) and called Othor AI.&lt;/p&gt;

&lt;p&gt;AI still can't do high-stakes intelligence on its own: a model will happily write a confident number that no query produced. The things that cost a business money hide where nobody thought to ask: a total that looks flat while one region falls and another covers it, a customer who stops buying without cancelling, two systems that quietly disagree. So Othor AI doesn't wait to be asked, and it doesn't let a model near the figures. Every night it runs one deterministic batch over the company's operational databases and emails a short brief: what changed, how much money is at stake, how sure it is, and one question for a named person.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You describe the business once as a typed spec. It compiles to SQL and reads PostgreSQL, MySQL or Google Sheets in place, read-only.&lt;/li&gt;
&lt;li&gt;It looks across the metrics and their breakdowns with 11 detectors, where the data allows: changepoints (PELT), offsetting parts, rising variance, concentration, missing records, lead-lag, bimodal averages (dip test + GMM), cross-source contradictions, forecast breaches, data-entry artefacts.&lt;/li&gt;
&lt;li&gt;All p-values are corrected together with Benjamini-Hochberg (q = 0.01). On our sample company a night runs about 360 tests and reports 8 findings.&lt;/li&gt;
&lt;li&gt;Each finding is graded the way an analyst grades a judgement: Measured, Assessed (High/Medium), or Not determinable.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The rules I cared most about
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A model never produces a number. Figures are inserted from computed results; any number in model output is discarded.&lt;/li&gt;
&lt;li&gt;Runs are deterministic. &lt;code&gt;othor replay &amp;lt;run_id&amp;gt;&lt;/code&gt; reproduces a night byte for byte, and CI fails if it doesn't.&lt;/li&gt;
&lt;li&gt;The nightly run needs no model at all.&lt;/li&gt;
&lt;li&gt;Every number links to its definition, SQL, test, parameters and run.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What we found when we tested it on other companies
&lt;/h2&gt;

&lt;p&gt;Strict statistics cut both ways. We keep invented companies with patterns planted in their data, and check after each release how many the brief still finds.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the textile company it finds all 11 of 11 planted patterns.&lt;/li&gt;
&lt;li&gt;On an invented paint maker, the same data went from 15 findings and 3 of 5 planted patterns to 3 findings and 1 of 5 over a few releases. Nobody noticed until a demo.&lt;/li&gt;
&lt;li&gt;Each change behind the drop was deliberate. An autocorrelation-aware changepoint test stopped seeing a planted step. A real signal (p = 0.00024) slipped past q = 0.01 because the weaker results it was ranked against had gone. A money-at-stake floor dropped a third.&lt;/li&gt;
&lt;li&gt;Every change was right on its own and tested on one company. Together they made the brief quieter than it should be.&lt;/li&gt;
&lt;li&gt;So every release now runs against several companies from different industries, with an answer key, and any drop has to be explained before we ship.&lt;/li&gt;
&lt;li&gt;A smaller one: the same forecast lands a few paise apart on macOS and Linux. Replay stays byte for byte on the same image, and CI now compares raw forecast values within 1% while every figure a reader sees stays exact.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;make demo&lt;/code&gt; runs a night on an invented textile company in about 90 seconds. Revenue looks flat while South falls ₹1.4 crore and West's growth covers it; three accounts carry 72% of the drop.&lt;/p&gt;

&lt;p&gt;Stack: Python 3.12, FastAPI + Jinja + htmx, DuckDB/Parquet, statsmodels, ruptures, scipy.&lt;/p&gt;

&lt;p&gt;I'd love feedback on three things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The detector choices and their false-positive behaviour on real business data.&lt;/li&gt;
&lt;li&gt;The trade-off above: how strict a nightly multiple-testing bar should be when missing a real problem costs more than a false alarm.&lt;/li&gt;
&lt;li&gt;Whether the confidence grading reads as useful or as theatre.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/othorai/othor-ai" rel="noopener noreferrer"&gt;https://github.com/othorai/othor-ai&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>python</category>
      <category>datascience</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
