openelections / openelections-data-ca

Pre-processed election results for California elections
MIT License
13 stars 17 forks source link

Add write-in candidates for 2016 Primary Humboldt Precinct data #248

Closed carbonphyber closed 2 years ago

carbonphyber commented 2 years ago

Add write-in candidates for 2016 Primary Humboldt Precinct data

Data gathered from Final Canvass of that election

Should fix #80

carbonphyber commented 2 years ago

Confirmed this test is no longer failing after the PR:

_ test_data[2016-0607-primary] [2016/counties/20160607__ca__primary__humboldt__precinct.csv] _
tests/test_data.py:45: in test_data
    assert state_cmp.to_dict()['votes'] == county_data.to_dict()[
E   AssertionError: Humboldt failed
E   assert {('Alan Spear...ent'): 8, ...} == {('Alan Spear...t'): 514, ...}
E     Omitting 79 identical items, use -vv to show
E     Left contains 2 more items:
E     {('Andrew Augustine Caffrey', 'Humboldt', 2.0, 'U.S. House'): 3,
E      ('Ken Anton', 'Humboldt', 2.0, 'State Assembly'): 20}
E     Use -v to get the full diff