gdoteof/election — Issue #15: Percentage Shown for Partial Results
Author: bradley-holt
Created: 2012-02-22 18:08:52+00:00
State: open
Labels: HTML, JSON

### Description

Please do not show percentage, indication of the winner, or winning threshold for "Partial Results". Since these are "Partial Results", the percentage and indication of winners will be misleading to users.

### Steps to Reproduce

curl 'https://example.org/town-meeting-season-2011/ward-1/burlington-mayor' \
-H 'Accept: application/json'

### Actual Results

```json
{
"title":"Burlington Mayor",
…
"results":{
"Kurt Wright":{
"votes":700,
"percent":66.5,
"winner":true,
"complete":true,
"winning_threshold":337.96
},
"Bob Kiss":{
"votes":232,
"percent":22,
"winner":false,
"complete":true,
"winning_threshold":337.96
},
"Miro Weinberger":{
"votes":121,
"percent":11.5,
"winner":false,
"complete":true,
"winning_threshold":337.96
}
}
}
```

### Expected Results

```json
{
"title":"Burlington Mayor",
…
"results":{
"Kurt Wright":{
"votes":700,
"complete":true,
},
"Bob Kiss":{
"votes":232,
"complete":true,
},
"Miro Weinberger":{
"votes":121,
"complete":true,
}
}
}
```

### Additional Comments

The `percent` column should also be removed in the HTML version (as well as the `winner` class, although that may be working correctly already). This is *not* a duplicate of #9, as that ticket ended up addressing a different issue.