def key_generator_gauss():
    while True:
        guess = gauss(mean, stdev)
        if 0 <= guess < total_keys:
            return fmt % int(guess)
    
# a generator that will generate all keys w/ equal probability.  this is the
# worst case for caching.
dataset/ETHPy150Open AppScale/appscale/AppDB/cassandra/stress.py/key_generator_gauss/original