-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SinkIslandCheck] sink islands surrounded by pedestrian ways #227
Conversation
6a7dcb4
to
a1cd376
Compare
…las-checks into sinkIslandUpdates
config/configuration.json
Outdated
@@ -799,6 +799,7 @@ | |||
"SinkIslandCheck": { | |||
"tree.size": 50, | |||
"minimum.highway.type": "service", | |||
"filter.pedestrian.network": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the default config going to be true for "filter.pedestrian.network"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be false to maintain baseline outputs. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! What should we expect in terms of flag count changes?
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind updating the "pending more analysis note"? Thanks!
@danielduhh updated description with flag count expectations |
Description:
This PR does the following:
--Adds a switch to allow for candidate sink island edges (highway=service+ edges with valid accessibility tags) WITHOUT a motor_vehicle tag to be flagged if those candidate edges are surrounded by pedestrian ways.
--Ignores such candidate sink islands with motor_vehicle=yes tags that are surrounded by pedestrian ways.
Potential Impact:
With the switch on, we should expect to see more flags as a result of sink islands surrounded by pedestrian ways being flagged.
Regardless of the switch, we should anticipate some diffs to account for the fact that we now ignore sink islands with motor_vehicle=yes tags that are surrounded by pedestrian ways.
The check has a known nondeterminism issue that affects flag counts across runs. We estimate the effect on flags to be some additions with mirrored subtractions or just subtractions. Additions and mirrored subtractions means part of the Way was flagged in one run, and another part of the Way was flagged in another run, causing an addition and subtraction on the same Way. We are looking into ways to fix this.
Depending on country size, we can expect flag additions with some subtractions to be an added 20-30% flag count from baseline.
Unit Test Approach:
Added some new unit tests.
Test Results:
Tests pass