Skip to main content

resolve_alpha

Function resolve_alpha 

Source
pub fn resolve_alpha(query: &str, alpha: Option<f32>) -> f32
Expand description

Return the semantic blend weight, optionally overriding by caller.

alpha = Some(w) returns w directly. alpha = None auto-detects from the query: bare symbol-shaped → ALPHA_SYMBOL, otherwise ALPHA_NL.