@@ -284,10 +284,8 @@ func (r CommitTestResultListResponseItemsGoalSubtype) IsKnown() bool {
284
284
285
285
type CommitTestResultListResponseItemsGoalThreshold struct {
286
286
// The insight name to be evaluated.
287
- InsightName CommitTestResultListResponseItemsGoalThresholdsInsightName `json:"insightName"`
288
- // The insight parameters. Required only for some test subtypes. For example, for
289
- // tests that require a column name, the insight parameters will be [{'name':
290
- // 'column_name', 'value': 'Age'}]
287
+ InsightName string `json:"insightName"`
288
+ // The insight parameters. Required only for some test subtypes.
291
289
InsightParameters []CommitTestResultListResponseItemsGoalThresholdsInsightParameter `json:"insightParameters,nullable"`
292
290
// The measurement to be evaluated.
293
291
Measurement string `json:"measurement"`
@@ -321,54 +319,6 @@ func (r commitTestResultListResponseItemsGoalThresholdJSON) RawJSON() string {
321
319
return r .raw
322
320
}
323
321
324
- // The insight name to be evaluated.
325
- type CommitTestResultListResponseItemsGoalThresholdsInsightName string
326
-
327
- const (
328
- CommitTestResultListResponseItemsGoalThresholdsInsightNameCharacterLength CommitTestResultListResponseItemsGoalThresholdsInsightName = "characterLength"
329
- CommitTestResultListResponseItemsGoalThresholdsInsightNameClassImbalance CommitTestResultListResponseItemsGoalThresholdsInsightName = "classImbalance"
330
- CommitTestResultListResponseItemsGoalThresholdsInsightNameExpectColumnAToBeInColumnB CommitTestResultListResponseItemsGoalThresholdsInsightName = "expectColumnAToBeInColumnB"
331
- CommitTestResultListResponseItemsGoalThresholdsInsightNameColumnAverage CommitTestResultListResponseItemsGoalThresholdsInsightName = "columnAverage"
332
- CommitTestResultListResponseItemsGoalThresholdsInsightNameColumnDrift CommitTestResultListResponseItemsGoalThresholdsInsightName = "columnDrift"
333
- CommitTestResultListResponseItemsGoalThresholdsInsightNameColumnValuesMatch CommitTestResultListResponseItemsGoalThresholdsInsightName = "columnValuesMatch"
334
- CommitTestResultListResponseItemsGoalThresholdsInsightNameConfidenceDistribution CommitTestResultListResponseItemsGoalThresholdsInsightName = "confidenceDistribution"
335
- CommitTestResultListResponseItemsGoalThresholdsInsightNameConflictingLabelRowCount CommitTestResultListResponseItemsGoalThresholdsInsightName = "conflictingLabelRowCount"
336
- CommitTestResultListResponseItemsGoalThresholdsInsightNameContainsPii CommitTestResultListResponseItemsGoalThresholdsInsightName = "containsPii"
337
- CommitTestResultListResponseItemsGoalThresholdsInsightNameContainsValidURL CommitTestResultListResponseItemsGoalThresholdsInsightName = "containsValidUrl"
338
- CommitTestResultListResponseItemsGoalThresholdsInsightNameCorrelatedFeatures CommitTestResultListResponseItemsGoalThresholdsInsightName = "correlatedFeatures"
339
- CommitTestResultListResponseItemsGoalThresholdsInsightNameCustomMetric CommitTestResultListResponseItemsGoalThresholdsInsightName = "customMetric"
340
- CommitTestResultListResponseItemsGoalThresholdsInsightNameDuplicateRowCount CommitTestResultListResponseItemsGoalThresholdsInsightName = "duplicateRowCount"
341
- CommitTestResultListResponseItemsGoalThresholdsInsightNameEmptyFeatures CommitTestResultListResponseItemsGoalThresholdsInsightName = "emptyFeatures"
342
- CommitTestResultListResponseItemsGoalThresholdsInsightNameFeatureDrift CommitTestResultListResponseItemsGoalThresholdsInsightName = "featureDrift"
343
- CommitTestResultListResponseItemsGoalThresholdsInsightNameFeatureProfile CommitTestResultListResponseItemsGoalThresholdsInsightName = "featureProfile"
344
- CommitTestResultListResponseItemsGoalThresholdsInsightNameGreatExpectations CommitTestResultListResponseItemsGoalThresholdsInsightName = "greatExpectations"
345
- CommitTestResultListResponseItemsGoalThresholdsInsightNameGroupByColumnStatsCheck CommitTestResultListResponseItemsGoalThresholdsInsightName = "groupByColumnStatsCheck"
346
- CommitTestResultListResponseItemsGoalThresholdsInsightNameIllFormedRowCount CommitTestResultListResponseItemsGoalThresholdsInsightName = "illFormedRowCount"
347
- CommitTestResultListResponseItemsGoalThresholdsInsightNameIsCode CommitTestResultListResponseItemsGoalThresholdsInsightName = "isCode"
348
- CommitTestResultListResponseItemsGoalThresholdsInsightNameIsJson CommitTestResultListResponseItemsGoalThresholdsInsightName = "isJson"
349
- CommitTestResultListResponseItemsGoalThresholdsInsightNameLlmRubricV2 CommitTestResultListResponseItemsGoalThresholdsInsightName = "llmRubricV2"
350
- CommitTestResultListResponseItemsGoalThresholdsInsightNameLabelDrift CommitTestResultListResponseItemsGoalThresholdsInsightName = "labelDrift"
351
- CommitTestResultListResponseItemsGoalThresholdsInsightNameMetrics CommitTestResultListResponseItemsGoalThresholdsInsightName = "metrics"
352
- CommitTestResultListResponseItemsGoalThresholdsInsightNameNewCategories CommitTestResultListResponseItemsGoalThresholdsInsightName = "newCategories"
353
- CommitTestResultListResponseItemsGoalThresholdsInsightNameNewLabels CommitTestResultListResponseItemsGoalThresholdsInsightName = "newLabels"
354
- CommitTestResultListResponseItemsGoalThresholdsInsightNameNullRowCount CommitTestResultListResponseItemsGoalThresholdsInsightName = "nullRowCount"
355
- CommitTestResultListResponseItemsGoalThresholdsInsightNamePpScore CommitTestResultListResponseItemsGoalThresholdsInsightName = "ppScore"
356
- CommitTestResultListResponseItemsGoalThresholdsInsightNameQuasiConstantFeatures CommitTestResultListResponseItemsGoalThresholdsInsightName = "quasiConstantFeatures"
357
- CommitTestResultListResponseItemsGoalThresholdsInsightNameSentenceLength CommitTestResultListResponseItemsGoalThresholdsInsightName = "sentenceLength"
358
- CommitTestResultListResponseItemsGoalThresholdsInsightNameSizeRatio CommitTestResultListResponseItemsGoalThresholdsInsightName = "sizeRatio"
359
- CommitTestResultListResponseItemsGoalThresholdsInsightNameSpecialCharacters CommitTestResultListResponseItemsGoalThresholdsInsightName = "specialCharacters"
360
- CommitTestResultListResponseItemsGoalThresholdsInsightNameStringValidation CommitTestResultListResponseItemsGoalThresholdsInsightName = "stringValidation"
361
- CommitTestResultListResponseItemsGoalThresholdsInsightNameTrainValLeakageRowCount CommitTestResultListResponseItemsGoalThresholdsInsightName = "trainValLeakageRowCount"
362
- )
363
-
364
- func (r CommitTestResultListResponseItemsGoalThresholdsInsightName ) IsKnown () bool {
365
- switch r {
366
- case CommitTestResultListResponseItemsGoalThresholdsInsightNameCharacterLength , CommitTestResultListResponseItemsGoalThresholdsInsightNameClassImbalance , CommitTestResultListResponseItemsGoalThresholdsInsightNameExpectColumnAToBeInColumnB , CommitTestResultListResponseItemsGoalThresholdsInsightNameColumnAverage , CommitTestResultListResponseItemsGoalThresholdsInsightNameColumnDrift , CommitTestResultListResponseItemsGoalThresholdsInsightNameColumnValuesMatch , CommitTestResultListResponseItemsGoalThresholdsInsightNameConfidenceDistribution , CommitTestResultListResponseItemsGoalThresholdsInsightNameConflictingLabelRowCount , CommitTestResultListResponseItemsGoalThresholdsInsightNameContainsPii , CommitTestResultListResponseItemsGoalThresholdsInsightNameContainsValidURL , CommitTestResultListResponseItemsGoalThresholdsInsightNameCorrelatedFeatures , CommitTestResultListResponseItemsGoalThresholdsInsightNameCustomMetric , CommitTestResultListResponseItemsGoalThresholdsInsightNameDuplicateRowCount , CommitTestResultListResponseItemsGoalThresholdsInsightNameEmptyFeatures , CommitTestResultListResponseItemsGoalThresholdsInsightNameFeatureDrift , CommitTestResultListResponseItemsGoalThresholdsInsightNameFeatureProfile , CommitTestResultListResponseItemsGoalThresholdsInsightNameGreatExpectations , CommitTestResultListResponseItemsGoalThresholdsInsightNameGroupByColumnStatsCheck , CommitTestResultListResponseItemsGoalThresholdsInsightNameIllFormedRowCount , CommitTestResultListResponseItemsGoalThresholdsInsightNameIsCode , CommitTestResultListResponseItemsGoalThresholdsInsightNameIsJson , CommitTestResultListResponseItemsGoalThresholdsInsightNameLlmRubricV2 , CommitTestResultListResponseItemsGoalThresholdsInsightNameLabelDrift , CommitTestResultListResponseItemsGoalThresholdsInsightNameMetrics , CommitTestResultListResponseItemsGoalThresholdsInsightNameNewCategories , CommitTestResultListResponseItemsGoalThresholdsInsightNameNewLabels , CommitTestResultListResponseItemsGoalThresholdsInsightNameNullRowCount , CommitTestResultListResponseItemsGoalThresholdsInsightNamePpScore , CommitTestResultListResponseItemsGoalThresholdsInsightNameQuasiConstantFeatures , CommitTestResultListResponseItemsGoalThresholdsInsightNameSentenceLength , CommitTestResultListResponseItemsGoalThresholdsInsightNameSizeRatio , CommitTestResultListResponseItemsGoalThresholdsInsightNameSpecialCharacters , CommitTestResultListResponseItemsGoalThresholdsInsightNameStringValidation , CommitTestResultListResponseItemsGoalThresholdsInsightNameTrainValLeakageRowCount :
367
- return true
368
- }
369
- return false
370
- }
371
-
372
322
type CommitTestResultListResponseItemsGoalThresholdsInsightParameter struct {
373
323
// The name of the insight filter.
374
324
Name string `json:"name,required"`
0 commit comments