Nous.Eval.Simulator.Scorers.Tools (nous v0.21.1)

Copy Markdown View Source

Checks the episode's tool use against the case's expected.tools ("sim.tools"): no forbidden tool executed, and every required tool executed at least once, anywhere in the run tree (sub-agents included), over all turns.

A call counts once it executed (outcome :executed); a call a hook or an approval denied did not run, and is listed in details["attempts"]. Required tools are opt-in: many conversations reach the same end state along different tool paths.

Attached to simulated cases by Nous.Eval.Simulator; it takes no options. How the episode ended is decided first, as for every simulation scorer (see "Termination" in Nous.Eval.Simulator). Passing on a truncated trace is a :missing_trace error: the missing tail may hold the call.