pub struct Report { /* private fields */ }Expand description
A scored batch, retaining answers, decisions and observed latency.
Implementations§
Source§impl Report
impl Report
Sourcepub fn questions(&self) -> &IndexMap<String, QuestionStats>
pub fn questions(&self) -> &IndexMap<String, QuestionStats>
Metrics per question, in question order.
Sourcepub fn latencies_ms(&self) -> &[f64]
pub fn latencies_ms(&self) -> &[f64]
Per-call latencies; excludes time waiting for a runner concurrency slot.
Sourcepub fn answers(&self) -> &[Answers] ⓘ
pub fn answers(&self) -> &[Answers] ⓘ
Full answers for every case, including unlabeled questions.
Sourcepub fn decisions(&self) -> &[IndexMap<String, Option<Decision>>]
pub fn decisions(&self) -> &[IndexMap<String, Option<Decision>>]
Discrete decisions for every case and question.
Sourcepub fn warmup_calls(&self) -> usize
pub fn warmup_calls(&self) -> usize
Extra provider calls made by runner warm-up; zero for purely scored data.
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 UnsafeUnpin for Report
impl UnwindSafe for Report
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