Skip to main content

Definition

The column statistics test allows you to set thresholds on statistical measures of individual columns in your dataset. You can select any column and specify a statistic (such as mean, median, variance, etc.), then define acceptable ranges or values for that statistic. This test computes the specified statistical measure for the chosen column and compares it against your defined threshold.

Taxonomy

  • Task types: LLM, tabular classification, tabular regression.
  • Availability: and .

Why it matters

  • Column statistics tests help ensure that your data maintains expected statistical properties over time.
  • They can detect data quality issues, distribution shifts, or unusual patterns in individual features.
  • These tests are essential for monitoring data consistency and ensuring that model inputs remain within expected ranges.
  • Statistical validation helps identify potential data pipeline issues or changes in data collection processes.

Available statistics

The following statistical measures are supported:

Test configuration examples

If you are writing a tests.json, here are a few valid configurations for the column statistics test: