MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / why_matched

Function why_matched

atomic-cli/src/commands/vault/context.rs:635–642  ·  view source on GitHub ↗
(candidate: &CandidateScore)

Source from the content-addressed store, hash-verified

633}
634
635fn why_matched(candidate: &CandidateScore) -> &'static str {
636 match (candidate.base > 0.0, candidate.neighbor) {
637 (true, true) => "task terms and knowledge-graph relationship",
638 (true, false) => "task terms",
639 (false, true) => "knowledge-graph relationship",
640 (false, false) => "recent-memory fallback",
641 }
642}
643
644// Node id <-> vault path mapping
645//

Callers 1

resolve_and_rankFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected