pub fn span_identifier_jaccard(
files: &[SyntaxIrFile],
canonical: SourceTokenSpan,
corresponding: impl IntoIterator<Item = SourceTokenSpan>,
) -> f64Expand description
The weakest raw identifier-set agreement between a canonical span and its corresponding spans.
This is reporting and triage evidence only. In particular, a duplicated run may have exact normalized content while this value is low because its names differ; the value is a proxy for whether a shared refactoring target may exist, not a similarity measurement and never an input to detection or grouping.