@@ -156,6 +156,8 @@ def create_flags(self):
156
156
self .flag_exp_new_search_engine ()
157
157
print (" - D4 - Funnel Experiment: New Shorten Collection Page" )
158
158
self .flag_exp_shorten_collections_page ()
159
+ print (" - Flag to Create Q4 Increase Total Price Holdout" )
160
+ self .flag_holdout_q4_increase_incart_price ()
159
161
print (" - E1 - Migration: Database (Migration Tool)" )
160
162
self .flag_database_migration ()
161
163
@@ -474,7 +476,7 @@ def run_q4_increase_incart_price_holdout(self):
474
476
primary_metric_key = "in-cart-total-price" ,
475
477
randomization_unit = "users" ,
476
478
attributes = ["tier" ],
477
- prerequisiteflagkey = "release-new-search-engine "
479
+ prerequisiteflagkey = "q-4-increase-average-total-in-cart-price-ld-holdout "
478
480
)
479
481
############################################################################################################
480
482
@@ -1330,6 +1332,25 @@ def flag_exp_new_search_engine(self):
1330
1332
},
1331
1333
],
1332
1334
tags = ["experiment" , "ecommerce" ],
1335
+ on_variation = 0 ,
1336
+ off_variation = 1 ,
1337
+ )
1338
+
1339
+ def flag_holdout_q4_increase_incart_price (self ):
1340
+ res = self .ldproject .create_flag (
1341
+ "q-4-increase-average-total-in-cart-price-ld-holdout" ,
1342
+ "Flag to Create Q4 Increase Total Price Holdout" ,
1343
+ "Description: Flag to create holdout for q4 increase incart price" ,
1344
+ [
1345
+ {
1346
+ "value" : True ,
1347
+ "name" : "In holdout"
1348
+ },
1349
+ {
1350
+ "value" : False ,
1351
+ "name" : "Not In holdout"
1352
+ },
1353
+ ],
1333
1354
purpose = "holdout" ,
1334
1355
on_variation = 0 ,
1335
1356
off_variation = 1 ,
0 commit comments