Пример #1
0
 def reward_cookie_arm():
     assigned_arm = suggest_arm_for(self.name_to_test)
     reward(self.name_to_test, assigned_arm[0], 1.0)
     return flask.make_response("awarded the arm")
Пример #2
0
 def reward_cookie_arm():
     assigned_arm = suggest_arm_for("color_button")
     reward("color_button",assigned_arm[0],1.0)
     return flask.make_response("awarded the arm")