data-for-change / anyway

ANYWAY - Car accidents map
http://www.anyway.co.il
MIT License
77 stars 244 forks source link

2604 location accuracy #2641

Closed ziv17 closed 6 months ago

ziv17 commented 6 months ago

Add location accuracy filter according to the current resolution. The addition is made in get_accidents_stats where possible.

atalyaalon commented 6 months ago

@ziv17 can you prod merge dev into this branch? I want to examine in the pr only the relevant changes for this issue

ziv17 commented 6 months ago

@ziv17 can you prod merge dev into this branch? I want to examine in the pr only the relevant changes for this issue

I rebased on top of upstream/dev.

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 88.77551% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 53.52%. Comparing base (400af13) to head (b26f4b2). Report is 21 commits behind head on dev.

Files Patch % Lines
...cident_type_vehicle_type_road_comparison_widget.py 42.85% 4 Missing :warning:
anyway/widgets/widget_utils.py 91.83% 4 Missing :warning:
...dgets/injured_accidents_with_pedestrians_widget.py 0.00% 2 Missing :warning:
...ed_and_injured_count_per_age_group_widget_utils.py 90.90% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #2641 +/- ## ========================================== + Coverage 53.22% 53.52% +0.30% ========================================== Files 119 119 Lines 9924 9956 +32 ========================================== + Hits 5282 5329 +47 + Misses 4642 4627 -15 ``` | [Flag](https://app.codecov.io/gh/data-for-change/anyway/pull/2641/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/data-for-change/anyway/pull/2641/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `53.52% <88.77%> (+0.30%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.