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

Add missing write-in records to San Diego 2016 Primary precinct file #251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carbonphyber
Copy link
Contributor

Add write-in records to 2016 Primary San Diego precinct file.

Closes #81

@carbonphyber carbonphyber force-pushed the fix-issue-81 branch 2 times, most recently from 0997478 to 6c11aef Compare February 23, 2022 20:09
@carbonphyber
Copy link
Contributor Author

Confirmed this MR fixed this formerly broken unit test:

_ test_data[2016-0607-primary] [2016/counties/20160607__ca__primary__san_diego__precinct.csv] _
tests/test_data.py:45: in test_data
    assert state_cmp.to_dict()['votes'] == county_data.to_dict()[
E   AssertionError: San Diego failed
E   assert {('Alan Spear...t'): 569, ...} == {('Alan Spear...t'): 195, ...}
E     Omitting 116 identical items, use -vv to show
E     Left contains 8 more items:
E     {('Andrew D. Basiago', 'San Diego', '', 'President'): 1,
E      ('Billy Falling', 'San Diego', '', 'U.S. Senate'): 66,
E      ('David P. Thomson', 'San Diego', '', 'President'): 3,
E      ('Ignació León Nuñez', 'San Diego', '', 'President'): 1,
E      ('Joann Breivogel', 'San Diego', '', 'President'): 1,
E      ('John Dowell', 'San Diego', '', 'President'): 2,
E      ('Thomas E Krouse', 'San Diego', 76.0, 'State Assembly'): 376,
E      ('Troy Hugh Southern', 'San Diego', '', 'President'): 1}
E     Use -v to get the full diff

@carbonphyber carbonphyber changed the title Draft: Add missing write-in records to San Diego 2016 Primary precinct file Add missing write-in records to San Diego 2016 Primary precinct file Feb 23, 2022
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.

2016 Primary Election San Diego test failure
1 participant