---
title: "Discussion on \"How to Build an AI Agent Eval Set That Doesn't Share Your Bugs\" | Hashnode"
description: "Discussion on \"How to Build an AI Agent Eval Set That Doesn't Share Your Bugs\". Our eval gate passed at 97% for 11 releases, while the agent approved refunds; it wasn't allowed to. The tests had been recorded from the agent's own output."
url: "https://hashnode.com/posts/how-to-build-an-ai-agent-eval-set-that-doesn-t-share-your-bugs/6af53bbee2b121c4768dcaa3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Build an AI Agent Eval Set That Doesn't Share Your Bugs](https://grounded-engineering.hashnode.dev/how-to-build-an-ai-agent-eval-set-that-doesn-t-share-your-bugs?utm_source=hashnode&utm_medium=feed)

Our eval gate passed at 97% for 11 releases, while the agent approved refunds; it wasn't allowed to. The tests had been recorded from the agent's own output.

Nov 12 · 13 min read · grounded-engineering.hashnode.dev  
Read the article

## Written by

[Rakesh Kumar](https://hashnode.com/@rakeshnitb)

@rakeshnitb · Bangalore, India

  
[View profile](https://hashnode.com/@rakeshnitb)

AI developer building production RAG and agent systems. Writing about auth, grounding, and reliability.

AI Developer at Genpact, previously a backend engineer building high-volume systems for Shutterfly. I build production RAG and AI agent systems with a focus on security, grounding, and reliability. My current project, GroundedDocs, is a document Q&amp;A service that answers only with exact citations or abstains. Here I write the "Grounded RAG in Production" series: practical design notes from shipping real systems.

## Responses 1

Markdown supported · ⌘↵ to post

[Dr Srinivas Padmanabhuni](https://hashnode.com/@srinivaspadmanabhuni)

[2d ago](https://hashnode.com/posts/how-to-build-an-ai-agent-eval-set-that-doesn-t-share-your-bugs/6af53bbee2b121c4768dcaa3/comment/6b0846301cfec7ee1c36ef77)

The line that sticks with me is that the eval and the agent agree because the expected answers came from the agent's own output. I saw a milder version with a contract-reviewer agent. It flagged the supplier's right to change fees without notice, unlimited customer liability and a 3-year auto-renew, yet rated the fee change and the renewal medium instead of high. A pass on the final summary would not show that. Task success rate over the recorded cases, one of agentest's 165 tests, caught the drop. To be fair, it surfaced the harness evaluation and did not judge the contract itself. Try it on one of your own agent runs and tell us what it caught or missed.

pip install agentest-ai
