docs: def wipe_partition(self, partition):
          """ Deletes analysis result of partition, e.g. so a repeat
          optimisation of the same partition can be done with a
          different model """
          for grp in partition.get_membership():
              grpid = self.scorer.get_id(grp)
              cache_dir = self.scorer.cache_dir
              prog = self.scorer.task_interface.name
              filename = os.path.join(cache_dir, '{}.{}.json'.format(grpid, prog))
              if os.path.exists(filename):
                  os.unlink(filename)