def process_failure(self, partial_eval, error, feature, dpoint, d_index):
        logger.warning(u'Fail evaluating %s: %s %s' % (feature,
                                                       type(error), error))
        self._fit_failure_stats['discarded_samples'].append(
            dpoint.get('pk', 'PK-NOT-FOUND'))
        feature_errors = self._fit_failure_stats['features'][feature]
        feature_errors.append(dpoint)
        if d_index < self.FEATURE_STRICT_UNTIL:
            self.exclude_feature(feature, partial_eval)
        elif self.FEATURE_MAX_ERRORS_ALLOWED > len(feature_errors):
            self.exclude_feature(feature, partial_eval)
dataset/ETHPy150Open machinalis/featureforge/featureforge/evaluator.py/TolerantFeatureEvaluator.process_failure/swapped operands of `>`