pub enum PeerReviewProcessingStrategy {
AutomaticallyGradeByAverage,
AutomaticallyGradeOrManualReviewByAverage,
ManualReviewEverything,
}
Expand description
Determines how we will treat the answer being peer reviewed once it has received enough reviews and the student has given enough peer reviews.
Some strategies compare the overall received peer review likert answer (1-5) average to peer_reviews.accepting threshold.
Variants§
AutomaticallyGradeByAverage
If the average of the peer review likert answers is greater than the threshold, the peer review is accepted, otherwise it is rejected.
AutomaticallyGradeOrManualReviewByAverage
If the average of the peer review likert answers is greater than the threshold, the peer review is accepted, otherwise it is sent to be manually reviewed by the teacher.
ManualReviewEverything
All answers will be sent to be manually reviewed by the teacher once they have received and given enough peer reviews.
Trait Implementations§
source§impl Clone for PeerReviewProcessingStrategy
impl Clone for PeerReviewProcessingStrategy
source§fn clone(&self) -> PeerReviewProcessingStrategy
fn clone(&self) -> PeerReviewProcessingStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PeerReviewProcessingStrategy
impl Debug for PeerReviewProcessingStrategy
source§impl<'r> Decode<'r, Postgres> for PeerReviewProcessingStrategy
impl<'r> Decode<'r, Postgres> for PeerReviewProcessingStrategy
source§impl<'de> Deserialize<'de> for PeerReviewProcessingStrategy
impl<'de> Deserialize<'de> for PeerReviewProcessingStrategy
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'q, DB: Database> Encode<'q, DB> for PeerReviewProcessingStrategy
impl<'q, DB: Database> Encode<'q, DB> for PeerReviewProcessingStrategy
source§fn encode_by_ref(
&self,
buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
fn encode_by_ref( &self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer ) -> IsNull
fn size_hint(&self) -> usize
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
source§impl PartialEq for PeerReviewProcessingStrategy
impl PartialEq for PeerReviewProcessingStrategy
source§fn eq(&self, other: &PeerReviewProcessingStrategy) -> bool
fn eq(&self, other: &PeerReviewProcessingStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Type<Postgres> for PeerReviewProcessingStrategy
impl Type<Postgres> for PeerReviewProcessingStrategy
impl Copy for PeerReviewProcessingStrategy
impl Eq for PeerReviewProcessingStrategy
impl StructuralEq for PeerReviewProcessingStrategy
impl StructuralPartialEq for PeerReviewProcessingStrategy
Auto Trait Implementations§
impl RefUnwindSafe for PeerReviewProcessingStrategy
impl Send for PeerReviewProcessingStrategy
impl Sync for PeerReviewProcessingStrategy
impl Unpin for PeerReviewProcessingStrategy
impl UnwindSafe for PeerReviewProcessingStrategy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.