def only_successful(self):

        data = RunData(self.solver_names)

        for (id_, run_list) in self.run_lists.iteritems():
            if any(run.success for run in run_list):
                for run in run_list:
                    data.add_run(id_, run)

                data.add_feature_vector(id_, self.feature_vectors[id_])

        data.common_budget = self.common_budget

        return data
Return only instances on which some solver succeeded.
dataset/ETHPy150Open borg-project/borg/borg/storage.py/RunData.only_successful