Hssandwich
Veteran
Jong Ho?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
3x3 single and average NRs, but based on where it was set, not the citizenship of the person?
whats the fastest average anyone's ever gotten at their second competition after getting a DNF average at their first (I got a 22.45, for example)
Could I get a ranked list for the number of people who have competed in each WCA event?
whats the fastest average anyone's ever gotten at their second competition after getting a DNF average at their first (I got a 22.45, for example)
oh ok thank you could you make a list of the rankings if possible?
Not for all events, but the top 10 is under "Most Persons" here: https://www.worldcubeassociation.org/results/statistics.php
Average of top 5 singles (results) in 2-5: (can someone do this for all events?)
2x2:
(0.58) 0.69 0.72 0.74 (0.75) = 0.62
3x3:
(5.25) 5.39 5.55 5.58 (5.60) = 5.51
4x4:
(21.97) 22.78 23.25 23.72 (23.88) = 23.25
5x5:
(48.42) 48.54 48.57 49.28 (49.36) = 48.80
^ He meant top 5 results, not persons. So MBLD for example would be (41), 36, 35, 32, (32) = 34.33
Average standard deviation of PB averages? (3x3)
def mean(arr)
sum = arr.inject(0) { |accum, i| accum + i}
return sum / arr.size().to_f()
end
def sd(arr)
mean = mean(arr)
var = 0.0
arr.each do |n|
var += ((n - mean) * (n - mean)).to_f()
end
var /= (arr.size() - 1)
return Math.sqrt(var)
end
pb_avgs = {}
File.open("WCA_export_Results.tsv") do |f|
f.each_line do |l|
data = l.split("\t")
a = data[5].to_i()
if data[1] == "333" && a > 0
round = [
data[10].to_f() / 100.0,
data[11].to_f() / 100.0,
data[12].to_f() / 100.0,
data[13].to_f() / 100.0,
data[14].to_f() / 100.0
]
round.each_index do |s|
if round[s] == -0.01 || round[s] == -0.02
round[s] = 100000.0
end
end
round.delete_at(round.index(round.max()))
round.delete_at(round.index(round.min()))
m = mean(round)
s = sd(round)
if !pb_avgs.has_key?(data[7]) || pb_avgs[data[7]][0] > m
pb_avgs[data[7]] = [m, s]
end
end
end
end
max = pb_avgs.keys[0]
min = pb_avgs.keys[0]
total_sd = 0.0
count = 0
pb_avgs.each do |k, v|
if v[1].nan?()
puts k
end
total_sd += v[1]
count += 1
if v[1] < pb_avgs[min][1]
min = k
end
if v[1] > pb_avgs[max][1]
max = k
end
end
puts "Average of all PB average standard deviations: #{total_sd / count}"
puts "Highest PB standard deviation: #{pb_avgs[max][1]} on an average of #{sprintf("%.2f", pb_avgs[max][0])} by [url=\"https://www.worldcubeassociation.org/results/p.php?i=#{max}\"]#{max}[/url]."
puts "Lowest PB standard deviation: #{pb_avgs[min][1]} on an average of #{sprintf("%.2f", pb_avgs[min][0])} by [url=\"https://www.worldcubeassociation.org/results/p.php?i=#{min}\"]#{min}[/url]."
Could I get a ranked list for the number of people who have competed in each WCA event?
Not for all events, but the top 10 is under "Most Persons" here: https://www.worldcubeassociation.org/results/statistics.php
events = {}
count = 0
File.open("WCA_export_Results.tsv") do |f|
ignore_first_line = true
f.each_line do |l|
if ignore_first_line
ignore_first_line = false
next
end
data = l.split("\t")
event = data[1]
person = data[7]
if !events.has_key?(event)
events[event] = []
end
if !events[event].include?(person)
events[event] << person
end
count += 1
if count % 10000 == 0
puts "#{count} records processed."
end
end
end
events.each do |k, v|
puts "#{k}: #{v.size()} participants."
end
Does this include any podium in any event? Or is this only 3x3?
edit:
I think I have a 1.15, though I'd like to see this stat also to verify. How many people have a 1? That is impressive![]()