Anti-Harassment Tools/SecurePoll Improvements/Test Results/5 2 5000 956342267/dump

{
  "type": "droop-quota",
  "results": {
    "1955": { // This number refers to the ID of the question, which can be found on the translate page (Special:SecurePoll/translate/<election_id>/en) or the dump file
      "resultsLog": {
        "elected": [ // All the candidates who were elected in this election. These are the winners.
          1956 // Candidates are identified by their IDs, which can be found on the translate page (Special:SecurePoll/translate/<election_id>/en) or the dump file
        ],
        "eliminated": [ // All the candidates who were eliminated in this election.
          1959,
          1960,
          1957,
          1958
        ],
        "rounds": [ // Results for each round
          {
            "round": 1,
            "surplus": 0,
            "rankings": { // This tells you how many votes each candidate got each round
              "1956": { // Candidate, as identified by their ID
                "votes": 0, // Votes this candidate carried over from previous round
                "earned": 2000, // Votes this candidate earned from this round
                "total": 2000 // Total votes for this candidate at the end of the round
              },
              "1957": {
                "votes": 0,
                "earned": 1000,
                "total": 1000
              },
              "1958": {
                "votes": 0,
                "earned": 1000,
                "total": 1000
              },
              "1959": {
                "votes": 0,
                "earned": 500,
                "total": 500
              },
              "1960": {
                "votes": 0,
                "earned": 500,
                "total": 500
              }
            },
            "totalVotes": 5000, // Votes for all candidates excluding those that were thrown away
            "keepFactors": { // Proportion of votes each candidate keeps this round (between 0 and 1)
              "1956": 1,
              "1957": 1,
              "1958": 1,
              "1959": 1,
              "1960": 1
            },
            "quota": 1666.6666676666669, // Amount of votes a candidate needs to get a seat this round
            "elected": [], // Candidates elected in this round only
            "eliminated": [] // Candidates eliminated in this round only
          },
          {
            "round": 2,
            "elected": [
              1956
            ],
            "eliminated": [],
            "surplus": 333.33333233333315,
            "keepFactors": {
              "1956": 1,
              "1957": 1,
              "1958": 1,
              "1959": 1,
              "1960": 1
            },
            "quota": 1666.6666676666669,
            "rankings": {
              "1956": {
                "votes": 2000,
                "earned": 0,
                "total": 2000
              },
              "1957": {
                "votes": 1000,
                "earned": 0,
                "total": 1000
              },
              "1958": {
                "votes": 1000,
                "earned": 0,
                "total": 1000
              },
              "1959": {
                "votes": 500,
                "earned": 0,
                "total": 500
              },
              "1960": {
                "votes": 500,
                "earned": 0,
                "total": 500
              }
            },
            "totalVotes": 5000
          },
          {
            "round": 3,
            "elected": [],
            "eliminated": [
              1959,
              1960
            ],
            "surplus": 111.11111077777787,
            "keepFactors": {
              "1956": 0.8333333338333334,
              "1957": 1,
              "1958": 1,
              "1959": 1,
              "1960": 1
            },
            "quota": 1555.555556888889,
            "rankings": {
              "1956": {
                "votes": 2000,
                "earned": -333.33333233333315,
                "total": 1666.6666676666669
              },
              "1957": {
                "votes": 1000,
                "earned": 0,
                "total": 1000
              },
              "1958": {
                "votes": 1000,
                "earned": 0,
                "total": 1000
              },
              "1959": {
                "votes": 500,
                "earned": 0,
                "total": 500
              },
              "1960": {
                "votes": 500,
                "earned": 0,
                "total": 500
              }
            },
            "totalVotes": 4666.666667666666
          },
          {
            "round": 4,
            "elected": [],
            "eliminated": [
              1957,
              1958
            ],
            "surplus": 370.3703702592593,
            "keepFactors": {
              "1956": 0.7777777784444445,
              "1957": 1,
              "1958": 1,
              "1959": 0,
              "1960": 0
            },
            "quota": 1185.1851866296297,
            "rankings": {
              "1956": {
                "votes": 1666.6666676666669,
                "earned": -111.11111077777787,
                "total": 1555.555556888889
              },
              "1957": {
                "votes": 1000,
                "earned": 0,
                "total": 1000
              },
              "1958": {
                "votes": 1000,
                "earned": 0,
                "total": 1000
              },
              "1959": {
                "votes": 500,
                "earned": -500,
                "total": 0
              },
              "1960": {
                "votes": 500,
                "earned": -500,
                "total": 0
              }
            },
            "totalVotes": 3555.555556888889
          }
        ]
      },
      "rankedVotes": {
        "1956": {
          "count": 2000,
          "rank": {
            "1": 1956
          }
        },
        "1960": {
          "count": 500,
          "rank": {
            "1": 1960
          }
        },
        "1958": {
          "count": 1000,
          "rank": {
            "1": 1958
          }
        },
        "1959": {
          "count": 500,
          "rank": {
            "1": 1959
          }
        },
        "1957": {
          "count": 1000,
          "rank": {
            "1": 1957
          }
        }
      }
    }
  }
}