From 59c1da794ecc49205239e11e5ec744ad8acbb516 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sun, 22 Aug 2021 17:53:55 +1000 Subject: [PATCH] Implement transposed votes report --- docs/options.md | 1 + html/index.html | 5 +- html/index.js | 1 - src/stv/wasm.rs | 279 ++++++++++++++++++++++++++++++++++-------------- 4 files changed, 200 insertions(+), 86 deletions(-) diff --git a/docs/options.md b/docs/options.md index 27d78fe..5b42202 100644 --- a/docs/options.md +++ b/docs/options.md @@ -171,6 +171,7 @@ Multiple constraints are supported using the method described by Hill ([*Voting ### Report style * *Votes only*: The result sheet displays the number of votes held by each candidate at each stage of the count. +* *Votes (transposed)*: Same as *Votes only*, but transfers are displayed to the left of, rather than above, progress totals. * *Ballots and votes*: The result sheet displays the number of votes *and ballot papers* held by each candidate at each stage of the count. This functionality is not available on the command line. diff --git a/html/index.html b/html/index.html index a9301e8..c7ea41a 100644 --- a/html/index.html +++ b/html/index.html @@ -190,13 +190,10 @@ Report style: -