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

Fix a set insertion bug in PFAR implementation #38

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

karlhigley
Copy link
Collaborator

As originally written, this was inserting generator expressions into the set and comparing them against topic names which never matched. That resulted in PFAR choosing articles that were all on the same topic, because it never found the candidate topics in the set of seen topics.

As originally written, this was inserting generator expressions into the set and comparing them against topic names which never matched. That resulted in PFAR choosing articles that were all on the same topic, because it never found the candidate topics in the set of seen topics.
@karlhigley karlhigley requested a review from sophiasun0515 June 24, 2024 16:31
@karlhigley karlhigley self-assigned this Jun 24, 2024
Copy link
Contributor

@sophiasun0515 sophiasun0515 left a comment

Choose a reason for hiding this comment

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

lgtm!

@karlhigley karlhigley merged commit be96b38 into main Jun 24, 2024
4 checks passed
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