Overland Park Open 2017

How exactly would you do that? I kinda get the concept, but not quite.
Most programming languages have libraries that can do it for you. Python is the one I'm most familiar with:
Code:
from numpy import mean, std
from random import gauss

times = [10.04, 12.53, 11.17, 10.07, 12.02] # Random times from someone's profile

newTime = gauss(mean(times), std(times)) # A randomly generated time
 
Problem with that is you could theoretically generate negative times. Is there a good way to stop that from happening? I know when I solve the histogram is slanted to the left, i.e. the mean is greater than the median.

I think my original plan will work decently because it will have a reasonable sample (for me, 45 solves) and it would have a slight random factor to make there be some smoothness. Not that it couldn't be better though, which it definitely could.
 
Last edited:
Problem with that is you could theoretically generate negative times. Is there a good way to stop that from happening? I know when I solve the histogram is slanted to the left, i.e. the mean is greater than the median.

I think my original plan will work decently because it will have a reasonable sample (for me, 45 solves) and it would have a slight random factor to make there be some smoothness. Not that it couldn't be better though, which it definitely could.
You get a truncated normal distribution to solve that problem... But there are advantages to keeping it simple too. It's only for fun anyway :)
 
NOOOOOOO! Fine, I'll just have to make my own version from scratch (which I was already thinking about making a website version that would work for any competition.)
that would actually be really awesome

but yeah, I'm still posting the code, hopefully I can finish the main parts tonight

I am testing it on data from 5 people, see if you can guess the people or something. Hints: They are all registered for the competition, and exactly four of them have posted in this thread.
 
Last edited:
that would actually be really awesome

but yeah, I'm still posting the code, hopefully I can finish the main parts tonight

I am testing it on data from 5 people, see if you can guess the people or something. Hints: They are all registered for the competition, and exactly four of them have posted in this thread.
Oh, oh, is one me?(!)
 
Capture.PNG
 
@biscuit Alright, here's the code so far. It defines some stuff and does a bit of setup, eh, okay, just try to read this tangled mess (sorry)
https://pastebin.com/8XXU8Geh
Still need to get it to create the weight for each competition, that's my next order of business. For now, because I haven't finished all the input data (yeah I really need to learn how to do that better) it does what it's supposed to, outputs this
Code:
Empty file for 2015WEBS01
Empty file for 2015BUCK03
Empty file for 2015SPEC01
and closes.

e: BBcode decided to interpret all the [i ]s in the code as italics, so they are all gone.
 
Last edited:
Back
Top