pub struct Miss {
pub skill: String,
pub occurrences: usize,
pub near_miss: usize,
pub buried: usize,
pub absent: usize,
pub prompts: Vec<String>,
pub force_ready: bool,
pub keywords: Vec<String>,
}Expand description
A skill the model keeps finding on its own while ski stays silent, with the action(s) that would close the gap.
Fields§
§skill: String§occurrences: usizeTotal self-loads ski abstained or never surfaced on.
near_miss: usizeOf those, how many ski had ranked near the top (near-miss) vs ranked deep (buried) vs never retrieved at all (absent) — tells the user whether the gap is the gate or the retrieval.
buried: usize§absent: usize§prompts: Vec<String>Sample prompts the misses happened on (up to [MAX_PROMPTS]).
force_ready: boolWhether one of the skill’s existing keywords already appears in a missed
prompt — i.e. force = ["<skill>"] would have fired with no other change.
keywords: Vec<String>New keyword candidates mined from the missed prompts: content tokens recurring across them that the skill’s keywords/description don’t already carry. Empty when the misses share no vocabulary.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Miss
impl RefUnwindSafe for Miss
impl Send for Miss
impl Sync for Miss
impl Unpin for Miss
impl UnsafeUnpin for Miss
impl UnwindSafe for Miss
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> 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