Currently, duplicate Results within a single SarifFile are excluded from the SarifFile objects created by sarif.py. Results that are duplicated across SARIF files are not currently checked.
To implement:
Compare results that match the same Artifact and Region (line+Optional[column] numbers).
a. If they match the same ruleId, report and discard one (which?)
b. If they don't, we should inspect and determine whether they report the same issue. If they do, create a grouping that correlates those rules with each other.
This is now partially implemented in sarif_helpers:find_duplicate_results. However, ruleId is not checked, only matching Artifact and Region fields for Results.
Currently, duplicate Results within a single SarifFile are excluded from the SarifFile objects created by sarif.py. Results that are duplicated across SARIF files are not currently checked.
To implement: