Function find_stable_prefix_length
Function find_stable_prefix_length
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub fn find_stable_prefix_length(scores: &[BlockStabilityScore]) -> usize
Count the number of leading scores classified as stable.
Parameters
scores: Span-level stability scores in prompt order.
Returns
The number of consecutive leading entries whose classification is StabilityClass::Stable.