def remove_item(self, key, item):
        self._reload_config_data()
        if key not in self._dict:
            return True
        if item not in self._dict_set[key]:
            return True
        new_dict = copy.deepcopy(self._dict)
        if self.dedup:
            new_dict[key] = [val for val in self._dict[key] if val != item]
        else:
            new_dict[key].remove(item)
        return self._update_config(new_dict)
Test aggregation: count (no grouping)
dataset/ETHPy150Open pinterest/kingpin/kingpin/manageddata/managed_datastructures.py/ManagedMappedList.remove_item--crossover with--dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3timeplot.py/PeriodTestsNoGroups.testAggregateCount