From 09c54d26a67b268290f978add3e03d6a5181dc78 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 20 Feb 2017 16:11:51 +1100 Subject: Slightly improved style, much improved tables --- project/assets/css/default.css | 29 ++++++++- project/templates/stvcount.html | 137 ++++++++++++++++++++++------------------ 2 files changed, 103 insertions(+), 63 deletions(-) diff --git a/project/assets/css/default.css b/project/assets/css/default.css index 8c47a6d..457a702 100644 --- a/project/assets/css/default.css +++ b/project/assets/css/default.css @@ -4,7 +4,7 @@ body { margin:1em auto; - max-width:50em; + max-width:60em; font:1.2em/1.62em sans-serif; } @@ -32,6 +32,33 @@ h4 { } +p { + margin-top: 2em; + margin-bottom: 2em; +} + + +table, th, td { + border: 1px solid gray; +} + + +table { + margin: 2em auto 2em auto; + max-width: 59em; +} + + +th { + background-color:#CCCCCC; +} + + +td { + text-align: center; +} + + /* A bunch of nonsense to make the navbar diff --git a/project/templates/stvcount.html b/project/templates/stvcount.html index a64f029..e44ec43 100644 --- a/project/templates/stvcount.html +++ b/project/templates/stvcount.html @@ -77,6 +77,7 @@ superfluous logging.

slightly from the ones provided by the AEC's official distribution of preferences. Investigations into the exact cause are ongoing.

+

Results

Calculations were done for each state using the formal preference data with vacancies set to 6 instead of 12, @@ -92,151 +93,163 @@ Q9500.

- - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + +
Probable non-DD results by state
NSWVICQLDSAWATASNSWVICQLDSAWATAS
LiberalLiberalLiberal NationalLiberalLiberalLiberal Liberal Liberal Liberal National Liberal Liberal Liberal
LaborLaborLaborLaborLaborLabor Labor Labor Labor Labor Labor Labor
LiberalNationalLiberal NationalXenophonLiberalLiberal Liberal National Liberal National Xenophon Liberal Liberal
LaborLaborLaborLiberalLaborLabor Labor Labor Labor Liberal Labor Labor
NationalGreenOne NationLaborGreenJacqui Lambie National Green One Nation Labor Green Jacqui Lambie
GreenDerryn HinchLiberal NationalXenophonLiberalGreen Green Derryn Hinch Liberal National Xenophon Liberal Green
- - - - - + + + + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + @@ -247,7 +260,7 @@ Q9500.

* These three parties were all part of the Palmer United Party at the 2013/2014 election, but split up mid term.

Surprisingly, these projected results still have 20 out of 76 seats held by third party candidates, despite -the half election putting them at a disadvantage. The number of third party groups the Liberal Nationals have to +the half election putting them at a disadvantage. The number of third party groups the Liberal/Nationals have to negotiate with to pass legislation (assuming Labor and Greens attempt to block) equally remains unchanged.

The Greens manage to do slightly worse, even though their usual position of winning the 5th or 6th seat in most states @@ -255,8 +268,8 @@ often allows them to obtain more representation than their primary vote would ot attributed to a bad 2013 result, as their primary vote both then and in 2016 was nearly identical.

One Nation's much reduced number of seats can be attributed to the inherent geographic bias that any system involving -electing multiple candidates across multiple independent divisions introduces. If like-minded voters are all in one -place, they receive representation, but when the same number of voters are spread out, they get nothing. When this effect +electing candidates across many independent divisions has. If like-minded voters are all in one place, they +receive representation, but when the same number of voters are spread out, they get nothing. When this effect is intentionally exploited it's called gerrymandering, but here it's merely an artifact of electing Senators from each state separately. One Nation's support is strongest in Queensland but is relatively diffuse. Any claims of Pauline Hanson being

Probable non-DD Senate composition
PartySeats WonContinuing SenatorsTotal SeatsDifference from ActualPartySeats WonContinuing SenatorsTotal SeatsDifference From Actual
Liberal/National Coalition  Liberal/National Coalition 17 15 32 +2
Australian Labor Party  Australian Labor Party 14 10 24 -2
Australian Greens  Australian Greens 4 4 8 -1
Xenophon Group  Xenophon Group 2 1 3 Nil
Jacqui Lambie Network*  Jacqui Lambie Network* 1 1 2 +1
Liberal Democratic Party  Liberal Democratic Party 0 1 1 Nil
Family First Party  Family First Party 0 1 1 Nil
Palmer United Party*  Palmer United Party* 0 1 1 +1
Glenn Lazarus Team*  Glenn Lazarus Team* 0 1 1 +1
Australian Motoring Enthusiast Party  Australian Motoring Enthusiast Party 0 1 1 +1
One Nation  One Nation 1 0 1 -3
Derryn Hinch's Justice Party  Derryn Hinch's Justice Party 1 0 1