Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Experiment_Definition Cassandra Table
  • Experiment Criteria Config

User Criteria Config

Code Block
languagejs
themeRDark
titleUserCriteriaConfig
collapsetrue
{
  "experiments": [
    {
      "exp_id": {
        "criteria": {
          "type": "user",
          "channel": "app/portal/desktop",
          "request": {
            "filters": {
              "organisations.orgName": [
                "sunbird"
              ],
              "framework.board": [
                "CBSE"
              ]
            }
          }
        }
      }
    },
    {
      "exp_id": {
        "criteria": {
          "type": "user",
          "channel": "app/portal/desktop",
          "request": {
            "filters": {
              "emailVerified": true
            }
          }
        }
      }
    }
  ]
}


Device Criteria Config

Code Block
languagejs
themeRDark
titleDeviceCriteriaConfig
collapsetrue
{
  "exp_id": {
    "criteria": {
      "type": "device",
      "channel": "app/portal/desktop",
      "request": {
        "filters": [
          {
            "name": "state",
            "operator": "IN",
            "value": [
              "Karnataka"
            ]
          },
          {
            "name": "first_access",
            "operator": "GT",
            "value": "2019-07-17"
          }
        ]
      }
    }
  }
}


Outputs

  • user experiment mappingĀ  index to elastic search
    user/device id
    experiment id.
    experiment joined date
    experiment exit date.

...