pub struct CalibrationReport {
pub n_pairs: usize,
pub conformal: ConformalResult,
pub empirical_served_failure: f64,
pub n_served: usize,
}Expand description
The result of calibrating a conformal threshold against real deferred feedback.
Fields§
§n_pairs: usizeNumber of (score, correct) pairs calibration ran on — one per trace with at least one
deferred verdict recorded.
conformal: ConformalResultThe conformal calibration result (threshold, feasibility, calibration risk).
empirical_served_failure: f64Empirical served-failure rate at conformal.threshold, measured on the same pairs used
to calibrate (a sanity check, not a held-out estimate — the proxy doesn’t yet split
feedback into separate calibration/test batches).
n_served: usizeHow many pairs would be served at the calibrated threshold.
Implementations§
Trait Implementations§
Source§impl Clone for CalibrationReport
impl Clone for CalibrationReport
Source§fn clone(&self) -> CalibrationReport
fn clone(&self) -> CalibrationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CalibrationReport
impl RefUnwindSafe for CalibrationReport
impl Send for CalibrationReport
impl Sync for CalibrationReport
impl Unpin for CalibrationReport
impl UnsafeUnpin for CalibrationReport
impl UnwindSafe for CalibrationReport
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