{
  "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"
    }
  ],
  "layers": [
    {
      "id": "layer_hero",
      "policies": [
        {
          "id": "policy_contextual_boundary",
          "state": "running",
          "kind": "adaptive",
          "allocations": [
            {
              "id": "alloc_a",
              "name": "variant_a",
              "bucketRange": [0, 332],
              "overrides": { "ui.heroVariant": "hero_a" }
            },
            {
              "id": "alloc_b",
              "name": "variant_b",
              "bucketRange": [333, 665],
              "overrides": { "ui.heroVariant": "hero_b" }
            },
            {
              "id": "alloc_c",
              "name": "variant_c",
              "bucketRange": [666, 999],
              "overrides": { "ui.heroVariant": "hero_c" }
            }
          ],
          "conditions": [],
          "contextLogging": {
            "allowedFields": ["score_x", "tier"]
          },
          "contextualModel": {
            "gamma": 0.5,
            "actionProbabilityFloor": 0.05,
            "defaultAllocationScore": 0,
            "coefficients": {
              "variant_a": {
                "intercept": 0.1,
                "numeric": [
                  { "key": "score_x", "coef": 0.37, "missing": 0 }
                ],
                "categorical": [
                  { "key": "tier", "values": { "gold": 0.21, "silver": 0.13, "bronze": -0.04 }, "missing": 0 }
                ]
              },
              "variant_b": {
                "intercept": 0.11,
                "numeric": [
                  { "key": "score_x", "coef": 0.37, "missing": 0 }
                ],
                "categorical": [
                  { "key": "tier", "values": { "gold": 0.2, "silver": 0.13, "bronze": -0.03 }, "missing": 0 }
                ]
              },
              "variant_c": {
                "intercept": 0.09,
                "numeric": [
                  { "key": "score_x", "coef": 0.38, "missing": 0 }
                ],
                "categorical": [
                  { "key": "tier", "values": { "gold": 0.2, "silver": 0.12, "bronze": -0.05 }, "missing": 0 }
                ]
              }
            }
          }
        }
      ]
    }
  ]
}
