{
  "description": "Test vectors for basic parameter resolution",
  "bundle": "bundle_basic.json",
  "testCases": [
    {
      "name": "user_abc_control_group",
      "context": {
        "userId": "user-abc"
      },
      "expectedHashing": {
        "layer_ui": {
          "bucket": 177,
          "comment": "SHA-256 v2 hash of 'user-abc:layer_ui' mod 1000"
        },
        "layer_pricing": {
          "bucket": 902,
          "comment": "SHA-256 v2 hash of 'user-abc:layer_pricing' mod 1000"
        }
      },
      "expectedAssignments": {
        "ui.primaryColor": "#0000FF",
        "ui.buttonText": "Click Me",
        "pricing.discount": 0
      },
      "comment": "User in control bucket for UI (177 < 500), no discount (902 >= 600)"
    },
    {
      "name": "user_xyz_control_group",
      "context": {
        "userId": "user-xyz"
      },
      "expectedHashing": {
        "layer_ui": {
          "bucket": 443,
          "comment": "SHA-256 v2 hash of 'user-xyz:layer_ui' mod 1000"
        },
        "layer_pricing": {
          "bucket": 141,
          "comment": "SHA-256 v2 hash of 'user-xyz:layer_pricing' mod 1000"
        }
      },
      "expectedAssignments": {
        "ui.primaryColor": "#0000FF",
        "ui.buttonText": "Click Me",
        "pricing.discount": 10
      },
      "comment": "User in control bucket for UI (443 < 500), 10% discount (141 in 0-299)"
    },
    {
      "name": "user_123_control",
      "context": {
        "userId": "user-123"
      },
      "expectedHashing": {
        "layer_ui": {
          "bucket": 480,
          "comment": "SHA-256 v2 hash of 'user-123:layer_ui' mod 1000"
        },
        "layer_pricing": {
          "bucket": 738,
          "comment": "SHA-256 v2 hash of 'user-123:layer_pricing' mod 1000"
        }
      },
      "expectedAssignments": {
        "ui.primaryColor": "#0000FF",
        "ui.buttonText": "Click Me",
        "pricing.discount": 0
      },
      "comment": "User in control bucket for UI (480 < 500), no discount (738 >= 600)"
    }
  ]
}
