> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openlayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Column values match

> Learn how to use the column values match test

## Definition

The column values match test checks if, for a given column, the values are the same between the current dataset
and the reference dataset.

* In **development projects**, the training set is used as the reference and the validation set as the current
  dataset.
* In **monitoring projects**, the reference dataset is [uploaded by the user](https://docs.openlayer.com/monitoring/uploading-reference-dataset.md)
  and the production data is the current dataset.

## Taxonomy

* **Task types**: LLM, tabular classification, tabular regression, text classification.
* **Availability**: development (Continuously evaluate your models and datasets as you iterate on their versions.).

## Why it matters

* The column values match test can help verifying that key attributes or features in your dataset remain consistent over time or across different datasets.

## Test configuration examples

If you are writing a `tests.json`, here are a few valid configurations for the character length test:

```json Development theme={null}
[
  {
    "name": "Values in `output` and `target` match",
    "description": "Make sure that rows in your two datasets have the same values for target_column_name where reference_column_name is also the same",
    "type": "consistency",
    "subtype": "columnValuesMatch",
    "thresholds": [
      {
        "insightName": "columnValuesMatch",
        "insightParameters": [
          { "name": "reference_column_name", "value": "openlayer_output" },
          { "name": "target_column_name", "value": "target" }
        ],
        "measurement": "failingRowPercentage",
        "operator": "<=",
        "value": 0.0
      }
    ],
    "subpopulationFilters": null,
    "mode": "development",
    "usesValidationDataset": true,
    "usesTrainingDataset": true,
    "usesMlModel": false,
    "syncId": "b4dee7dc-4f15-48ca-a282-63e2c04e0689"
  }
]
```

```json Monitoring theme={null}
[
  {
    "name": "Values in `output` and `target` match",
    "description": "Make sure that rows in your two datasets have the same values for target_column_name where reference_column_name is also the same",
    "type": "consistency",
    "subtype": "columnValuesMatch",
    "thresholds": [
      {
        "insightName": "columnValuesMatch",
        "insightParameters": [
          { "name": "reference_column_name", "value": "openlayer_output" },
          { "name": "target_column_name", "value": "target" }
        ],
        "measurement": "failingRowPercentage",
        "operator": "<=",
        "value": 0.0
      }
    ],
    "subpopulationFilters": null,
    "mode": "monitoring",
    "usesProductionData": true,
    "evaluationWindow": 3600,
    "delayWindow": 0,
    "syncId": "b4dee7dc-4f15-48ca-a282-63e2c04e0689"
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.