class MyAlg:

    def initExp(self, butler, dummy):
        butler.algorithms.set(key='algorithms_foo', value='algorithms_bar')
        return True

    def getQuery(self, butler):
        assert butler.experiment.get(key='experiment_foo') == 'experiment_bar'
        assert butler.algorithms.get(key='algorithms_foo') == 'algorithms_bar'
        return True

    def processAnswer(self, butler):
        assert butler.experiment.get(key='experiment_foo') == 'experiment_bar'
        assert butler.algorithms.get(key='algorithms_foo') == 'algorithms_bar'
        return True

    def getModel(self, butler):
        return True

8c624950d916d9d9ce8c2f1e2da237cf68e05b23
class MyAlg:
    <mask token>
    <mask token>
    <mask token>
    <mask token>

class MyAlg:

    def initExp(self, butler, dummy):
        butler.algorithms.set(key='algorithms_foo', value='algorithms_bar')
        return True
    <mask token>

    def processAnswer(self, butler):
        assert butler.experiment.get(key='experiment_foo') == 'experiment_bar'
        assert butler.algorithms.get(key='algorithms_foo') == 'algorithms_bar'
        return True
    <mask token>

class MyAlg:

    def initExp(self, butler, dummy):
        butler.algorithms.set(key='algorithms_foo', value='algorithms_bar')
        return True

    def getQuery(self, butler):
        assert butler.experiment.get(key='experiment_foo') == 'experiment_bar'
        assert butler.algorithms.get(key='algorithms_foo') == 'algorithms_bar'
        return True

    def processAnswer(self, butler):
        assert butler.experiment.get(key='experiment_foo') == 'experiment_bar'
        assert butler.algorithms.get(key='algorithms_foo') == 'algorithms_bar'
        return True
    <mask token>

class MyAlg:

    def initExp(self, butler, dummy):
        butler.algorithms.set(key='algorithms_foo', value='algorithms_bar')
        return True

    def getQuery(self, butler):
        assert butler.experiment.get(key='experiment_foo') == 'experiment_bar'
        assert butler.algorithms.get(key='algorithms_foo') == 'algorithms_bar'
        return True

    def processAnswer(self, butler):
        assert butler.experiment.get(key='experiment_foo') == 'experiment_bar'
        assert butler.algorithms.get(key='algorithms_foo') == 'algorithms_bar'
        return True

    def getModel(self, butler):
        return True
