pub struct CaseReport {
pub name: String,
pub source: String,
pub grades: Vec<GradeResult>,
pub error: Option<String>,
}Expand description
The result of running a single eval case.
Fields§
§name: StringThe trace’s model_name.
source: StringThe fixture file name the case came from.
grades: Vec<GradeResult>Per-check grades.
error: Option<String>Set if the run itself errored (e.g. trace exhausted) — counts as a failure.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for CaseReport
impl Freeze for CaseReport
impl Move for CaseReport
impl RefUnwindSafe for CaseReport
impl Send for CaseReport
impl Sync for CaseReport
impl Unpin for CaseReport
impl UnsafeUnpin for CaseReport
impl UnwindSafe for CaseReport
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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