pub fn sparse_threshold() -> f64Expand description
Minimum query-term coverage (as a percentage, 10..=90) a symbol must
reach before it receives any sparse bonus. Below this threshold the
bonus is 0.0. Between the threshold and 100% the bonus rises
linearly from 0.0 to sparse_max_bonus().
The default of 60 was a conservative first guess. An initial 4-arm
A/B on the 89-query self dataset found that the bonus never fired at
60 because most NL queries only share 1–2 discriminative tokens with
their target symbol’s name + name_path + signature corpus.
Override via CODELENS_RANK_SPARSE_THRESHOLD for tuning experiments.