Skip to content

Instantly share code, notes, and snippets.

@lita
Created October 1, 2014 17:04
Show Gist options
  • Save lita/e6b345518bcddacb6aef to your computer and use it in GitHub Desktop.
Save lita/e6b345518bcddacb6aef to your computer and use it in GitHub Desktop.
SmartPricing Config file for experiments
{
"name": "SmartPricing",
"description": "Test to see how users behave when we use Smart Pricing for Courier rides rather than Flat Pricing.",
"variants": [
{
"name": "hotzone",
"description": "control group",
"metadata": {
"pricing": "hotzone"
}
},
{
"name": "smart",
"description": "use Smart Pricing",
"metadata": {
"pricing": "smart_v1"
}
}
],
"rules": [
{
"type": "hash",
"description": "90% of users in SFO should be using flat pricing.",
"params": {
"minBucket": 0,
"maxBucket": 89
},
"regions": ["SFO"],
"variant": "hotzone"
},
{
"type": "hash",
"description": "10% users in SFO should be using smart pricing.",
"params": {
"minBucket": 90,
"maxBucket": 99
},
"regions": ["SFO"],
"variant": "smart"
},
{
"type": "hash",
"description": "100% of users in LAX should be using Smart Pricing.",
"params": {
"minBucket": 0,
"maxBucket": 100
},
"regions": ["LAX"],
"variant": "smart"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment