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

Output a dict of duplicate units and their counts #97

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

dmnapolitano
Copy link
Contributor

Description

Hi! The change in this PR modifies the exception thrown when there are duplicate reporting units to output a dictionary of those units and their counts. This should be helpful for debugging data and problems 👍🏻 Thanks!

Jira Ticket

Test Steps

Run the testbed with any data set known to contain duplicate units (e.g. python run.py 2020-11-03_USA_G redo --office_id P --geographic_unit_type county --pi_method bootstrap --estimands "['margin']" --features "['baseline_normalized_margin']" --fixed_effects "['county_classification']" --start_timestamp "2020-11-10 06:30:12-05:00").

@dmnapolitano dmnapolitano requested a review from a team as a code owner August 7, 2024 20:50
@dmnapolitano dmnapolitano merged commit 6069682 into develop Aug 12, 2024
3 checks passed
@dmnapolitano dmnapolitano deleted the display-duplicate-units branch August 12, 2024 15:05
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