Open main menu

Wikimedia Foundation elections/Board elections/2015/Dump

KeyEdit

  • 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).

CandidatesEdit

  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)

BallotsEdit

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