[
{
"name": "Maximum character length of 5000",
"description": "Asserts that the output has at most 5000 characters",
"type": "integrity",
"subtype": "characterLength",
"thresholds": [
{
"insightName": "characterLength",
"insightParameters": [{ "name": "column_name", "value": "output" }], // Count characters in the column `output`
"measurement": "maxCharacterLength",
"operator": "<=",
"value": 5000
}
],
"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": "Minimum character length of 10",
"description": "Asserts that the output has at least 10 characters",
"type": "integrity",
"subtype": "characterLength",
"thresholds": [
{
"insightName": "characterLength",
"insightParameters": [{ "name": "column_name", "value": "output" }], // Count characters in the column `output`
"measurement": "minCharacterLength",
"operator": ">=",
"value": 10
}
],
"subpopulationFilters": null,
"mode": "development",
"usesValidationDataset": false,
"usesTrainingDataset": true, // Apply test to the training set
"usesMlModel": false,
"syncId": "96622fba-ea00-4e42-8f42-5e8f5f60805e" // Some unique id
}
]