Skip to content

Instantly share code, notes, and snippets.

@michaelsproul
Last active November 19, 2016 10:54
Show Gist options
  • Save michaelsproul/b7515d7976af9520681e1e3fde8bf3f1 to your computer and use it in GitHub Desktop.
Save michaelsproul/b7515d7976af9520681e1e3fde8bf3f1 to your computer and use it in GitHub Desktop.
What if Family First weren't part of the SA senate election?

Here's the result when Family First ARE included in the count:

  1. Simon BIRMINGHAM (Liberal)
  2. Penny WONG (Australian Labor Party)
  3. Cory BERNARDI (Liberal)
  4. Nick XENOPHON (Nick Xenophon Team)
  5. Don FARRELL (Australian Labor Party)
  6. Anne RUSTON (Liberal)
  7. Stirling GRIFF (Nick Xenophon Team)
  8. Alex GALLACHER (Australian Labor Party)
  9. David FAWCETT (Liberal)
  10. Sarah HANSON-YOUNG (The Greens)
  11. Skye KAKOSCHKE-MOORE (Nick Xenophon Team)
  12. Bob DAY (Family First)

And here's the result where Family First are removed from all ballots, and their preferences are redistributed before counting begins properly:

  1. Simon BIRMINGHAM (Liberal)
  2. Penny WONG (Australian Labor Party)
  3. Cory BERNARDI (Liberal)
  4. Nick XENOPHON (Nick Xenophon Team)
  5. Don FARRELL (Australian Labor Party)
  6. Anne RUSTON (Liberal)
  7. Stirling GRIFF (Nick Xenophon Team)
  8. Alex GALLACHER (Australian Labor Party)
  9. David FAWCETT (Liberal)
  10. Sarah HANSON-YOUNG (The Greens)
  11. Skye KAKOSCHKE-MOORE (Nick Xenophon Team)
  12. Anne McEWEN (Australian Labor Party)

The only difference is the election of a Labor senator, Anne McEwan, to the last spot!

Running the algorithm with RUST_LOG=trace indicates that Anne would beat One Nation's Steven Burgess to that last spot.

Credit for this idea goes to Redditor tl8roy: https://www.reddit.com/user/tl8roy

Code for this simulation is here: https://github.com/michaelsproul/aus_senate/tree/exclude-family-first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment