pub struct RankingSignals {
pub top1_margin: f32,
pub topk_score_spread: f32,
pub channel_agreement: Option<f32>,
pub source_diversity: f32,
pub dedup_count: usize,
}Fields§
§top1_margin: f32top-1 score minus top-2 score (0 if < 2 results).
topk_score_spread: f32top-1 score minus bottom-of-topk score.
channel_agreement: Option<f32>Already in trace; duplicated here for convenience.
source_diversity: f32Unique parent documents / total matches.
dedup_count: usizeCandidates dropped by text-hash deduplication.
Trait Implementations§
Source§impl Clone for RankingSignals
impl Clone for RankingSignals
Source§impl Debug for RankingSignals
impl Debug for RankingSignals
Auto Trait Implementations§
impl Freeze for RankingSignals
impl RefUnwindSafe for RankingSignals
impl Send for RankingSignals
impl Sync for RankingSignals
impl Unpin for RankingSignals
impl UnsafeUnpin for RankingSignals
impl UnwindSafe for RankingSignals
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,
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