Compute an agent success-rate metric over a list of trajectories

Agents: Tool Use and Post-Training2 / 7

Chapter 192 / 7

Agents: Tool Use and Post-Training

Compute an agent success-rate metric over a list of trajectories

Easy
Target interface
agent_success_rate(trajectories)

Complete the starter code in the editor. Any correct approach is accepted.

Hints0 / 2
Reference solution
Your own code stays in the editor.