pub enum Stratum {
Clean,
NearMiss,
Permuted {
rotation: u32,
},
}Expand description
The difficulty/robustness stratum an item belongs to. Reported per stratum by the P0.2 measurement protocol.
Variants§
Clean
Base form of the item.
NearMiss
Adversarial near-miss form: near-miss arithmetic (±1, ×10 slips, transposed digits as distractors/claims), near-miss JSON (trailing commas, unquoted keys, single quotes), close distractors.
Permuted
Cyclic-permutation stratum (CircularEval precedent, S6b1): the same
choice item with options rotated by rotation positions; truth rotates
with the options. Applied to choice items only — score levels are
ordered (index = level is the semantics), so permuting them would
change the question, not the presentation. Noul has no options.
Implementations§
Trait Implementations§
impl Copy for Stratum
impl Eq for Stratum
impl StructuralPartialEq for Stratum
Auto Trait Implementations§
impl Freeze for Stratum
impl RefUnwindSafe for Stratum
impl Send for Stratum
impl Sync for Stratum
impl Unpin for Stratum
impl UnsafeUnpin for Stratum
impl UnwindSafe for Stratum
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.