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

Error handling #131

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Error handling #131

merged 3 commits into from
Nov 5, 2024

Conversation

jjcherian
Copy link
Collaborator

@jjcherian jjcherian commented Nov 5, 2024

Description

The data frame returned by versioned results is missing the est_correction column when there is an issue with the data.
This can result in a model failure if every unit is returned without an est_correction column in a state. "compute_correction_statistics" in BootstrapElectionModel.py will fail because df.est_correction.notnull() doesn't just return all null's, the attribute doesn't exist.

Jira Ticket

Test Steps

@jjcherian jjcherian requested a review from a team as a code owner November 5, 2024 19:18
Copy link
Contributor

@dmnapolitano dmnapolitano left a comment

Choose a reason for hiding this comment

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

Thanks for finding this! 🎉

@jjcherian jjcherian merged commit 7271656 into develop Nov 5, 2024
3 checks passed
@jjcherian jjcherian deleted the error-handling branch November 5, 2024 20:00
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