Skip to main content

plan_learn

Function plan_learn 

Source
pub fn plan_learn(
    knowledge: &ProjectKnowledge,
    repo: &ResearchContextDocumentV1,
    since: Option<UtcDateTime>,
    limit: usize,
    run: &mut CaptureRun<'_>,
) -> LearnPlan
Expand description

Plan the facts learned after since (and those waiting for their commit) that pass the capture gate and the repo does not hold yet, at most limit of them (oldest first).