Have GrowthBook running locally via docker-compose
Using stable Node version:
nvm installnpm install
npm run devuserContext: {
"attributes": {
"id": "86636d7d-e9d9-4a9b-bae4-610e779bf3d6"
}
}
Viewed Experiment
Experiment: {
"variations": [
false,
true
],
"key": "myTrackingKey",
"coverage": 1,
"weights": [
0.5,
0.5
],
"hashAttribute": "id",
"meta": [
{
"key": "0",
"name": "Control"
},
{
"key": "1",
"name": "Variation"
}
],
"name": "Experiemnt",
"phase": "0",
"seed": "aab6cb2c-5bdb-4081-9bf3-849b69e11025",
"hashVersion": 2
}
Result: {
"key": "1",
"featureId": "feature1",
"inExperiment": true,
"hashUsed": true,
"variationId": 1,
"value": true,
"hashAttribute": "id",
"hashValue": "86636d7d-e9d9-4a9b-bae4-610e779bf3d6",
"stickyBucketUsed": false,
"name": "Variation",
"bucket": 0.99
}
UserContext: {
"attributes": {
"id": "86636d7d-e9d9-4a9b-bae4-610e779bf3d6"
},
"trackedExperiments": {},
"trackedFeatureUsage": {},
"devLogs": []
}
feature is on
feature details: {
"value": true,
"on": true,
"off": false,
"source": "experiment",
"ruleId": "fr_1j14ku1omjwrctju",
"experiment": {
"variations": [
false,
true
],
"key": "myTrackingKey",
"coverage": 1,
"weights": [
0.5,
0.5
],
"hashAttribute": "id",
"meta": [
{
"key": "0",
"name": "Control"
},
{
"key": "1",
"name": "Variation"
}
],
"name": "Experiemnt",
"phase": "0",
"seed": "aab6cb2c-5bdb-4081-9bf3-849b69e11025",
"hashVersion": 2
},
"experimentResult": {
"key": "1",
"featureId": "feature1",
"inExperiment": true,
"hashUsed": true,
"variationId": 1,
"value": true,
"hashAttribute": "id",
"hashValue": "86636d7d-e9d9-4a9b-bae4-610e779bf3d6",
"stickyBucketUsed": false,
"name": "Variation",
"bucket": 0.99
}
}