Skip to main content

verification_from_tool_loop

Function verification_from_tool_loop 

Source
pub fn verification_from_tool_loop(
    model_id: &str,
    outcome: &ToolLoopOutcome,
) -> ModelVerification
Expand description

Aggregate one tool-loop outcome into a ModelVerification (feedback 02 suite 40). The loop counts as one run: total_runs = 1, multi_turn_tool_success_rate is 1.0 when the loop converged, 0.0 otherwise; a non-converged loop is Failing with tool_loop_failures = 1 and the loop’s own FailureClass as sanitized evidence (no HTTP status, no excerpt - the loop carries no response body).