Validate prioritizes label types based on need, other Validate fixes #3515
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #2530
Fixes #3513
This PR ends up doing a few related things since they came up while I was already working on this...
As an example, I tested on my Seattle db dump, and the probabilities for the various label types were: 48% Curb Ramp, 15% Missing Curb Ramp, 9% Obstacle, 21.5% Surface Problem, 3.5% Crosswalk, and 3% Pedestrian Signal. We'll be validating a lot of curb ramps for awhile here while we catch up!
100 / (1 + validation_count)
. I've adjusted this to consider how far we are from consensus instead of how far we are from having no validations:100 / (1 + abs(agree_count - disagree_count))
.Before/After screenshots (if applicable)
Here are screenshots of the changes to Admin Validate. The others don't really have screenshots to show.


Things to check before submitting the PR