#[non_exhaustive]pub struct JudgeRecord {
pub workflow: String,
pub fingerprint: String,
pub verdict: Option<Verdict>,
pub score: Option<f64>,
pub reasoning: Option<String>,
pub run_id: String,
pub latency_ms: u64,
pub usage: Usage,
}Expand description
What a judge decided, recorded with the assertion result.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workflow: StringThe judge workflow file.
fingerprint: StringIts graphrt.workflow.fingerprint: changes whenever the judge’s prompt,
model or schema does.
verdict: Option<Verdict>§score: Option<f64>§reasoning: Option<String>§run_id: String§latency_ms: u64§usage: UsageTrait Implementations§
Source§impl Clone for JudgeRecord
impl Clone for JudgeRecord
Source§impl Debug for JudgeRecord
impl Debug for JudgeRecord
Source§impl Default for JudgeRecord
impl Default for JudgeRecord
Source§impl<'de> Deserialize<'de> for JudgeRecord
impl<'de> Deserialize<'de> for JudgeRecord
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 PartialEq for JudgeRecord
impl PartialEq for JudgeRecord
Source§impl Serialize for JudgeRecord
impl Serialize for JudgeRecord
impl StructuralPartialEq for JudgeRecord
Auto Trait Implementations§
impl Forget for JudgeRecord
impl Freeze for JudgeRecord
impl Move for JudgeRecord
impl RefUnwindSafe for JudgeRecord
impl Send for JudgeRecord
impl Sync for JudgeRecord
impl Unpin for JudgeRecord
impl UnsafeUnpin for JudgeRecord
impl UnwindSafe for JudgeRecord
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