AlgoViz

Evaluating complete agent runs

hard 6 min

Agent behavior is stochastic and stateful.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Three runs of a booking assistant

Three runs of a booking assistant. Selected component: Initial state inside Environment fixture.
Open full-size diagram

Environment fixture

One available room

Each trial starts from the same clean fixture. Define success as one valid reservation satisfying the customer constraints.

A change raises answer similarity but causes duplicate bookings. Which result should decide release?

Require consecutive successes

51.2% probability that all trials succeed

Trials have constant success probability and independent outcomes. Shared outages and repeated difficult cases violate this model.