def simulate_var(theta, ticks):
    thetas = simulate(theta, ticks)
theta_hist, _ = numpy.histogram(thetas)
return numpy.std(theta_hist)

def simulate_median_var(theta):
    vars = []
for _ in range(rounds):
    var = simulate_var(theta, ticks)
vars.append(var)
return numpy.median(vars)
A new equation for intelligence: Difficulties with Entropy Maximization