pub struct ReviewCoverage {
pub total: usize,
pub flagged: usize,
pub review_fraction: f32,
}Expand description
The quantified review saving: of total segments, flagged need a look, so
a reviewer reads review_fraction of the document (§13 measurement).
Serializable so a machine consumer reports the figure as structure, not prose
(§0.2). review_fraction is flagged / total, or 0.0 for empty input.
Fields§
§total: usizeTotal aligned segments in the document.
flagged: usizeSegments flagged for review (needs_review or below-threshold
confidence) — the only ones review_targets surfaces.
review_fraction: f32flagged / total in 0..=1 (0.0 when total == 0): the fraction of
the document a reviewer actually reads. 1 - review_fraction is the read
that anchoring saved.
Trait Implementations§
Source§impl Clone for ReviewCoverage
impl Clone for ReviewCoverage
Source§fn clone(&self) -> ReviewCoverage
fn clone(&self) -> ReviewCoverage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReviewCoverage
Source§impl Debug for ReviewCoverage
impl Debug for ReviewCoverage
Source§impl<'de> Deserialize<'de> for ReviewCoverage
impl<'de> Deserialize<'de> for ReviewCoverage
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 PartialEq for ReviewCoverage
impl PartialEq for ReviewCoverage
Source§impl Serialize for ReviewCoverage
impl Serialize for ReviewCoverage
impl StructuralPartialEq for ReviewCoverage
Auto Trait Implementations§
impl Freeze for ReviewCoverage
impl RefUnwindSafe for ReviewCoverage
impl Send for ReviewCoverage
impl Sync for ReviewCoverage
impl Unpin for ReviewCoverage
impl UnsafeUnpin for ReviewCoverage
impl UnwindSafe for ReviewCoverage
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