Skip to main content

shuffle

Function shuffle 

Source
pub fn shuffle<T>(items: &mut [T], session: &str)
Expand description

A deterministic shuffle of items for session (Fisher-Yates on Rng): the order questions are shown in, so that no lesson always sits first (position bias).