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§
Implementations§
Source§impl FindingState
impl FindingState
Sourcepub fn derive(flags: &Flags, confidence: f64, gate: Option<GateStatus>) -> Self
pub fn derive(flags: &Flags, confidence: f64, gate: Option<GateStatus>) -> Self
Derive a finding’s state from its flags + confidence + verifier gate. Pure and total. The gate is the substrate’s establishment signal on a verifier-gated frontier (most math findings carry no human “accept” but a passing frozen-verifier attachment), so it is folded in alongside the review verdict. Precedence, strongest disqualifier first:
- an adversarial probe refuted the claim (
gate == Refuted) →Refuted; - a rejected review verdict →
Refuted; - a contested/needs-revision verdict or the legacy
contestedflag →Contested; - the verifier gate passed →
Establishedunconditionally (a verified finding is not “thin ground”, so the confidence floor does not apply); - else an accepted review verdict →
Established, orFragilewhen confidence sits belowFRAGILE_CONFIDENCE(accepted but thin); - everything else →
Open.
gate is None when no gate was computed (e.g. a graph built without
attachment context); then only the review verdict drives the state.
Sourcepub fn of(flags: &Flags, confidence: f64) -> Self
pub fn of(flags: &Flags, confidence: f64) -> Self
Verdict-only state derivation (no verifier gate). Equivalent to
Self::derive with gate = None.
Trait Implementations§
Source§impl Clone for FindingState
impl Clone for FindingState
Source§fn clone(&self) -> FindingState
fn clone(&self) -> FindingState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for FindingState
Source§impl Debug for FindingState
impl Debug for FindingState
impl Eq for FindingState
Source§impl PartialEq for FindingState
impl PartialEq for FindingState
Source§impl Serialize for FindingState
impl Serialize for FindingState
impl StructuralPartialEq for FindingState
Auto Trait Implementations§
impl Freeze for FindingState
impl RefUnwindSafe for FindingState
impl Send for FindingState
impl Sync for FindingState
impl Unpin for FindingState
impl UnsafeUnpin for FindingState
impl UnwindSafe for FindingState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
key and return true if they are equal.