AI Agents Evaluation Dataset

Evaluation Dataset Builder Prompt

Turn real interactions into a labeled eval set — sample for coverage, label each with the expected behavior, and balance the set so the score means something.

Overview

The best evaluation set comes from real usage, but raw logs aren't a dataset — they're unlabeled, unbalanced, and full of duplicates. This prompt builds an eval dataset from real interactions: sampling for coverage across intents and difficulty, labeling each with the expected/correct behavior, deduping near-identical cases, and balancing so common cases don't drown out the rare-but-critical ones.

How to use this resource

  1. Assemble the raw interactions

    Gather real usage logs across the range of intents and difficulty. The builder turns them into a labeled set, but it needs coverage to sample from.

  2. Open this resource in Test Case Prompt Generator

    Load the prompt into Test Case Prompt Generator and paste in the interactions. It samples for coverage, labels each with the expected behavior, and dedupes near-identical cases.

  3. Review the labeled, balanced set

    Check the sampled cases, their expected-behavior labels, and the balance so common cases do not drown out the rare-but-critical ones.

  4. Refine the set and re-sample

    Adjust the labels or coverage where the set is thin or skewed, then regenerate so the score it produces actually means something.

Why This Works

  • Coverage-based sampling stops the eval being dominated by the easy majority
  • Gold labels turn raw logs into a set you can grade against
  • A held-out split keeps the score honest as you iterate

Best for

  • Agents with real usage to learn from
  • Teams whose eval set is a handful of hand-picked cases
  • Building a repeatable evaluation pipeline

Not for

  • Generating synthetic scenarios from scratch — use the Agent Test Scenario Prompt
  • Scoring the dataset — use the Agent Evaluation Scorecard

Use cases

  • Turning production logs into a labeled eval set
  • Sampling interactions for coverage, not just volume
  • Building a held-out set for honest evaluation

FAQ

Are the labels in the eval set the agent's current answers or the correct ones?

The gold labels are the expected/correct behavior, not the agent's current output: a rule states this outright, so you grade the agent against the set rather than against itself. Each selected case gets a label specific enough to grade against, output as input + gold label + category. The test-case-prompt-generator builds the prompt; you paste real logs, run it in your assistant, and review the labels.

How does the builder stop common cases from dominating the eval score?

Two of its six steps handle that: SAMPLE FOR COVERAGE selects across every category and difficulty tier (easy/typical/hard/edge), noting which are thin, and BALANCE flags when common cases vastly outnumber rare-but-critical ones and recommends a target mix. A HOLD-OUT NOTE reserves cases from the iteration set. Coverage over volume is the governing rule. The generator produces the prompt; you re-sample where the set is skewed.

Can this generate test scenarios if I don't have real logs yet?

It builds a dataset from real interaction logs you paste, sampling and labeling existing usage; it doesn't invent cases from scratch. The notFor routes synthetic scenario generation to the Agent Test Scenario Prompt and scoring the finished set to the Agent Evaluation Scorecard. Without raw interactions there's nothing to sample for coverage. The test-case-prompt-generator produces the labeling prompt; supplying the logs is on you.

More resources from Test Case Prompt Generator

Resources that pair well

Related tools

Guides for this resource

Tip: Save time by exploring related resources and tools that integrate with this resource.