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

HCP EP2024 #13

Merged
merged 33 commits into from
Apr 26, 2024
Merged

HCP EP2024 #13

merged 33 commits into from
Apr 26, 2024

Conversation

chrismostert
Copy link
Contributor

Main changes

  • Implemented check for potentially switched candidates
    • Added votes per candidate to the parsed data
    • Added neighbourhood data to be able to compare polling stations at a lower regional level (by using zip code in the EML)
    • Implemented check according to the cbs report
  • Changed threshold values for new version of 'controleprotocol', where we check the difference between admitted voters and cast votes based on both the absolute value and the percentage
  • Added additional test cases for new functionality and to make sure that the new Na31-1 and Na31-2 are compatible
  • Implemented a textual summary for each row in the output for TopDesk import

- Moved all checking logic to protocol_checks instead of eml class
- Made the switched candidate check one 'public' function with name which corresponds with other checks (prefix check_) and made all other helper functions 'private', i.e. with prefix _get
It is more pure to just hand the data, which is loaded in main, to the run_protocol function instead of doing the preprocessing in main
This is to prevent potential confusion
@chrismostert chrismostert merged commit 7348582 into master Apr 26, 2024
1 check passed
@chrismostert chrismostert deleted the EP2024 branch April 29, 2024 07:26
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