pub struct ElementVerdict {
pub element: InjectedElement,
pub token_cost: usize,
pub pass_rate_with: f64,
pub pass_rate_without: f64,
pub pass_rate_delta: f64,
pub verdict: Verdict,
pub prune_recommended: bool,
pub report: AbReport,
}Expand description
The per-element conclusion: cost, quality delta, verdict and prune recommendation.
Fields§
§element: InjectedElement§token_cost: usizeMarginal tokens this element adds to the full prefix.
pass_rate_with: f64Pass rate with the element present (the full arm).
pass_rate_without: f64Pass rate with the element removed.
pass_rate_delta: f64with − without — the element’s contribution to quality.
verdict: VerdictBootstrap-CI verdict of adding the element (Improved keeps it).
prune_recommended: boolElement costs tokens (≥ floor) without earning a quality improvement.
report: AbReportThe full paired A/B report (full vs. minus-element) for auditing.
Trait Implementations§
Source§impl Clone for ElementVerdict
impl Clone for ElementVerdict
Source§fn clone(&self) -> ElementVerdict
fn clone(&self) -> ElementVerdict
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 moreSource§impl Debug for ElementVerdict
impl Debug for ElementVerdict
Source§impl<'de> Deserialize<'de> for ElementVerdict
impl<'de> Deserialize<'de> for ElementVerdict
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
Auto Trait Implementations§
impl Freeze for ElementVerdict
impl RefUnwindSafe for ElementVerdict
impl Send for ElementVerdict
impl Sync for ElementVerdict
impl Unpin for ElementVerdict
impl UnsafeUnpin for ElementVerdict
impl UnwindSafe for ElementVerdict
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more