LearnQuestion bank

Walk us through an agent you built and how you evaluated it. Did you report pass@k or pass^k, how many tasks were in the suite, how were model-based graders checked, and what separated your capability evals from your regression evals?

Applied LLMTechnicalMedium

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

Illustrative: a fictional candidate's story to show the structure; not the author's experience.

In short

  • Suite built from real failures, each with a verifiable success criterion, run in a fixed sandbox
  • Suite size chosen from tolerable noise: ~200 tasks gives a ~3-point standard error at a 70% pass rate
  • pass@k (at least one of k succeeds) for capability; pass^k (all k succeed) reliability threshold for release gating
  • Code-based graders where possible; model graders calibrated against human labels on a held-out set
  • Outcomes graded, not tool-call paths, because valid solutions vary
  • Evals gated releases; reliably solved capability tasks graduated into the regression suite
  • Cost and latency per completed task reported alongside success

In full

I built an agent for a real internal workflow and started by pulling the actual failures (cases where it stalled or produced a wrong result) and turned each into a task with a clear, verifiable success criterion, all run in a fixed sandbox so the environment did not drift between runs. The suite was around 200 tasks, and I sized it from the noise I could tolerate rather than picking a round number:

standard error of a pass rate at p = 0.7 over n = 200 tasks = sqrt(0.7 x 0.3 / 200) = sqrt(0.00105) ≈ 0.032 -> about 3 points 95% interval ≈ ±1.96 x 3.2 ≈ ±6 points

so a single-run change of a few points was treated as noise unless repeated trials confirmed it. pass@k is the chance that at least one of k attempts succeeds; pass^k is the chance that all k succeed. For the capability suite I reported pass@k, because the question was whether the agent could solve a task at all; for the release gate I used a pass^k-style reliability threshold, because users needed consistent success, not a single lucky solve. I graded outcomes rather than exact tool-call paths, since the right path varies and grading paths would punish valid solutions. Where a check could be code-based (did the file change, did the test pass) I used code, and where judgement was needed I used a model grader that I calibrated against human labels on a held-out set before trusting it. Those evals gated releases: a regression suite ran on every change, and tasks the agent reliably solved graduated from the capability suite into the regression suite so silent regressions would be caught. Alongside success I reported cost and latency per completed task, so a higher pass rate that doubled cost or latency was treated as a regression, not a win.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Describes a task suite drawn from real failures with clear success criteria and a stable environment
  • Chooses pass@k or pass^k to match the use case and explains the difference
  • Uses code-based graders where possible and calibrates model graders against human labels
  • Grades outcomes rather than exact tool-call paths, and explains why
  • Shows how evals gated releases and how capability tasks graduated into a regression suite
  • Reports cost and latency per completed task alongside success

Common mistakes

  • Presenting a handful of cherry-picked demo runs as evaluation

Follow-ups

  • Your agent passes 80% once but only 40% three times in a row. What do you do?