Three properties separate agent tasks from single-turn questions.
Many steps. A task such as repairing a bug in a software repository requires locating the relevant code, understanding it, editing it, and running tests, often across many tool calls. A benchmark built from real repository issues makes this concrete: success is judged by whether the repository’s own tests pass after the agent’s change (Jimenez et al., 2024). The outcome is a function of a whole trajectory, not of one answer.
A changing environment. Each action alters what the next observation will be. Two attempts at the same task diverge early and see different worlds, which is one source of the attempt-to-attempt variation that the companion book measures.
Partial observability of quality. A trajectory can reach the right end state by a poor route, or fail after nearly everything went right. the companion book treats how to judge trajectories rather than only outcomes.
Some agents also learn from their own failures within a task, for example by writing a short verbal reflection after a failed attempt and carrying it into the next one (Shinn et al., 2023). Such designs make successive attempts dependent, which affects how pass@k and pass^k should be interpreted, a point developed in the companion book.
Continue with the book
Explore the full treatment, worked examples, and exercises in Next-Generation AI, Explained and Evaluated.
Companion article for Next-Generation AI, Explained and Evaluated, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.
