Skip to content

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).

Learning[]

number

object

dropped: number

shortlist: Learning[]