pub struct Report {
pub answers: Vec<Answer>,
pub transport_error: Option<String>,
pub wrong_family: Option<String>,
pub served_instead: Option<Vec<String>>,
}Expand description
2026-09-26: The outcome of a probe: what was asked, what came back, and whether it fit.
Fields§
§answers: Vec<Answer>§transport_error: Option<String>2026-09-26: Set when a question’s request failed (http::chat_stream
returned an error). Reported with its own wording, not as a wrong answer.
wrong_family: Option<String>2026-09-26: Set when the served model is not one the benchmark is
defined on. Distinct from served_instead: the name may be exactly
what was asked for and still be outside the benchmark’s families.
served_instead: Option<Vec<String>>2026-09-26: What /v1/models lists, when the requested model is not
among them. Only this catches a wrong model name: the server answers a
chat completion for a name it does not serve with its live model
(api::chat; with --auto-swap a catalogue name loads first), so the
questions cannot see the mistake.
Implementations§
Source§impl Report
impl Report
Sourcepub fn is_clean(&self) -> bool
pub fn is_clean(&self) -> bool
2026-09-26: True when every check passed and no other field is set.
Sourcepub fn concern(&self, target: &TargetEndpoint) -> Option<String>
pub fn concern(&self, target: &TargetEndpoint) -> Option<String>
2026-09-26: One message naming the most important thing wrong, or
None when nothing is. Priority: transport error, wrong family, wrong
or missing model, then failed answers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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