Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

0.44 Fix prioritization #264

Merged
merged 13 commits into from Sep 3, 2021
Merged

0.44 Fix prioritization #264

merged 13 commits into from Sep 3, 2021

Conversation

FedericoCeratto
Copy link
Contributor

@FedericoCeratto FedericoCeratto commented Aug 26, 2021

  • Bugfix
  • Add ability to disable an URL or category completely by setting a very low negative priority
  • Improve testing

): Path("url_priorities_us.json"),
}


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these tests are based on deterministic database dumps, perhaps we can also add a check which verifies that the sorting of the returned URLs matches the expected result (i.e. the priorities are in fact being respected)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Member

@hellais hellais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the diff and it looks good to me. I left a couple of comments for improvements that can either be done as part of this PR or as future work.

@FedericoCeratto FedericoCeratto merged commit c5f1623 into master Sep 3, 2021
@FedericoCeratto FedericoCeratto deleted the fix-prio branch September 3, 2021 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants