Skip to content
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

Improve which sources are marked as "incompatible" #819

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

justvanrossum
Copy link
Collaborator

This attempts to find a more likely candidate for the reference source, based on the balance between compatible and incompatible sources. It's still a bi of a heuristic, but is deterministic, and should work well in most cases.

Example 1:

Example 2:

  • If among 5 sources 3 sources are compatible with each other, but not with the remaining two, which are also compatible with another, this will mark the set of two as the buggy ones, and not the set of three, regardless of the order of the sources.

This fixes #818.

@justvanrossum justvanrossum merged commit ed429c7 into main Sep 18, 2023
3 checks passed
@justvanrossum justvanrossum deleted the interpol-error-detect branch September 18, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source interpol compatibility uses default source as reference
1 participant