The unique identifier for issues, a tuple consisting of identifier (rule name) and matched_coverage of all matches in that issue,
fails to separate unique issues in some cases of is_license_intro is True, because of the matched_coverage being 100 and the identifier a common unknown rule.
Solution:-
In cases where is_license_intro is True, add matched text in addition to the already existing identifier and matched_coverage attributes.
The unique identifier for issues, a tuple consisting of
identifier
(rule name) andmatched_coverage
of all matches in that issue, fails to separate unique issues in some cases ofis_license_intro
is True, because of thematched_coverage
being 100 and the identifier a common unknown rule.Solution:- In cases where
is_license_intro
is True, addmatched text
in addition to the already existingidentifier
andmatched_coverage
attributes.