code: def reset(cls):
      
      cls.stats = StatContainer()
      cls.parentMap = {}
      cls.containerMap = {}
      cls.subId = 0
      for stat in gc.get_objects():
        if isinstance(stat, Stat):
          stat._aggregators = {}
docs: Resets the static state.  Should only be called by tests.