pub struct CaseRun {
pub case: String,
pub skill: String,
pub platform: String,
pub model: String,
pub passed: bool,
pub turns: usize,
pub evals: Vec<EvalOutcome>,
pub transcript: Transcript,
pub usage: Option<Usage>,
}Expand description
The result of running one test case on one (platform, model) pair.
Fields§
§case: StringThe test case name.
skill: StringAbsolute-ish path to the skill that was exercised.
platform: StringThe harness platform this run used.
model: StringThe model this run used.
passed: boolTrue iff every eval in this run passed.
turns: usizeNumber of assistant turns produced.
evals: Vec<EvalOutcome>Per-eval outcomes, in declaration order.
transcript: TranscriptThe full conversation, for debugging and deterministic mix-in checks.
usage: Option<Usage>Aggregated token/cost usage across every provider call in this run (skill turns + simulated-user turns + judge calls). Omitted when no usage was reported (e.g. the fake provider or a harness that doesn’t surface usage).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CaseRun
impl<'de> Deserialize<'de> for CaseRun
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 JsonSchema for CaseRun
impl JsonSchema for CaseRun
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for CaseRun
Auto Trait Implementations§
impl Freeze for CaseRun
impl RefUnwindSafe for CaseRun
impl Send for CaseRun
impl Sync for CaseRun
impl Unpin for CaseRun
impl UnsafeUnpin for CaseRun
impl UnwindSafe for CaseRun
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