Skip to main content

diff

Function diff 

Source
pub fn diff(
    recorded: &[RecordedCall],
    replayed: &[ToolCallTrace],
) -> Vec<Divergence>
Expand description

Compare a replayed trace against its recording, call by call.

Positional rather than set-based on purpose: the order tools are called in is the trajectory. A run that reads the same four files in a different order made different decisions, and a set comparison would call them equal.