def deterministic_random(input_string):
    return float.fromhex(hashlib.md5(input_string).hexdigest()) / math.pow(2, 128)
Returns a deterministically random number between 0 and 1 based on the
dataset/ETHPy150Open dimagi/commcare-hq/corehq/toggles.py/deterministic_random