Skip to main content

model_solution_should_be_revealed

Function model_solution_should_be_revealed 

Source
fn model_solution_should_be_revealed(
    exercise: &Exercise,
    score_given: f32,
    slide_submission_count: i64,
) -> bool
Expand description

Mirrors the project-wide “solved” reveal rule (controllers/course_material/exercises.rs, domain/exercises.rs): full points, or the per-slide attempt limit exhausted.