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

Update main vote analyzer to also handle special vote titles #1060

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

tillprochaska
Copy link
Collaborator

Until now, we’ve decided whether a vote is a main vote solely based on the description of a vote. However, in rare cases a main vote may not have description and only a title (e.g. in case of the election of the Commission). I’ve updated the analyzer to handle votes based on title in addition to the existing heuristic.

This is helpful not only in scraper tests, but for analyzers etc., too!
Until now, we’ve decided whether a vote is a main vote solely based on the description of a vote. However, in rare cases a main vote may not have description and only a title (e.g. in case of the election of the Commission). I’ve updated the analyzer to handle votes based on title in addition to the existing heuristic.
@tillprochaska tillprochaska merged commit 56dcf66 into main Nov 27, 2024
2 checks passed
@tillprochaska tillprochaska deleted the main-votes-based-on-title branch November 27, 2024 21:02
@linusha
Copy link
Collaborator

linusha commented Nov 28, 2024

Looks good! Danke!

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