{
  "version": "2024-06-01T00:00:00.000Z",
  "orgId": "org_test",
  "projectId": "proj_test",
  "env": "production",
  "hashing": {
    "unitKey": "userId",
    "bucketCount": 1000
  },
  "parameters": [
    {
      "key": "ui.heroVariant",
      "type": "string",
      "default": "default",
      "layerId": "layer_hero",
      "namespace": "ui"
    },
    {
      "key": "ui.ctaVariant",
      "type": "string",
      "default": "cta_default",
      "layerId": "layer_cta",
      "namespace": "ui"
    }
  ],
  "layers": [
    {
      "id": "layer_hero",
      "policies": [
        {
          "id": "policy_contextual_key",
          "state": "running",
          "kind": "adaptive",
          "allocations": [
            {
              "id": "alloc_control",
              "name": "Control",
              "key": "control",
              "bucketRange": [0, 332],
              "overrides": {
                "ui.heroVariant": "hero_control"
              }
            },
            {
              "id": "alloc_treatment_a",
              "name": "Treatment A",
              "key": "treatment-a",
              "bucketRange": [333, 665],
              "overrides": {
                "ui.heroVariant": "hero_bold"
              }
            },
            {
              "id": "alloc_treatment_b",
              "name": "Treatment B",
              "key": "treatment-b",
              "bucketRange": [666, 999],
              "overrides": {
                "ui.heroVariant": "hero_minimal"
              }
            }
          ],
          "conditions": [],
          "contextLogging": {
            "allowedFields": ["engagement_score", "device_type"]
          },
          "contextualModel": {
            "gamma": 1.0,
            "actionProbabilityFloor": 0.05,
            "defaultAllocationScore": 0,
            "coefficients": {
              "control": {
                "intercept": 0.0,
                "numeric": [
                  { "key": "engagement_score", "coef": 0.0, "missing": 0 }
                ],
                "categorical": [
                  { "key": "device_type", "values": { "mobile": 0.0, "desktop": 0.0, "tablet": 3.0 }, "missing": 0 }
                ]
              },
              "treatment-a": {
                "intercept": 1.0,
                "numeric": [
                  { "key": "engagement_score", "coef": 0.5, "missing": 0 }
                ],
                "categorical": [
                  { "key": "device_type", "values": { "mobile": 0.0, "desktop": -3.0, "tablet": 0.0 }, "missing": 0 }
                ]
              },
              "treatment-b": {
                "intercept": 0.0,
                "numeric": [
                  { "key": "engagement_score", "coef": 0.0, "missing": 0 }
                ],
                "categorical": [
                  { "key": "device_type", "values": { "mobile": 0.0, "desktop": 2.0, "tablet": 0.0 }, "missing": 0 }
                ]
              }
            }
          }
        }
      ]
    },
    {
      "id": "layer_cta",
      "policies": [
        {
          "id": "policy_contextual_legacy",
          "state": "running",
          "kind": "adaptive",
          "allocations": [
            {
              "id": "alloc_cta_control",
              "name": "cta_control",
              "bucketRange": [0, 499],
              "overrides": {
                "ui.ctaVariant": "cta_plain"
              }
            },
            {
              "id": "alloc_cta_bold",
              "name": "cta_bold",
              "bucketRange": [500, 999],
              "overrides": {
                "ui.ctaVariant": "cta_loud"
              }
            }
          ],
          "conditions": [],
          "contextualModel": {
            "gamma": 1.0,
            "actionProbabilityFloor": 0.05,
            "defaultAllocationScore": 0,
            "coefficients": {
              "cta_control": {
                "intercept": 0.0,
                "numeric": [],
                "categorical": []
              },
              "cta_bold": {
                "intercept": 2.0,
                "numeric": [],
                "categorical": []
              }
            }
          }
        }
      ]
    }
  ]
}
