models:
  - name: this_is_a_model
    tests:
      - elementary.volume_anomalies:
          where_expression: "user_name != 'test'"

Generate your anomaly test with Elementary AI

Let our Slack chatbot create the anomaly test you need.

where_expression: [sql expression]

Filter the tested data using a valid sql expression.

  • Default: None
  • Relevant tests: All anomaly detection tests
models:
  - name: this_is_a_model
    tests:
      - elementary.volume_anomalies:
          where_expression: "user_name != 'test'"