def score(self, X=None, Y=None):
        if self.foo_param > 1:
            score = 1.
        else:
            score = 0.
        return score
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/model_selection/tests/test_search.py/MockClassifier.score/original