pub enum DivergenceKind {
Style,
Decision,
Structural,
}Expand description
Classification of the first divergence between two traces.
Serialises with a consistent _drift suffix across Rust’s label(),
serde JSON output, and Python-side string representation so the same
value appears identically everywhere a consumer might see it.
Variants§
Style
Cosmetic wording only: semantic similarity high, tool shape identical, stop reason identical. Safe-to-merge signal, usually.
Decision
Same structure, different decision: arg values differ, refusal flipped, or final-answer semantics shifted meaningfully.
Structural
Tool-call sequence differs: insertion, deletion, or reorder. This is almost always a real behavioural regression.
Implementations§
Trait Implementations§
Source§impl Clone for DivergenceKind
impl Clone for DivergenceKind
Source§fn clone(&self) -> DivergenceKind
fn clone(&self) -> DivergenceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DivergenceKind
impl Debug for DivergenceKind
Source§impl<'de> Deserialize<'de> for DivergenceKind
impl<'de> Deserialize<'de> for DivergenceKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DivergenceKind
impl Hash for DivergenceKind
Source§impl PartialEq for DivergenceKind
impl PartialEq for DivergenceKind
Source§fn eq(&self, other: &DivergenceKind) -> bool
fn eq(&self, other: &DivergenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DivergenceKind
impl Serialize for DivergenceKind
impl Copy for DivergenceKind
impl Eq for DivergenceKind
impl StructuralPartialEq for DivergenceKind
Auto Trait Implementations§
impl Freeze for DivergenceKind
impl RefUnwindSafe for DivergenceKind
impl Send for DivergenceKind
impl Sync for DivergenceKind
impl Unpin for DivergenceKind
impl UnsafeUnpin for DivergenceKind
impl UnwindSafe for DivergenceKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.