Skip to content

Add fix and test for priority calculation #958

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

hellais
Copy link
Member

@hellais hellais commented May 9, 2025

  • Normalize the country_code to lowercase when matching the priority rules
  • Add tests to prevent regression

@LDiazN
Copy link
Contributor

LDiazN commented May 9, 2025

We have to apply it here as well:
https://github.com/ooni/backend/blob/master/ooniapi/services/ooniprobe/src/ooniprobe/prio.py#L44

and port the test as well. This is the ported version we want to push as soon as the clickhouse migration is finished

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.

2 participants