Struct Stability Analysis Result

View as Markdown

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

pub struct StabilityAnalysisResult {
    pub scores: Vec<BlockStabilityScore>,
    pub stable_prefix_length: usize,
    pub total_observations: u32,
}

Result of analyzing prompt stability across a set of observations.

Fields

scores: Vec<BlockStabilityScore>

Stability score for each distinct prompt span.

stable_prefix_length: usize

Number of leading blocks that were classified as stable.

total_observations: u32

Total number of observations included in the analysis.

Trait Implementations

impl Clone for StabilityAnalysisResult

impl Clone for StabilityAnalysisResult

clone

fn clone(&self) -> StabilityAnalysisResult

clone_from

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

impl Debug for StabilityAnalysisResult

impl Debug for StabilityAnalysisResult

fmt

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

impl<'de> Deserialize<'de> for StabilityAnalysisResult

impl<'de> Deserialize<'de> for StabilityAnalysisResult

deserialize

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

impl PartialEq for StabilityAnalysisResult

impl PartialEq for StabilityAnalysisResult

eq

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

ne

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

impl Serialize for StabilityAnalysisResult

impl Serialize for StabilityAnalysisResult

serialize

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

impl StructuralPartialEq for StabilityAnalysisResult

impl StructuralPartialEq for StabilityAnalysisResult