Skip to main content

FindingState

Enum FindingState 

Source
pub enum FindingState {
    Open,
    Established,
    Refuted,
    Contested,
    Fragile,
}
Expand description

The product-facing state of a finding (memo §6) — Plane 2 of the four status planes (see docs/THEORY.md Part II §24): distinct from the cross-source resolution words (Plane 1), the Belnap/bilattice epistemic status (Plane 3), and the review-lifecycle signals (Plane 4). A pure, derived classification of a finding’s review verdict + confidence into the five words the platform speaks — never persisted, recomputed on read. Refuted/Contested are live disagreement; Fragile is established but thin; Established is accepted with real support; Open is the default working state. State is orthogonal to the verifier gate: it reads the review verdict, not the trust gate, and never collapses to green/red (§8).

Variants§

§

Open

§

Established

§

Refuted

§

Contested

§

Fragile

Implementations§

Source§

impl FindingState

Source

pub fn as_str(self) -> &'static str

Lowercase canonical string.

Source

pub fn derive(flags: &Flags, confidence: f64) -> Self

Derive a finding’s state from its review flags and confidence. Pure and total. Precedence, strongest disqualifier first:

  1. a rejected review verdict → Refuted;
  2. a contested/needs-revision verdict or the legacy contested flag → Contested;
  3. an accepted review verdict → Established, or Fragile when confidence sits below FRAGILE_CONFIDENCE (accepted but thin);
  4. everything else → Open.

Verifier-gate status is deliberately excluded. Verification and review authority are orthogonal planes: a frozen verifier can establish that its method accepted the claim, but only a review verdict can change this product-facing review state.

Source

pub fn of(flags: &Flags, confidence: f64) -> Self

Explicit verdict-only alias retained for callers that use the review plane directly.

Trait Implementations§

Source§

impl Clone for FindingState

Source§

fn clone(&self) -> FindingState

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for FindingState

Source§

impl Debug for FindingState

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for FindingState

Source§

impl PartialEq for FindingState

Source§

fn eq(&self, other: &FindingState) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for FindingState

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for FindingState

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V