pub struct ScoreInputs {
pub lexical_match: f32,
pub brightness: f32,
pub domain_overlap: f32,
pub validation: f32,
pub authority_weight: f32,
pub contradiction_risk: f32,
pub staleness_penalty: f32,
}Expand description
Score inputs available for v0 retrieval.
Values are clamped to [0, 1] before weighting. Semantic similarity is
intentionally absent because v0 fixes it at 0 until embeddings exist.
Fields§
§lexical_match: f32Lexical match from lexical.rs.
brightness: f32Deterministic salience brightness.
domain_overlap: f32Domain overlap between query/task domains and memory domains.
validation: f32Outcome-bound validation signal.
Authority weight for the memory source.
contradiction_risk: f32Risk from unresolved contradictions.
staleness_penalty: f32Penalty for stale or unvalidated memory.
Trait Implementations§
Source§impl Clone for ScoreInputs
impl Clone for ScoreInputs
Source§fn clone(&self) -> ScoreInputs
fn clone(&self) -> ScoreInputs
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 ScoreInputs
impl Debug for ScoreInputs
Source§impl PartialEq for ScoreInputs
impl PartialEq for ScoreInputs
Source§fn eq(&self, other: &ScoreInputs) -> bool
fn eq(&self, other: &ScoreInputs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScoreInputs
impl StructuralPartialEq for ScoreInputs
Auto Trait Implementations§
impl Freeze for ScoreInputs
impl RefUnwindSafe for ScoreInputs
impl Send for ScoreInputs
impl Sync for ScoreInputs
impl Unpin for ScoreInputs
impl UnsafeUnpin for ScoreInputs
impl UnwindSafe for ScoreInputs
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