Wikimedia Foundation elections/Board elections/2015/Dump

Info The election ended 31 May 2015. No more votes will be accepted.
The results were announced on 5 June 2015. Please consider submitting any feedback regarding the 2015 election on the election's post mortem page.

Below you will find a raw dump of the votes cast in the 2015 Board of Trustees Election .

  • Each row equates to one ballot.
  • Each number equates to the vote cast by the ballot for a candidate (In the order (from left to right) listed below).
  • A -1 equates to a vote of "Oppose" for the candidate, 0 for a vote of "Neutral" (the default position) and 1 for a vote of "Support".
  • The ballots are fully randomized and do not equate to any time series.
  • The only ballots listed are those counted in the election (votes struck out, either automatically or manually, are not included).

Candidates

edit
  1. Houcemeddine Turki - User:Csisc
  2. Sailesh Patnaik - User:Saileshpat
  3. Dariusz Jemielniak - User:pundit
  4. Mohamed Ouda - User:Mohamed Ouda
  5. Josh Lim - User:Sky Harbor
  6. David Conway - User:Smerus
  7. Francis Kaswahili Kaguna - User:Francis Kaswahili
  8. Cristian Consonni - User:CristianCantoro
  9. Peter Gallert - User:Pgallert
  10. María Sefidari - User:Raystorm
  11. Phoebe Ayers - User:phoebe
  12. Denny Vrandečić - User:Denny
  13. Ali Haidar Khan (Tonmoy) - User:Ali Haidar Khan
  14. Nisar Ahmed Syed - User:అహ్మద్ నిసార్
  15. James Heilman - User:Doc James
  16. Tim Davenport - User:Carrite
  17. Samuel Klein - User:Sj
  18. Syed Muzammiluddin - User:Hindustanilanguage
  19. Edward Saperia - User:EdSaperia
  20. Mike Nicolaije - User:Taketa
  21. Pete Forsyth (candidate withdrew after deadline to remove from system)

Ballots

edit
-1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0
0, 0, 0, 0, 0, 1, -1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 1, 0, 0, 0, 0
1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
-1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, -1, -1, -1, 1, -1, -1, 0, 0
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, 1, -1, -1, 1, -1
-1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
-1, -1, 1, -1, -1, 0, -1, 1, 0, -1, -1, 1, 1, -1, 0, -1, 1, -1, -1, 0, 0
-1, -1, 1, -1, -1, -1, 0, 1, -1, 1, -1, 0, -1, -1, 1, 1, 0, -1, -1, 1, 0
-1, 1, -1, -1, -1, -1, -1, -1, 1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, -1
0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0
0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0
1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0
-1, -1, -1, -1, -1, 0, 0, 0, 1, 1, -1, -1, 0, -1, 1, -1, -1, 0, -1, -1, 0
-1, -1, 1, -1, 1, 1, -1, 0, 0, 1, 1, -1, -1, -1, 1, -1, 0, -1, 1, 0, 0
-1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, -1, 1, 1, 1, -1, 1, 1, -1, -1, 0
0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 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 0, 1, 0
0, 0, 1, 1, 1, 1, -1, 1, 1, -1, -1, -1, 1, 0, 0, 1, 0, 1, 0, -1, 0
-1, -1, -1, -1, -1, -1, -1, -1, 1, 0, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0
0, 0, 1, -1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0
0, 1, 1, 1, 0, 0, -1, 1, 0, 1, 1, 1, 1, -1, 0, 0, 1, 1, 1, 0, -1
0, -1, -1, 0, 1, 0, -1, 0, 1, 1, -1, 0, -1, -1, 0, -1, 1, 0, 0, 0, 0
-1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, -1, 1, 0
-1, -1, 1, 1, -1, -1, -1, 0, -1, 1, 0, 1, 1, -1, 1, -1, 1, -1, 0, 0, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0
0, 0, 0, 1, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0
-1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, -1, -1, -1, -1, -1, 0
-1, -1, -1, -1, -1, -1, -1, 1, 1, -1, -1, 1, 1, -1, 1, -1, -1, -1, -1, 1, 0
1, 1, -1, 0, 1, -1, -1, -1, -1, -1, -1, -1, 1, 0, -1, -1, -1, 0, 0, -1, -1
0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0, 0, 0, -1, 0, -1, 1, -1
0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0
0, 0, 1, 0, 0, -1,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-1, -1, 0, -1, -1, 1, -1, -1, -1, -1, -1, -1, 1, -1, -1, 1, 0, 0
0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0
0, 1, 1, 1, 1, 0, -1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0
0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0
-1, 0, 1, -1, -1, 1, -1, -1, 0, 0, 1, 0, 1, -1, 0, 1, 1, -1, 0, 1, 0
-1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1
-1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, 1, 1, -1, -1, -1, 1, 0
1, 1, 1, 1, -1, 1, 1, -1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, -1, 1
-1, -1, 0, -1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
-1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
-1, -1, -1, -1, -1, -1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 0
0, 1, 0, 0, 0, 0, 0, -1, 0, 1, 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0
0, 0, 0, 0, -1, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
1, -1, -1, 1, 1, -1, -1, 1, -1, -1, 1, 1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-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
-1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, 0, 1, 1, -1, -1, -1, 1, 1, 0
-1, -1, 1, 1, -1, -1, 0, -1, 1, -1, -1, -1, 1, -1, 1, -1, -1, -1, -1, 1, 0
0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0
1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1, 1, -1, -1, 1, 1, 0, -1, 0
0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0
-1, -1, 1, 0, -1, 0, -1, 1, 1, 0, 0, 0, 1, 0, 1, -1, 0, 0, -1, 1, 0
-1, -1, 1, -1, 0, 0, -1, 1, 0, -1, 0, 0, -1, 0, -1, 1, -1, -1, 0, 1, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, -1, -1, -1, 1
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
1, 1, 1, 1, 1, 1, 0, 0, -1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0
-1, -1, 1, -1, -1, 1, -1, -1, 1, 1, -1, 1, 1, 1, -1, -1, -1, -1, 1, -1, -1
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0
0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0
-1, 1, -1, 1, 1, -1, -1, 1, 0, -1, -1, 1, -1, -1, -1, -1,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 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0
0, -1, -1, -1, -1, -1, 0, 1, 0, 1, 1, 0, -1, 0, 1, -1, -1, 0, -1, 1, 0
-1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0
-1, 1, 0, -1, 1, -1, -1, -1, -1, 0, 1, 0, 0, 0, -1, 0, -1, 0, -1, -1, 0
1, -1, 1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, -1, 1, -1, -1, 1, -1
-1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1
1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0
1, -1, -1, 0, -1, -1, 1, 0, 0, -1, -1, -1, 0, 0, -1, 0, -1, 1, -1, -1, 0
0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
-1, 1, 0, -1, 0, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, 0
0, 0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 1, 0, 0, 1, -1, 0, -1, 0, 0, 0
0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0
0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0
0, 1, -1, 0, 0, 1, 1, 1, -1, 1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, 0
-1, -1, 1, -1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, 1,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