[
{
"name": "Average age within expected range",
"description": "Ensures the average age in the dataset is greater than 25",
"type": "integrity",
"subtype": "columnStatistic",
"thresholds": [
{
"insightName": "columnStatistic",
"insightParameters": [
{ "name": "column_name", "value": "age" }, // Select the column
{ "name": "statistic", "value": "mean" } // Select the statistic
],
"measurement": "columnStatistic",
"operator": ">",
"value": 25
}
],
"subpopulationFilters": null,
"mode": "development",
"usesValidationDataset": true, // Apply test to the validation set
"usesTrainingDataset": false,
"usesMlModel": false,
"syncId": "b4dee7dc-4f15-48ca-a282-63e2c04e0689" // Some unique id
},
{
"name": "Income variance stability check",
"description": "Ensures income variance doesn't exceed threshold, indicating stable distribution",
"type": "integrity",
"subtype": "columnStatistic",
"thresholds": [
{
"insightName": "columnStatistic",
"insightParameters": [
{ "name": "column_name", "value": "income" },
{ "name": "statistic", "value": "variance" }
],
"measurement": "columnStatistic",
"operator": "<=",
"value": 1000000 // Maximum acceptable variance
}
],
"subpopulationFilters": null,
"mode": "development",
"usesValidationDataset": true,
"usesTrainingDataset": false,
"usesMlModel": false,
"syncId": "96622fba-ea00-4e42-8f42-5e8f5f60805f" // Some unique id
}
]