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

Cattaraugus 2020 general errors #118

Open
dwillis opened this issue Oct 7, 2021 · 0 comments
Open

Cattaraugus 2020 general errors #118

dwillis opened this issue Oct 7, 2021 · 0 comments
Assignees

Comments

@dwillis
Copy link
Contributor

dwillis commented Oct 7, 2021

Looks like there may be a reversal of column headers. I'll check into it.

Traceback (most recent call last):
  File "/home/runner/work/openelections-data-ny/openelections-data-ny/data_tests/data_tests/test_data.py", line 130, in test_vote_method_totals
    self._assertTrue(data_test.passed, f"{self} [{short_path}]", short_message, full_message)
  File "/home/runner/work/openelections-data-ny/openelections-data-ny/data_tests/data_tests/test_data.py", line 34, in _assertTrue
    self.assertTrue(result, short_message)
AssertionError: False is not true : There are 166 rows where the sum of ['absentee'] is greater than 'votes':

	Headers: ['county', 'precinct', 'office', 'district', 'candidate', 'party', 'votes', 'absentee']:
	Row 50: ['Cattaraugus', 'Red House', 'Ballots Cast', '', '', '', '21', '63']
	Row 62: ['Cattaraugus', 'Allegany District 2', 'President', '', 'Joseph R. Biden', 'DEM', '57', '79']
	Row 95: ['Cattaraugus', 'Great Valley 2', 'President', '', 'Joseph R. Biden', 'DEM', '115', '116']
	Row 97: ['Cattaraugus', 'Humphrey', 'President', '', 'Joseph R. Biden', 'DEM', '62', '76']
	Row 98: ['Cattaraugus', 'Ischua', 'President', '', 'Joseph R. Biden', 'DEM', '62', '86']
	Row 99: ['Cattaraugus', 'Leon', 'President', '', 'Joseph R. Biden', 'DEM', '37', '85']
	Row 100: ['Cattaraugus', 'Little Valley', 'President', '', 'Joseph R. Biden', 'DEM', '74', '85']
	Row 103: ['Cattaraugus', 'Mansfield', 'President', '', 'Joseph R. Biden', 'DEM', '49', '62']
	Row 113: ['Cattaraugus', 'Red House', 'President', '', 'Joseph R. Biden', 'DEM', '4', '39']
	Row 114: ['Cattaraugus', 'South Valley', 'President', '', 'Joseph R. Biden', 'DEM', '50', '60']
@dwillis dwillis self-assigned this Oct 7, 2021
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

No branches or pull requests

1 participant