<?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: Taoheed</title>
    <description>The latest articles on DEV Community by Taoheed (@artaoheed).</description>
    <link>https://dev.to/artaoheed</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%2F777000%2F30af726d-7b55-435d-a86c-de500820ae5c.jpg</url>
      <title>DEV Community: Taoheed</title>
      <link>https://dev.to/artaoheed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/artaoheed"/>
    <language>en</language>
    <item>
      <title>Your agent's 99% eval score is measured under conditions that never occur in production</title>
      <dc:creator>Taoheed</dc:creator>
      <pubDate>Mon, 03 Aug 2026 23:21:08 +0000</pubDate>
      <link>https://dev.to/artaoheed/your-agents-99-eval-score-is-measured-under-conditions-that-never-occur-in-production-308g</link>
      <guid>https://dev.to/artaoheed/your-agents-99-eval-score-is-measured-under-conditions-that-never-occur-in-production-308g</guid>
      <description>&lt;p&gt;Ran the same agent through the same eval harness twice this week. Only variable: whether the network behaved like a demo or like production.&lt;/p&gt;

&lt;p&gt;Clean conditions, no faults: 50/50 passed. 100%.&lt;/p&gt;

&lt;p&gt;Same agent, same code, one change: 22% of calls now get hit with the kind of rate limit any LLM provider throws under real load. 36/50 passed. 72%.&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%2Fol944n4w3grj1n0ppcy8.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%2Fol944n4w3grj1n0ppcy8.png" alt="Terminal output comparing an agent's pass rate under clean eval conditions (50 of 50, 100%) versus simulated production conditions with a 22% rate-limit fault injected (36 of 50, 72%)" width="612" height="158"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's not a bug in the agent. It's the eval never testing for it in the first place.&lt;/p&gt;

&lt;p&gt;Most eval harnesses run against a provider that never drops a request, never times out, never sends back a malformed response. So the score is real, it's just measuring a condition your agent will never actually run in. Production has retries that don't fire right, timeouts that cascade, rate limits that arrive mid-conversation. None of that shows up in a single clean pass.&lt;/p&gt;

&lt;p&gt;The fix isn't a better eval score. It's running the eval under the failure modes production actually has, and reporting the number that survives contact with them.&lt;/p&gt;

&lt;p&gt;Building &lt;a href="https://github.com/thaghr/thaghr" rel="noopener noreferrer"&gt;thaghr&lt;/a&gt; to do exactly this: inject the faults, run the trials, report what's left. More on that as it's ready.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>testing</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
