pub fn generate(
files: &[FileFeatures],
config: &NearMatchConfig,
) -> NearMatchSetExpand description
Generate near-match candidate unit pairs across files.
The result is a pure function of the input: the MinHash permutations are
fixed, LSH bucketing is deterministic, and the emitted pairs are sorted, so
file order only moves the file indices inside the unit references.