Skip to main content

early_pool

Function early_pool 

Source
pub fn early_pool<'a>(
    challenges: &'a [Challenge],
    context: &str,
    topics: &[String],
    done: &HashSet<&str>,
) -> Vec<(f64, &'a Challenge)>
Expand description

early’s pool of plain lessons before the slots: every on-topic lesson not done over RELATIVE × the best of them, with its score. Never a standing lesson: those need no match (standing_pool).