Files
gw/backend/app/experiments/registry.py
T

47 lines
1.4 KiB
Python
Raw Normal View History

2026-04-18 07:23:55 +12:00
EXPERIMENT_REGISTRY = {
"homepage_hero_test": {
"experiment_key": "homepage_hero_test",
"cookie_name": "exp_homepage_hero",
"name": "Homepage hero test",
"description": "Homepage hero messaging and CTA emphasis.",
"enabled": True,
"eligible_routes": ["/"],
"variants": [
{
"variant_key": "control",
"label": "Current hero copy",
"allocation": 50,
"is_control": True,
},
{
"variant_key": "tiny_gang_social_proof",
"label": "Tiny Gang social proof",
"allocation": 50,
"is_control": False,
},
],
},
"pricing_cta_test": {
"experiment_key": "pricing_cta_test",
"cookie_name": "exp_pricing_cta",
"name": "Pricing CTA test",
"description": "Pricing CTA emphasis without changing page meaning.",
"enabled": True,
"eligible_routes": ["/our-pricing"],
"variants": [
{
"variant_key": "control",
"label": "Book now CTA",
"allocation": 50,
"is_control": True,
},
{
"variant_key": "meet_greet_emphasis",
"label": "Meet and greet emphasis",
"allocation": 50,
"is_control": False,
},
],
},
}