AlgoViz

Evaluating complete agent runs

hard 6 min

Agent behavior is stochastic and stateful.

Where it shows up

The same pattern appears across everyday software.

  • Three runs of a booking assistant

    Each trial starts from the same clean fixture. Define success as one valid reservation satisfying the customer constraints. Different valid trajectories are allowed. A run that creates duplicate bookings fails even when its final message says “confirmed.” Report observed success and uncertainty. If the underlying success chance were 0.8 and trials independent, three consecutive successes would have probability 0.512.