Function headless_lms_server::programs::seed::seed_helpers::create_best_peer_review
source · pub async fn create_best_peer_review(
conn: &mut PgConnection,
course_id: Uuid,
exercise_id: Uuid,
processing_strategy: PeerReviewProcessingStrategy,
accepting_threshold: f32,
points_are_all_or_nothing: bool,
peer_reviews_to_give: i32,
peer_reviews_to_receive: i32
) -> Result<()>