Take the 2-minute tour ×
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 stats 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 Meta Stack Exchange.

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.

The code is on GitHub at tms/stack-election

share|improve this question
    
please add ED.se too –  Daniel Grillo May 2 '11 at 19:33
    
For information on the refresh of this being released soon including a link to a dev version see: Detailed Moderator Election statistics site not updating –  Caleb Jul 26 '13 at 13:04
add comment

14 Answers

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
    
Those badges are not required for every site's election -- only a few sites have many uses that have them. –  Brock Adams Jun 21 at 22:15
add comment

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

share|improve this answer
add comment

Please add Christianity to the list, elections there are already in primaries!

See also MSO bug report here.

share|improve this answer
add comment

  • Add data about closed and/or deleted questions each person asked
  • Add Bicycles to the list. Update: Done.
share|improve this answer
1  
We could add data about the closed questions, but since we don't have metrics for the deleted ones it might be skewed if someone has a lot of closed-but-also-deleted questions. –  Tim Stone May 30 '13 at 13:55
add comment

Please add security.SE to the list.

share|improve this answer
add comment

The "Noteworthy Badges" section appears to have a bug on the wordpress.stackexchange Moderator Candidate Statistics page. It may effect other elections as well, but I am not sure.

Tom J. Nowell, Kaiser, and myself all have the "Strunk and White" badge but the badge is marked red on the elections page.

share|improve this answer
1  
This is fixed now, thanks. –  Tim Stone Jan 20 at 22:46
add comment

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 '13 at 14:14
    
Just for record-keeping purposes, this was fixed in the deployed version, and is also fixed in the upcoming rewrite. –  Tim Stone May 30 '13 at 13:54
add comment

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
add comment


Update: Fixed (GitHub pull request) and deployed. Thanks, Tim Stone!


Reference: elections.stackexchange.com/#english.stackexchange
The credits links point to 404 error pages:

bad links

They point to these 404 pages:

http://meta.stackoverflow.com/users/150097/yi-jiang
http://meta.stackoverflow.com/users/150235/tim-stone

They should point to:

http://meta.stackexchange.com/users/150097/yi-jiang
http://meta.stackexchange.com/users/150235/tim-stone

The link in the footer also has this problem.

share|improve this answer
1  
Someone pointed this out to me in chat the other day and I forgot to do anything about it, I'll fix it up here in a bit. Thanks for the reminder! –  Tim Stone Jun 19 at 13:58
add comment

It would be nice to see one's own or another user's profile analyzed in this manner. It could be used like a "Should I bother running?" self-check.

Obviously there would be no candidate text shown for people who have not come forth but but I like the extra bit of data aggregation that seems like a supplement to the profile page... And even if you don't plan on running you could see how valuable your participation is to the community and where there may be more room for improvement for better participation.

share|improve this answer
add comment

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
    
Unfortunately we don't have access to that information directly from the API, but we can scrape the number of helpful flags from the election page itself...will see what I can do. –  Tim Stone May 30 '13 at 13:50
    
@TimStone, Any chance the code will get put up in GitHub so we can make pull requests? It looks like a real easy fix to add these 3 badges to the results and they are awesome for helping identify who's already been helping with moderation. –  Brock Adams Jun 19 at 23:17
    
@BrockAdams github.com/tms/stack-election (I guess a link should be added to the page itself!) –  Tim Stone Jun 19 at 23:18
    
@TimStone, Thanks! –  Brock Adams Jun 19 at 23:19
add comment

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

share|improve this answer
    
Now that we'll be doing all of the scraping on the server going forward, annotating the candidates with their final election phase status shouldn't be that big of a deal. –  Tim Stone May 30 '13 at 14:03
add comment

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  
+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
    
The bug and first feature request were done. Second feature request would be nice but is also covered by the election page itself. –  Brock Adams Jun 21 at 22:39
add comment

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
add comment

You must log in to answer this question.

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