Skip to main content

minimum_threshold_seconds

Function minimum_threshold_seconds 

Source
pub fn minimum_threshold_seconds(chapters: i64, exercises: i64) -> i32
Expand description

The smallest threshold (in seconds) a teacher may configure for a module of the given size: 0 for small (exempt) modules, otherwise MINIMUM_CHEATER_THRESHOLD_SECONDS.