pub struct ReasonTraceWalk {
pub considered: Vec<ReasonTraceEdgeCandidate>,
pub dropped_by_edge_kind: Vec<ReasonTraceEdgeCandidate>,
pub dropped_by_tombstone: Vec<ReasonTraceIdWithText>,
pub dropped_by_visited: Vec<ReasonTraceIdWithText>,
pub dropped_by_confidence: Vec<ReasonTraceScoredId>,
pub dropped_by_max_supporting: Vec<ReasonTraceIdWithText>,
pub dropped_by_max_contradicting: Vec<ReasonTraceIdWithText>,
}Expand description
Everything the outward evidence walk considered and every reason an edge
or item was pruned before becoming a surviving InferenceStep.
Fields§
§considered: Vec<ReasonTraceEdgeCandidate>Every edge the walk visited at each node, before any pruning — the
direct analogue of RecallTraceRetriever.candidates.
dropped_by_edge_kind: Vec<ReasonTraceEdgeCandidate>Edges pruned by the edge-kind filter.
dropped_by_tombstone: Vec<ReasonTraceIdWithText>Edges pruned because the target memory was tombstoned.
dropped_by_visited: Vec<ReasonTraceIdWithText>Edges pruned because the target memory was already visited.
dropped_by_confidence: Vec<ReasonTraceScoredId>Evidence items pruned by confidence_threshold.
dropped_by_max_supporting: Vec<ReasonTraceIdWithText>Supporting-evidence items dropped by the per-inference trim cap.
dropped_by_max_contradicting: Vec<ReasonTraceIdWithText>Contradicting-evidence items dropped by the per-inference trim cap.
Trait Implementations§
Source§impl Clone for ReasonTraceWalk
impl Clone for ReasonTraceWalk
Source§impl Debug for ReasonTraceWalk
impl Debug for ReasonTraceWalk
Source§impl<'de> Deserialize<'de> for ReasonTraceWalk
impl<'de> Deserialize<'de> for ReasonTraceWalk
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 PartialEq for ReasonTraceWalk
impl PartialEq for ReasonTraceWalk
Source§impl Serialize for ReasonTraceWalk
impl Serialize for ReasonTraceWalk
impl StructuralPartialEq for ReasonTraceWalk
Auto Trait Implementations§
impl Freeze for ReasonTraceWalk
impl RefUnwindSafe for ReasonTraceWalk
impl Send for ReasonTraceWalk
impl Sync for ReasonTraceWalk
impl Unpin for ReasonTraceWalk
impl UnsafeUnpin for ReasonTraceWalk
impl UnwindSafe for ReasonTraceWalk
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