Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str keyword AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str ListLoad Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Str ListLoad Str Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Str ListLoad Str Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Str ListLoad Str Str Str Str Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list
N/A N/A unittest N/A json N/A fakeredis werkzeug.test Client werkzeug.wrappers BaseResponse sixpack.server create_app sixpack.models Experiment sixpack.models Client SClient TestAlternativeChoice N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self app N/A create_app N/A N/A self client N/A Client N/A self app BaseResponse N/A N/A self redis N/A N/A fakeredis FakeStrictRedis N/A test_bots_get_winner_otherwise_control N/A N/A self N/A N/A N/A e N/A N/A Experiment find_or_create bots-get-winner N/A one two redis N/A N/A self app redis N/A i N/A range 3 N/A N/A data N/A N/A json loads N/A N/A N/A N/A self client get /participate?experiment=bots-get-winner&alternatives=one&alternatives=two&user_agent=GoogleBot&client_id=rand data N/A N/A N/A self assertEqual N/A N/A data N/A alternative N/A name one N/A N/A N/A e set_winner two N/A i N/A range 3 N/A N/A data N/A N/A json loads N/A N/A N/A N/A self client get /participate?experiment=bots-get-winner&alternatives=one&alternatives=two&user_agent=GoogleBot&client_id=rand data N/A N/A N/A self assertEqual N/A N/A data N/A alternative N/A name two N/A test_force_param_always_wins N/A N/A self N/A N/A N/A alts N/A one two three N/A e N/A N/A Experiment find_or_create force-param-always-wins alts redis N/A N/A self app redis test_force N/A N/A N/A N/A N/A f alts N/A N/A data N/A N/A json loads N/A N/A N/A N/A self client get N/A N/A /participate?experiment=force-param-always-wins&alternatives=one&alternatives=two&alternatives=three&client_id=rand&force={0} format f data N/A N/A N/A self assertEqual N/A N/A data N/A alternative N/A name f N/A N/A N/A test_force N/A N/A N/A e set_winner three N/A N/A test_force N/A test_uniform_choice N/A N/A self N/A N/A N/A exp N/A Experiment deterministic-1 N/A y n redis N/A self redis N/A cli N/A SClient 09a7407c-e371-492b-82e3-ef438d960ca3 redis N/A self redis N/A alt N/A N/A N/A exp get_alternative cli name N/A N/A N/A self assertEqual n alt N/A exp N/A Experiment deterministic-1 N/A y n m redis N/A self redis N/A cli N/A SClient 09a7407c-e371-492b-82e3-ef438d960ca3 redis N/A self redis N/A alt N/A N/A N/A exp get_alternative cli name N/A N/A N/A self assertEqual n alt N/A exp N/A Experiment deterministic-2 N/A y n m redis N/A self redis N/A cli N/A SClient 1b7b8b69-9b5b-4720-ba08-3e449fd60260 redis N/A self redis N/A alt N/A N/A N/A exp get_alternative cli name N/A N/A N/A self assertEqual y alt N/A exp N/A Experiment deterministic-3 N/A y n m one two three redis N/A self redis N/A cli N/A SClient 53c07ed4-80cd-4860-ad68-7eb76ed27180 redis N/A self redis N/A alt N/A N/A N/A exp get_alternative cli name N/A N/A N/A self assertEqual two alt N/A N/A