You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we titlecase all text fields (county, office, ward, candidate). This corrupts many spellings:
county: Fond du Lac
ward: McFarland, McKinley, Prairie du Sac, Prairie du Chien, Fond du Lac, ...
candidate: McCain, de Felice, VanDierendonck, LaDuke, FitzGerald, MaryAnn, "Ben Olson, III", ...
Our test data also has inconsistent capitalization. Current test code titlecases test data before comparing to results. When results capitalization is corrected, titlecasing should be removed, and test data corrected so it tests proper capitalization of results.
The text was updated successfully, but these errors were encountered:
Capitalization is now corrected in candidate and county fields.
Ward looks more difficult.
Capitalization probably not important in office field. (Titlecase is fine, though "of" could be lower case.)
Ward is now the only field with undesirable capitalization. The results ward data is titlecased (wrong for some locales listed above). The capitalization of ward in the current test data is inconsistent, so run_spot_tests.py titlecases it before searching results.
Currently we titlecase all text fields (county, office, ward, candidate). This corrupts many spellings:
county: Fond du Lac
ward: McFarland, McKinley, Prairie du Sac, Prairie du Chien, Fond du Lac, ...
candidate: McCain, de Felice, VanDierendonck, LaDuke, FitzGerald, MaryAnn, "Ben Olson, III", ...
Our test data also has inconsistent capitalization. Current test code titlecases test data before comparing to results. When results capitalization is corrected, titlecasing should be removed, and test data corrected so it tests proper capitalization of results.
The text was updated successfully, but these errors were encountered: