pub async fn user_has_manual_completion_in_course(
conn: &mut PgConnection,
user_id: Uuid,
course_id: Uuid,
) -> ModelResult<bool>Expand description
True if the user has at least one non-deleted, teacher-granted (manual) completion in the course. A manual completion means a teacher vouched for the student, which exempts them from automatic cheating suspicion for the whole course.