Tell me more ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

The Stack Exchange Elections Statistics Page is a simple single-page website that displays information on election candidates participating in the Stack Exchange 2011 Moderator Elections. It pulls together information normally found in each candidate's profile as well as their Meta and SE-wide participation information into one single handy site, presenting the information neatly and efficiently, allowing you, the voter, to make the most informed decision possible.

Features

  • All the information you can usually find on a user's profile, like reputation, badges, age, location etc. pulled into a single central location for easy comparison
  • Statistics on Meta and SE network wide activities
  • Customisable checklist of interesting or noteworthy badges to watch for for each candidate
  • Active tags and tag badges related to them
  • Ability to add arbitrary users to the lineup, for comparison with the candidates

And much, much more.

Where can I get it?

http://elections.stackexchange.com/

Community members have also been going round posting links to this on each of the site's Meta, so watch out for those too.

Browser support

Should work reasonably well on all modern browsers (ie. not Internet Explorer, though you're welcome to try).

Contact

Please post bug reports and feature requests (more suggestions on what stas to display always welcome!) here. You can usually find me in the Meta Tavern if you want to talk. The idea was brought up originally by Benjol on MSO.

Code

This page is written entirely with front-end web development technology. jQuery is the backbone, and the jQuery template plugin is used extensively. Snippets from James Padolsey are used for sorting stuff, and timeago is used for relative time.

You can, of course examine the source of the page, though I won't do that if I were you - the page's code isn't exactly clean nor very readable.

share|improve this question
please add ED.se too – Daniel Grillo May 2 '11 at 19:33

10 Answers

Safari 5.0.3 screws up the general election info. The data seems to be coming through alright in Safari's Inspector, but it isn't displayed correctly:

buggy Safari layout

share|improve this answer
Known problem with Webkit's implementation of the CSS3 column module -webkit-column-count, I don't really have a solution to this right now, but I'll try some stuff later – Yi Jiang Feb 22 '11 at 8:48

Please add GIS.se to the list! thanks :)

share|improve this answer
Done! (Clear your browser cache if you don't see it) – Yi Jiang Apr 20 '11 at 11:48
@yi thank you ! – matt wilkie Apr 20 '11 at 16:44

It doesn't currently seem to recognise Gaming's new election correctly.

It doesn't show up as an active election, but the Gaming option in the "Completed Elections" section actually does load the current election so it's sort of working - it makes it hard to find, and also means we can't access the previous election any more (at least, I can't find it).


Also, a few requests that'd be handy, but aren't really important:

  • Could we please have support for adding the "Deputy" badge in the noteworthy badges list? It doesn't seem to be recognised when I try to add it.

  • I don't know if the API exposes it, but showing a user's flag weight along with their other stats could be a nice addition.

share|improve this answer
+1 for the feature requests. Not sure if the bug is still extant; it seems to be working for the current elections. – Kevin Vermeer Nov 8 '11 at 13:11

  • Add data about closed and/or deleted questions each person asked
  • Add Bicycles to the list.
share|improve this answer

Please add security.SE to the list

share|improve this answer

The Stack Overflow election has just appeared, and they're missing an important badge. Deputy, at 500 flag weight, might not be considered 'noteworthy' but it's actually required in this case:

For the Stack Overflow election, an eligible candidate for the election must have all of the following badges (note, this is not mechanically enforced):

  • Civic Duty [Present in Noteworthy list]
  • Strunk & White [Present in Noteworthy list]
  • Deputy
  • Convention [Present in Noteworthy list]

I propose that these be called out as 'required' badges for the SO election, and that 'Deputy' be added to the 'Noteworthy' list for other elections. This was also requested by DMA.

share|improve this answer

Add a filter to include only candidates who are in the final election, once the primaries are finished.

share|improve this answer

The page seems to be breaking in Chrome for the stack overflow nominations with the following message "Uncaught TypeError: Cannot read property 'length' of undefined". It stops working after the step "Loading User Profile on main site".

Looking at the code it would appear that line 607 is causing problems:

userId = +post.find('.user-details a').attr('href').split('/')[2];

The reason is that the value of the href attribute as returned by jQuery is qualified with the host name despite that not appearing in the source. From my console window:

post.find('.user-details a').attr('href').split('/')
["http:", "", "stackoverflow.com", "users", "92837", "sathya?tab=activity&sort=reviews"]

The result of this is a list of user ids containing "NaN".

share|improve this answer
Firefox and Safari have problems with the same code. – Martijn Pieters Feb 26 at 14:14

Please add Travel to the list as http://elections.stackexchange.com/#travel.stackexchange

share|improve this answer

Would probably be useful to expand the notable badges to include the new Review badges (Steward, Reviewer, Custodian)!

Also number of flags approved and number of delete votes that have been cast if possible.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged