def __init__(self, mix_rate: float=0.95):
    self.mix_rate = mix_rate
    self.avgs = defaultdict((lambda : None))
def __init__(self, mix_rate: float=0.95):
    self.mix_rate = mix_rate
    self.avgs = defaultdict((lambda : None))