Skip to main content

considerations_for_context

Function considerations_for_context 

Source
pub fn considerations_for_context(
    subject: &SubjectKnowledgeContext,
    pack: &[KnowledgeContextEdge],
    live_topics: &[String],
) -> Vec<KnowledgeConsideration>
Expand description

Match the person’s context against a pack. Empty pack or no matching tokens → no considerations (honest empty, not a guess). Every hit is a EpistemicStatus::Hypothesis.

live_topics filters to issues already on the graph (MONDO / drug / UniProt slugs). Empty means “show every matching edge” (education / any-person study).