Function analyze_stability
Function analyze_stability
Function analyze_stability
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub fn analyze_stability(
observations: &[PromptIR],
thresholds: &StabilityThresholds,
) -> StabilityAnalysisResult
Analyze prompt-block stability across multiple observations.
The analysis computes one stability score per span, ordered by the first sequence index at which that span appeared, and derives the length of the stable prefix at the start of the prompt.
observations: Prompt observations to compare.thresholds: Thresholds used for stability classification and confidence.A StabilityAnalysisResult summarizing span-level stability.