Closed drdavella closed 5 days ago
Avoid duplicating preexisting findings when processing multiple (potentially duplicate) SARIF files for a given tool
IndexedSet
ResultSet
Result
frozen
list
tuple
Failed conditions 22.0% Duplication on New Code (required ≤ 3%)
See analysis details on SonarQube Cloud
Overview
Avoid duplicating preexisting findings when processing multiple (potentially duplicate) SARIF files for a given tool
Description
IndexedSet
to enforce uniqueness when combiningResultSet
sIndexedSet
preserves ordering 👍Result
type needs to be hashable. This required the following changesfrozen
datatypesfrozen
pydantic classeslist
(not hashable) in these types withtuple
(hashable)