Skip to content

Commit

Permalink
Update is_included in head on collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
atalyaalon authored Dec 19, 2024
1 parent 4018f0e commit b513183
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def is_included(self) -> bool:
else:
raise ValueError
all_total = all_h2h + all_others # pylint: disable=E0606
return segment_h2h > 1 and (segment_h2h / segment_total) > all_h2h / all_total
return segment_h2h > 1 and (segment_h2h / segment_total) > 2 * all_h2h / all_total


# adding calls to _() for pybabel extraction
Expand Down

0 comments on commit b513183

Please sign in to comment.