[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - Country Ranking

It is currently Wed Jan 17, 2018 3:05 am Advanced search

Country Ranking

Random stuff about the contest, posts that don't fit in the other forums.

Country Ranking

Postby dimkadimon » Fri Oct 22, 2010 12:05 am

It would be very cool to have a country ranking. Something as naive as the following could work:
for each country with 10 or more members, find the average rank of its top 10 members. This average rank is the country's rank.

Taking the average rank of all members will not work, because some countries might have a lot of low-ranked members who drag the country's rank down significantly. I have a feeling that Russia, Ukraine and USA will dominate the rankings. What do you guys reckon?
dimkadimon
Major-General
 
Posts: 263
Joined: Wed Oct 06, 2010 11:34 pm
Location: Adelaide, Australia

Re: Country Ranking

Postby glevee » Fri Oct 22, 2010 6:42 am

Interesting question.

As of ~2300 (MDT) on 21 Oct 2010 the answers look like this...

The top ten countries with the highest top participant are:

1 Russian Federation
3 Ukraine
5 United States
6 Germany
8 Belarus
9 South Korea
10 Spain
13 Brazil
17 France
23 Sweden

Looks like your three picks are in the top ten for each set I did, but only the top three for "top 1" and "top 5".
Attachments
Rankings.pdf
For other numbers (averages of top 1,5,10,20,30,40 participants) see the attached file.
(25.45 KiB) Downloaded 87 times
glevee
Colonel
 
Posts: 68
Joined: Tue Sep 28, 2010 1:11 am

Re: Country Ranking

Postby dimkadimon » Fri Oct 22, 2010 7:31 am

Thanks for those cool results! You have one small bug though in your calculations. For example Burkina Faso has just one high-rated competitor (http://ai-contest.com/profile.php?user_id=8475) so the country gets rated too high. For the average ranks of top K you should only use countries that have at least K competitors and not all countries. BTW I am very happy with Australia's performance :)
dimkadimon
Major-General
 
Posts: 263
Joined: Wed Oct 06, 2010 11:34 pm
Location: Adelaide, Australia

Re: Country Ranking

Postby glevee » Fri Oct 22, 2010 8:18 am

glevee
Colonel
 
Posts: 68
Joined: Tue Sep 28, 2010 1:11 am

Re: Country Ranking

Postby glevee » Fri Oct 22, 2010 9:35 am

I'd prolly work faster if I would stop dozing off. :-)
Attachments
Rankings.pdf
Columns now only contain countries with more participants than previous column. (this file only contains this data)
(36.44 KiB) Downloaded 81 times
glevee
Colonel
 
Posts: 68
Joined: Tue Sep 28, 2010 1:11 am

Re: Country Ranking

Postby amstan » Sat Oct 23, 2010 1:51 am

glevee, how are you getting these statistics.
Ideally not scraping.
If you want, you can come over to , I could run a few select statements for you. Make the statistics more in depth.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Re: Country Ranking

Postby glevee » Sat Oct 23, 2010 4:37 am

I used wget to slurp all the countries page 1 (and last page if any), then used a some batch files and strung together Unix tools to chug the data. (second PDF was created from the data in the first)

Oh, I forgot about the irc-bot. maybe you could tell dimkadimon, how to get it to cough up such ratings.
glevee
Colonel
 
Posts: 68
Joined: Tue Sep 28, 2010 1:11 am

Re: Country Ranking

Postby DGL_Flash » Sun Nov 07, 2010 6:48 pm

Will there be an update? I like statistics! 8-)
DGL_Flash
Lieutenant-Colonel
 
Posts: 40
Joined: Wed Sep 29, 2010 1:10 pm

Re: Country Ranking

Postby glevee » Mon Nov 08, 2010 7:06 am

Amstan, does the contestbot have access to the contest DB or does it just scrape the first rankings page??
(If DB access, can some one teach it how to cough Top X Countries with their top rank.)

If not I could always rewrite my code and slurp the info from the web-pages.
Or maybe a cronjob could be run to create a Top Country webpage every hour or so if it doesn't load the server much (or if it does then every day or two during say the UTC witching hour)
glevee
Colonel
 
Posts: 68
Joined: Tue Sep 28, 2010 1:11 am

Re: Country Ranking

Postby amstan » Mon Nov 08, 2010 8:37 am

Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Next

Return to Misc

Who is online

Users browsing this forum: No registered users and 1 guest

cron