crossRepoShortlist
crossRepoShortlist(
rules,max):object
Defined in: src/merge-suggest.ts:427
Cheap programmatic shortlist for the cross-repo pass: keep only rules that have a
near-twin in a DIFFERENT repo (a recurrence is impossible for a rule unique to one repo).
Exact normalized-text match OR token-set Jaccard ≥ 0.6 across repos qualifies. Caps the
result at max, reporting how many were dropped (no silent truncation).
Parameters
Section titled “Parameters”Learning[]
number
Returns
Section titled “Returns”object
dropped
Section titled “dropped”dropped:
number
shortlist
Section titled “shortlist”shortlist:
Learning[]