def _rescale_if_needed(self):
        now = self.clock()
        next_ = self.next_scale_time
        if now >= next_:
            self._rescale(now, next_)
Checks the current time and rescales the sample if it time to do so.
dataset/ETHPy150Open dreid/yunomi/yunomi/stats/exp_decay_sample.py/ExponentiallyDecayingSample._rescale_if_needed