nprapps / elections18-general

2018 midterm election back-end: Associated Press data ETL, database, admin panel, and JSON output; iteration upon 2016 GE work
MIT License
3 stars 1 forks source link

When no votes are present, prefer ordering candidates such that one `Dem` and one `GOP` are on top #27

Closed mileswwatkins closed 6 years ago

mileswwatkins commented 6 years ago

Right now, we use the default order provided by the AP, which isn't even the ballot order. This leads to issues like this jungle primary double-Democrat in Mississippi, on the Senate big board:

screen shot 2018-10-10 at 18 19 04