Struct Stability Thresholds

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub struct StabilityThresholds {
    pub stable_threshold: f64,
    pub semi_stable_threshold: f64,
    pub min_observations_for_full_confidence: u32,
}

Thresholds controlling prompt-block stability classification.

Fields

stable_threshold: f64

Minimum effective score required for a block to be classified as stable.

semi_stable_threshold: f64

Minimum effective score required for a block to be classified as semi-stable.

min_observations_for_full_confidence: u32

Observation count required to reach full confidence.

Trait Implementations

impl Clone for StabilityThresholds

impl Clone for StabilityThresholds

clone

fn clone(&self) -> StabilityThresholds

clone_from

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

impl Debug for StabilityThresholds

impl Debug for StabilityThresholds

fmt

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

impl Default for StabilityThresholds

impl Default for StabilityThresholds

default

fn default() -> Self

impl<'de> Deserialize<'de> for StabilityThresholds

impl<'de> Deserialize<'de> for StabilityThresholds

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl EditorConfig for StabilityThresholds

impl EditorConfig for StabilityThresholds

editor_schema

fn editor_schema() -> &'static EditorSchema

impl PartialEq for StabilityThresholds

impl PartialEq for StabilityThresholds

eq

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

ne

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

impl Serialize for StabilityThresholds

impl Serialize for StabilityThresholds

serialize

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

impl StructuralPartialEq for StabilityThresholds

impl StructuralPartialEq for StabilityThresholds