[
{
"name": "Expect outputs to be within 0 and 10 - GX test",
"description": "Use the `expect_column_mean_to_be_between` from GX to check min and max values for column `output`",
"type": "integrity",
"subtype": "greatExpectations",
"thresholds": [
{
"insightName": "greatExpectations",
"insightParameters": [
{
"name": "expectation_name",
"value": "expect_column_mean_to_be_between"
}, // Define the expectation from GX
{
"name": "expectation_kwargs",
"value": { "column": "output", "min_value": 0, "max_value": 10 }
}
], // Defines the expectation kwargs
"measurement": "success", // If the expectation is met, `success` is `true`
"operator": "is",
"value": true
}
],
"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
}
]