Skip to main content

validate_tracking_cf

Function validate_tracking_cf 

Source
pub fn validate_tracking_cf(value: f64, source: &str) -> Result<(), String>
Expand description

MBA-1358: a scope tracking correction factor must be strictly between 0.5 and 1.5. Values outside that band mean the tall-target test (or a hand edit) went wrong — a real scope does not mistrack by 50% — so they are a hard error naming the offending field/flag rather than a silently applied scale. The band itself lives in the shared crate::adjustment::tracking_cf_in_range so the WASM terminal enforces the identical bound.