pub struct CriterionEstimate {
pub option: String,
pub criterion: String,
pub question_id: String,
pub score: Option<f64>,
pub engine: String,
pub calibrated: bool,
pub reason: Option<String>,
}Expand description
One criterion an engine was asked to estimate for one option.
Fields§
§option: String§criterion: String§question_id: StringQuestion id in the engine request: o{option index}_c{criterion index}.
score: Option<f64>Normalized score in [0, 1], or None when the engine abstained.
engine: Stringmodel:<engine>@<version>.
calibrated: boolAlways false: the kernel does not calibrate engine estimates (see hikmah calibration).
reason: Option<String>Why there is no score.
Trait Implementations§
Source§impl Clone for CriterionEstimate
impl Clone for CriterionEstimate
Source§impl Debug for CriterionEstimate
impl Debug for CriterionEstimate
Auto Trait Implementations§
impl Freeze for CriterionEstimate
impl RefUnwindSafe for CriterionEstimate
impl Send for CriterionEstimate
impl Sync for CriterionEstimate
impl Unpin for CriterionEstimate
impl UnsafeUnpin for CriterionEstimate
impl UnwindSafe for CriterionEstimate
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