Skip to content

Commit 15e19ee

Browse files
committed
added methologoy into experiments
1 parent 3d70a44 commit 15e19ee

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: .github/workflows/demo_provisioning_scripts/DemoBuilder.py

+4
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ def create_ecommerce_shorten_collection_funnel_experiment(self):
373373
"We would want to reduce the collection page to the top three items to reduce customer decision fatigue in order to increase checkout and overall revenue.",
374374
metrics=metrics,
375375
primary_key="shorten-collection-page-metric-group",
376+
methodology="frequentist",
377+
analysisConfig={"significanceThreshold": "5", "testDirection": "two-sided"}
376378
)
377379

378380
def run_ecommerce_new_search_engine_feature_experiment(self):
@@ -405,6 +407,8 @@ def create_ecommerce_new_search_engine_feature_experiment(self):
405407
hypothesis="We want to a new search engine that is more ranks search results diffrently and have an Add To Cart button built inside the component in order to increase ease of adding items to cart and increasing revenue.",
406408
metrics=metrics,
407409
primary_key="search-engine-add-to-cart",
410+
methodology="frequentist",
411+
analysisConfig={"significanceThreshold": "5", "testDirection": "two-sided"}
408412
)
409413

410414
def run_togglebank_ai_config_experiment(self):

Diff for: .github/workflows/demo_provisioning_scripts/LDPlatform.py

+4
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,8 @@ def create_experiment(
585585
attributes=None,
586586
randomization_unit="user",
587587
custom_treatment_names=None,
588+
methodology="bayesian",
589+
analysisConfig={"bayesianThreshold": "95"}
588590
):
589591
if self.experiment_exists(exp_key, exp_env):
590592
return
@@ -607,6 +609,8 @@ def create_experiment(
607609
},
608610
},
609611
"randomizationUnit": randomization_unit,
612+
"methodology": methodology,
613+
"analysisConfig": analysisConfig,
610614
},
611615
}
612616

0 commit comments

Comments
 (0)