Skip to main content

graded_without

Function graded_without 

Source
pub fn graded_without<'a>(
    applied: &[(&'a Challenge, u8)],
    cap: Option<usize>,
    had: &[String],
) -> (Vec<&'a Challenge>, Vec<&'a Challenge>)
Expand description

graded_capped for a session that already had the lessons had delivered (ids in any order, select.rs Ctx::had): such a lesson may still be asked, but never takes a free slot, which the delivery would drop as given before (hook.rs queued); the next 2 or 1 takes it. With had empty this is graded_capped, the rule every record before select.rs nofree was decided by.