Skip to main content

NegativeResultKind

Enum NegativeResultKind 

Source
pub enum NegativeResultKind {
    RegisteredTrial {
        endpoint: String,
        intervention: String,
        comparator: String,
        population: String,
        n_enrolled: u32,
        power: f64,
        effect_size_ci: (f64, f64),
        effect_size_threshold: Option<f64>,
        registry_id: Option<String>,
    },
    Exploratory {
        reagent: String,
        observation: String,
        attempts: u32,
    },
}
Expand description

v0.49: NegativeResult as a first-class kernel object.

The essay-driven primitive: when an experiment or trial does not support its hypothesis, the substrate has to be able to record what was tried, in what context, with what observed outcome — without silently flipping the corresponding finding’s confidence. Two shapes carry the depositor’s intent:

  • RegisteredTrial: pre-registered trial reads out negative on its primary endpoint. Carries power and effect_size_ci so a downstream reader can tell an informative null (CI tightly bounded around zero, adequate power) from an uninformative one (wide CI, low power) — the distinction the essay calls out: “an underpowered null does not poison downstream confidence.”
  • Exploratory: wet-lab dead end. Most failures here cannot be statistically bounded; the substrate’s first job is capturing the (reagent, condition, observed outcome) tuple so the next chemist designing a similar synthesis sees the dead end before she runs the experiment.

vnr_<id> is content-addressed over the canonical preimage of the kind-specific fields plus deposited_by and created. NegativeResults link to the findings they bear against via target_findings; review and retraction follow the same proposal -> canonical event -> reducer pipeline as findings.

Variants§

§

RegisteredTrial

Pre-registered trial whose primary endpoint read out negative.

Fields

§endpoint: String

Pre-specified primary endpoint (e.g., “CDR-SB change at 18 months”).

§intervention: String

Intervention arm description (drug + dose, device + protocol, etc.).

§comparator: String

Comparator arm description (placebo, active control, standard of care).

§population: String

Population scope: indication, stage, age range, biomarker eligibility.

§n_enrolled: u32

Number of participants enrolled (any arm).

§power: f64

Statistical power for the primary endpoint, on [0, 1]. Below 0.8 is the “underpowered null” the essay warns about; this field is what lets a downstream reader distinguish that case from an adequately-powered null.

§effect_size_ci: (f64, f64)

Confidence interval for the observed primary effect size, (lower, upper) in the trial’s reported units. A CI tightly bracketing zero with adequate power is an informative null; a wide CI under low power is not.

§effect_size_threshold: Option<f64>

Pre-registered minimum effect size of interest, in the same units as effect_size_ci. When the CI excludes this threshold, the null is a positive epistemic claim about the absence of clinically meaningful effect. None when no pre-registered MCID was declared.

§registry_id: Option<String>

Trial registry id (e.g., “NCT04532333”). Strongly preferred; the registry id is the load-bearing audit trail.

§

Exploratory

Exploratory wet-lab failure. Captures the (reagent, condition, observed outcome) tuple even when no statistical bound applies.

Fields

§reagent: String

Reagent, compound, vector, or perturbation tried.

§observation: String

Free-text observed outcome (e.g., “no measurable expression”, “yields plateau at 6%”, “cytotoxicity at all tested doses”).

§attempts: u32

Number of independent attempts whose outcome agreed. Single attempts are fine but should be honest about it.

Implementations§

Source§

impl NegativeResultKind

Source

pub fn canonical(&self) -> String

Compact canonical representation used in the content-address preimage. Stable across protocol versions — adding a new kind must not change existing kinds’ canonical strings.

Trait Implementations§

Source§

impl Clone for NegativeResultKind

Source§

fn clone(&self) -> NegativeResultKind

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 Debug for NegativeResultKind

Source§

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

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

impl<'de> Deserialize<'de> for NegativeResultKind

Source§

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 Serialize for NegativeResultKind

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

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<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
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

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,