Skip to content

Commit

Permalink
Merge pull request #2744 from data-for-change/2743-modify-head-on-col…
Browse files Browse the repository at this point in the history
…lisions-widget

Update is_included in head on collisions
  • Loading branch information
atalyaalon authored Dec 19, 2024
2 parents 4018f0e + b513183 commit dbe68e8
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 dbe68e8

Please sign in to comment.