pub enum RankedReasonCode {
Show 15 variants
ExactPath,
ExactName,
ReviewedPurpose,
Path,
Summary,
Symbol,
IndexedText,
PairedFile,
GraphPackage,
GraphImport,
GraphCall,
GraphReference,
GraphTest,
GraphRoute,
GraphConfig,
}Expand description
Compact deterministic reasons used by agent-facing repository ranking.
Variants§
ExactPath
The normalized query exactly selected the repository path.
ExactName
The normalized query exactly selected the final path component.
ReviewedPurpose
An agent-approved responsibility purpose matched the query.
Path
Repository path text contributed weaker lexical evidence.
Summary
Observed summary text contributed weaker lexical evidence.
Symbol
An indexed symbol contributed weaker lexical evidence.
IndexedText
Persisted source text contributed weaker lexical evidence.
PairedFile
A conventional source or test counterpart was present.
GraphPackage
Current package/dependency context contributed graph evidence.
GraphImport
Current import context contributed graph evidence.
GraphCall
Current call context contributed graph evidence.
GraphReference
Current reference context contributed graph evidence.
GraphTest
Current test context contributed graph evidence.
GraphRoute
Current route context contributed graph evidence.
GraphConfig
Current configuration context contributed graph evidence.
Trait Implementations§
Source§impl Clone for RankedReasonCode
impl Clone for RankedReasonCode
Source§fn clone(&self) -> RankedReasonCode
fn clone(&self) -> RankedReasonCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RankedReasonCode
impl Debug for RankedReasonCode
Source§impl<'de> Deserialize<'de> for RankedReasonCode
impl<'de> Deserialize<'de> for RankedReasonCode
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>,
Source§impl PartialEq for RankedReasonCode
impl PartialEq for RankedReasonCode
Source§impl Serialize for RankedReasonCode
impl Serialize for RankedReasonCode
impl Copy for RankedReasonCode
impl Eq for RankedReasonCode
impl StructuralPartialEq for RankedReasonCode
Auto Trait Implementations§
impl Freeze for RankedReasonCode
impl RefUnwindSafe for RankedReasonCode
impl Send for RankedReasonCode
impl Sync for RankedReasonCode
impl Unpin for RankedReasonCode
impl UnwindSafe for RankedReasonCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.