def __init__(self, data_, prior_=None, learnerurl=':', **kw):

        # save info so custom learner can be recreated at run (possibly on a
        # different machine)
        self.learner_filepath, self.learner_class = learnerurl.split(':')
        self.learner_filename = os.path.basename(self.learner_filepath)
        self.learner_source = open(self.learner_filepath).read()
        self.data = data_
        self.prior = prior_
        self.kw = kw
Tests if the cooling time allows a user to login
dataset/ETHPy150Open abhik/pebl/src/pebl/learner/custom.py/CustomLearner.__init__--crossover with--dataset/ETHPy150Open kencochrane/django-defender/defender/tests.py/AccessAttemptTest.test_cooling_off