pub struct SourceFidelityOracle {
pub requests: BTreeMap<(String, String), SourceRequestExpectation>,
pub compactions: BTreeMap<(String, String), CompactionMetadata>,
pub tools_by_class: BTreeMap<String, usize>,
pub paired_tools: usize,
pub tool_errors: usize,
pub child_links: usize,
pub background_tools: usize,
pub background_agents: usize,
pub background_completions_missing: usize,
pub background_titles: BTreeSet<(String, String)>,
pub unmatched_tool_calls: usize,
pub unmatched_tool_results: usize,
}Fields§
§requests: BTreeMap<(String, String), SourceRequestExpectation>§compactions: BTreeMap<(String, String), CompactionMetadata>§tools_by_class: BTreeMap<String, usize>§paired_tools: usize§tool_errors: usize§child_links: usize§background_tools: usize§background_agents: usize§background_completions_missing: usize§background_titles: BTreeSet<(String, String)>Distinct AI-title rows, which lack the timing and usage to replay as requests.
unmatched_tool_calls: usize§unmatched_tool_results: usizeImplementations§
Source§impl SourceFidelityOracle
impl SourceFidelityOracle
Sourcepub fn add_session(
&mut self,
trace_id: &str,
records: &[TraceRecord],
) -> Result<()>
pub fn add_session( &mut self, trace_id: &str, records: &[TraceRecord], ) -> Result<()>
Adds the expectations derived from one session’s source rows.
Trait Implementations§
Source§impl Clone for SourceFidelityOracle
impl Clone for SourceFidelityOracle
Source§impl Debug for SourceFidelityOracle
impl Debug for SourceFidelityOracle
Auto Trait Implementations§
impl Freeze for SourceFidelityOracle
impl RefUnwindSafe for SourceFidelityOracle
impl Send for SourceFidelityOracle
impl Sync for SourceFidelityOracle
impl Unpin for SourceFidelityOracle
impl UnsafeUnpin for SourceFidelityOracle
impl UnwindSafe for SourceFidelityOracle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more