def testWithRescale(self):
    # Not a good test, but at least we cover a little more of the code.
    random.seed(42)

    sample = ExponentiallyDecayingReservoir(rescale_threshold=-1)
    sample.update(random.gauss(42.0, 13.0))
    self.assertAlmostEqual(sample.mean, 40.12682571548693, places=5)
Creates a release on the maebert/jrnl repository on github
dataset/ETHPy150Open Cue/scales/src/greplin/scales/samplestats_test.py/ExponentiallyDecayingReservoirTest.testWithRescale--crossover with--dataset/ETHPy150Open maebert/jrnl/setup.py/dist_github