<?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: Jon Ömerağa</title>
    <description>The latest articles on DEV Community by Jon Ömerağa (@can_omeraga_61b58c3b39fe7).</description>
    <link>https://dev.to/can_omeraga_61b58c3b39fe7</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%2F4275901%2Fac88e817-9e7e-4ca6-8822-53ee77bd0931.jpeg</url>
      <title>DEV Community: Jon Ömerağa</title>
      <link>https://dev.to/can_omeraga_61b58c3b39fe7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/can_omeraga_61b58c3b39fe7"/>
    <language>en</language>
    <item>
      <title>AI reporting: One regression test for a dashboard, its drill-down and CSV</title>
      <dc:creator>Jon Ömerağa</dc:creator>
      <pubDate>Tue, 01 Dec 2026 08:51:30 +0000</pubDate>
      <link>https://dev.to/can_omeraga_61b58c3b39fe7/ai-reporting-one-regression-test-for-a-dashboard-its-drill-down-and-csv-1j6p</link>
      <guid>https://dev.to/can_omeraga_61b58c3b39fe7/ai-reporting-one-regression-test-for-a-dashboard-its-drill-down-and-csv-1j6p</guid>
      <description>&lt;p&gt;A dashboard says there’s one late order. The detail view lists one. The CSV has two. If support gets that ticket, which part of the product should they trust?&lt;/p&gt;

&lt;p&gt;I’m Jon Ömerağa and I work at dReveal, a reporting provider. This is a fictional test fixture; AI was used to help draft the article.&lt;/p&gt;

&lt;p&gt;Start with three orders in one region, all evaluated at the same cutoff:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Order&lt;/th&gt;
&lt;th&gt;Last known status at 10:00&lt;/th&gt;
&lt;th&gt;Late under the report’s rule?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;O-42&lt;/td&gt;
&lt;td&gt;Open, delivery promised at 09:00&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;O-43&lt;/td&gt;
&lt;td&gt;Cancelled, delivery originally promised at 09:00&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;O-44&lt;/td&gt;
&lt;td&gt;Open, delivery promised at 11:00&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&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%2Fsby26o2fak2t94vw5bca.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%2Fsby26o2fak2t94vw5bca.png" alt="Three reporting surfaces agree on one late order, O-42." width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For this test, “late” means an open order whose promised delivery time is earlier than the report cutoff. The tile should show &lt;strong&gt;1&lt;/strong&gt;. Clicking the tile should open exactly &lt;strong&gt;O-42&lt;/strong&gt;. Exporting that same view should produce exactly &lt;strong&gt;O-42&lt;/strong&gt;, with the cutoff and region indicated somewhere the recipient can see.&lt;/p&gt;

&lt;p&gt;Test the order IDs, not just the row count. A CSV that returns O-43 instead of O-42 still has one row, and a count-only check would let it through.&lt;/p&gt;

&lt;p&gt;If your product also lets users ask the report a question in natural language, run the same fixture through that interface: “At 10:00, in this region, which open orders are late?” The answer should point to O-42 and describe the scope, or say it cannot verify the underlying records. Trace the result to the same detail view. This catches a reporting mismatch even when the AI reply sounds convincing. For a companion example on source completeness and duplicate events, see &lt;a href="https://medium.com/@can.omeraga_9898/before-you-trust-an-ai-generated-kpi-check-these-three-things-2968c2e9221a" rel="noopener noreferrer"&gt;three checks before trusting an AI-generated KPI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Then rerun the test with a filter that matches nothing. The tile should show zero, the detail view should explain that no orders match, and the export should either contain headers only or be disabled with a clear reason. Pick one export behaviour and test it deliberately.&lt;/p&gt;

&lt;p&gt;A slightly different scope can be legitimate. An export labelled “All orders” might include more rows than the tile. In that case, make the scope clear before the download so nobody mistakes the file for the filtered view.&lt;/p&gt;

&lt;p&gt;This is a small regression test worth keeping next to your report definition. If a filter or export changes later, you can see immediately whether the three surfaces still agree.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>testing</category>
      <category>saas</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
