openlayer 0.9.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1539 @@
1
+ module Openlayer
2
+ module Models
3
+ type test_list_results_response =
4
+ {
5
+ items: ::Array[Openlayer::Models::TestListResultsResponse::Item],
6
+ last_unskipped_result: Openlayer::Models::TestListResultsResponse::LastUnskippedResult?
7
+ }
8
+
9
+ class TestListResultsResponse < Openlayer::Internal::Type::BaseModel
10
+ attr_accessor items: ::Array[Openlayer::Models::TestListResultsResponse::Item]
11
+
12
+ attr_accessor last_unskipped_result: Openlayer::Models::TestListResultsResponse::LastUnskippedResult?
13
+
14
+ def initialize: (
15
+ items: ::Array[Openlayer::Models::TestListResultsResponse::Item],
16
+ ?last_unskipped_result: Openlayer::Models::TestListResultsResponse::LastUnskippedResult?
17
+ ) -> void
18
+
19
+ def to_hash: -> {
20
+ items: ::Array[Openlayer::Models::TestListResultsResponse::Item],
21
+ last_unskipped_result: Openlayer::Models::TestListResultsResponse::LastUnskippedResult?
22
+ }
23
+
24
+ type item =
25
+ {
26
+ id: String,
27
+ date_created: Time,
28
+ date_data_ends: Time?,
29
+ date_data_starts: Time?,
30
+ date_updated: Time,
31
+ inference_pipeline_id: String?,
32
+ project_version_id: String?,
33
+ status: Openlayer::Models::TestListResultsResponse::Item::status,
34
+ status_message: String?,
35
+ expected_values: ::Array[Openlayer::Models::TestListResultsResponse::Item::ExpectedValue],
36
+ goal: Openlayer::Models::TestListResultsResponse::Item::Goal,
37
+ goal_id: String?,
38
+ rows: String,
39
+ rows_body: Openlayer::Models::TestListResultsResponse::Item::RowsBody?
40
+ }
41
+
42
+ class Item < Openlayer::Internal::Type::BaseModel
43
+ attr_accessor status: Openlayer::Models::TestListResultsResponse::Item::status
44
+
45
+ attr_accessor status_message: String?
46
+
47
+ attr_reader expected_values: ::Array[Openlayer::Models::TestListResultsResponse::Item::ExpectedValue]?
48
+
49
+ def expected_values=: (
50
+ ::Array[Openlayer::Models::TestListResultsResponse::Item::ExpectedValue]
51
+ ) -> ::Array[Openlayer::Models::TestListResultsResponse::Item::ExpectedValue]
52
+
53
+ attr_reader goal: Openlayer::Models::TestListResultsResponse::Item::Goal?
54
+
55
+ def goal=: (
56
+ Openlayer::Models::TestListResultsResponse::Item::Goal
57
+ ) -> Openlayer::Models::TestListResultsResponse::Item::Goal
58
+
59
+ attr_reader rows: String?
60
+
61
+ def rows=: (String) -> String
62
+
63
+ attr_accessor rows_body: Openlayer::Models::TestListResultsResponse::Item::RowsBody?
64
+
65
+ attr_accessor id: String
66
+
67
+ attr_accessor date_created: Time
68
+
69
+ attr_accessor date_data_ends: Time?
70
+
71
+ attr_accessor date_data_starts: Time?
72
+
73
+ attr_accessor date_updated: Time
74
+
75
+ attr_accessor inference_pipeline_id: String?
76
+
77
+ attr_accessor project_version_id: String?
78
+
79
+ attr_accessor goal_id: String?
80
+
81
+ def initialize: (
82
+ id: String,
83
+ date_created: Time,
84
+ date_data_ends: Time?,
85
+ date_data_starts: Time?,
86
+ date_updated: Time,
87
+ inference_pipeline_id: String?,
88
+ project_version_id: String?,
89
+ status: Openlayer::Models::TestListResultsResponse::Item::status,
90
+ status_message: String?,
91
+ ?expected_values: ::Array[Openlayer::Models::TestListResultsResponse::Item::ExpectedValue],
92
+ ?goal: Openlayer::Models::TestListResultsResponse::Item::Goal,
93
+ ?goal_id: String?,
94
+ ?rows: String,
95
+ ?rows_body: Openlayer::Models::TestListResultsResponse::Item::RowsBody?
96
+ ) -> void
97
+
98
+ def to_hash: -> {
99
+ id: String,
100
+ date_created: Time,
101
+ date_data_ends: Time?,
102
+ date_data_starts: Time?,
103
+ date_updated: Time,
104
+ inference_pipeline_id: String?,
105
+ project_version_id: String?,
106
+ status: Openlayer::Models::TestListResultsResponse::Item::status,
107
+ status_message: String?,
108
+ expected_values: ::Array[Openlayer::Models::TestListResultsResponse::Item::ExpectedValue],
109
+ goal: Openlayer::Models::TestListResultsResponse::Item::Goal,
110
+ goal_id: String?,
111
+ rows: String,
112
+ rows_body: Openlayer::Models::TestListResultsResponse::Item::RowsBody?
113
+ }
114
+
115
+ type status = :running | :passing | :failing | :skipped | :error
116
+
117
+ module Status
118
+ extend Openlayer::Internal::Type::Enum
119
+
120
+ RUNNING: :running
121
+ PASSING: :passing
122
+ FAILING: :failing
123
+ SKIPPED: :skipped
124
+ ERROR: :error
125
+
126
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::status]
127
+ end
128
+
129
+ type expected_value =
130
+ {
131
+ lower_threshold: Float?,
132
+ measurement: String,
133
+ upper_threshold: Float?
134
+ }
135
+
136
+ class ExpectedValue < Openlayer::Internal::Type::BaseModel
137
+ attr_accessor lower_threshold: Float?
138
+
139
+ attr_reader measurement: String?
140
+
141
+ def measurement=: (String) -> String
142
+
143
+ attr_accessor upper_threshold: Float?
144
+
145
+ def initialize: (
146
+ ?lower_threshold: Float?,
147
+ ?measurement: String,
148
+ ?upper_threshold: Float?
149
+ ) -> void
150
+
151
+ def to_hash: -> {
152
+ lower_threshold: Float?,
153
+ measurement: String,
154
+ upper_threshold: Float?
155
+ }
156
+ end
157
+
158
+ type goal =
159
+ {
160
+ id: String,
161
+ comment_count: Integer,
162
+ creator_id: String?,
163
+ date_archived: Time?,
164
+ date_created: Time,
165
+ date_updated: Time,
166
+ description: top?,
167
+ name: String,
168
+ number: Integer,
169
+ origin_project_version_id: String?,
170
+ subtype: Openlayer::Models::TestListResultsResponse::Item::Goal::subtype,
171
+ suggested: bool,
172
+ thresholds: ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold],
173
+ type: Openlayer::Models::TestListResultsResponse::Item::Goal::type_,
174
+ archived: bool,
175
+ delay_window: Float?,
176
+ evaluation_window: Float?,
177
+ uses_ml_model: bool,
178
+ uses_production_data: bool,
179
+ uses_reference_dataset: bool,
180
+ uses_training_dataset: bool,
181
+ uses_validation_dataset: bool
182
+ }
183
+
184
+ class Goal < Openlayer::Internal::Type::BaseModel
185
+ attr_accessor description: top?
186
+
187
+ attr_accessor name: String
188
+
189
+ attr_accessor subtype: Openlayer::Models::TestListResultsResponse::Item::Goal::subtype
190
+
191
+ attr_accessor thresholds: ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold]
192
+
193
+ attr_accessor type: Openlayer::Models::TestListResultsResponse::Item::Goal::type_
194
+
195
+ attr_reader archived: bool?
196
+
197
+ def archived=: (bool) -> bool
198
+
199
+ attr_accessor delay_window: Float?
200
+
201
+ attr_accessor evaluation_window: Float?
202
+
203
+ attr_reader uses_ml_model: bool?
204
+
205
+ def uses_ml_model=: (bool) -> bool
206
+
207
+ attr_reader uses_production_data: bool?
208
+
209
+ def uses_production_data=: (bool) -> bool
210
+
211
+ attr_reader uses_reference_dataset: bool?
212
+
213
+ def uses_reference_dataset=: (bool) -> bool
214
+
215
+ attr_reader uses_training_dataset: bool?
216
+
217
+ def uses_training_dataset=: (bool) -> bool
218
+
219
+ attr_reader uses_validation_dataset: bool?
220
+
221
+ def uses_validation_dataset=: (bool) -> bool
222
+
223
+ attr_accessor id: String
224
+
225
+ attr_accessor comment_count: Integer
226
+
227
+ attr_accessor creator_id: String?
228
+
229
+ attr_accessor date_archived: Time?
230
+
231
+ attr_accessor date_created: Time
232
+
233
+ attr_accessor date_updated: Time
234
+
235
+ attr_accessor number: Integer
236
+
237
+ attr_accessor origin_project_version_id: String?
238
+
239
+ attr_accessor suggested: bool
240
+
241
+ def initialize: (
242
+ id: String,
243
+ comment_count: Integer,
244
+ creator_id: String?,
245
+ date_archived: Time?,
246
+ date_created: Time,
247
+ date_updated: Time,
248
+ description: top?,
249
+ name: String,
250
+ number: Integer,
251
+ origin_project_version_id: String?,
252
+ subtype: Openlayer::Models::TestListResultsResponse::Item::Goal::subtype,
253
+ suggested: bool,
254
+ thresholds: ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold],
255
+ type: Openlayer::Models::TestListResultsResponse::Item::Goal::type_,
256
+ ?archived: bool,
257
+ ?delay_window: Float?,
258
+ ?evaluation_window: Float?,
259
+ ?uses_ml_model: bool,
260
+ ?uses_production_data: bool,
261
+ ?uses_reference_dataset: bool,
262
+ ?uses_training_dataset: bool,
263
+ ?uses_validation_dataset: bool
264
+ ) -> void
265
+
266
+ def to_hash: -> {
267
+ id: String,
268
+ comment_count: Integer,
269
+ creator_id: String?,
270
+ date_archived: Time?,
271
+ date_created: Time,
272
+ date_updated: Time,
273
+ description: top?,
274
+ name: String,
275
+ number: Integer,
276
+ origin_project_version_id: String?,
277
+ subtype: Openlayer::Models::TestListResultsResponse::Item::Goal::subtype,
278
+ suggested: bool,
279
+ thresholds: ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold],
280
+ type: Openlayer::Models::TestListResultsResponse::Item::Goal::type_,
281
+ archived: bool,
282
+ delay_window: Float?,
283
+ evaluation_window: Float?,
284
+ uses_ml_model: bool,
285
+ uses_production_data: bool,
286
+ uses_reference_dataset: bool,
287
+ uses_training_dataset: bool,
288
+ uses_validation_dataset: bool
289
+ }
290
+
291
+ type subtype =
292
+ :anomalousColumnCount
293
+ | :characterLength
294
+ | :classImbalanceRatio
295
+ | :expectColumnAToBeInColumnB
296
+ | :columnAverage
297
+ | :columnDrift
298
+ | :columnStatistic
299
+ | :columnValuesMatch
300
+ | :conflictingLabelRowCount
301
+ | :containsPii
302
+ | :containsValidUrl
303
+ | :correlatedFeatureCount
304
+ | :customMetricThreshold
305
+ | :duplicateRowCount
306
+ | :emptyFeature
307
+ | :emptyFeatureCount
308
+ | :driftedFeatureCount
309
+ | :featureMissingValues
310
+ | :featureValueValidation
311
+ | :greatExpectations
312
+ | :groupByColumnStatsCheck
313
+ | :illFormedRowCount
314
+ | :isCode
315
+ | :isJson
316
+ | :llmRubricThresholdV2
317
+ | :labelDrift
318
+ | :metricThreshold
319
+ | :newCategoryCount
320
+ | :newLabelCount
321
+ | :nullRowCount
322
+ | :rowCount
323
+ | :ppScoreValueValidation
324
+ | :quasiConstantFeature
325
+ | :quasiConstantFeatureCount
326
+ | :sqlQuery
327
+ | :dtypeValidation
328
+ | :sentenceLength
329
+ | :sizeRatio
330
+ | :specialCharactersRatio
331
+ | :stringValidation
332
+ | :trainValLeakageRowCount
333
+
334
+ module Subtype
335
+ extend Openlayer::Internal::Type::Enum
336
+
337
+ ANOMALOUS_COLUMN_COUNT: :anomalousColumnCount
338
+ CHARACTER_LENGTH: :characterLength
339
+ CLASS_IMBALANCE_RATIO: :classImbalanceRatio
340
+ EXPECT_COLUMN_A_TO_BE_IN_COLUMN_B: :expectColumnAToBeInColumnB
341
+ COLUMN_AVERAGE: :columnAverage
342
+ COLUMN_DRIFT: :columnDrift
343
+ COLUMN_STATISTIC: :columnStatistic
344
+ COLUMN_VALUES_MATCH: :columnValuesMatch
345
+ CONFLICTING_LABEL_ROW_COUNT: :conflictingLabelRowCount
346
+ CONTAINS_PII: :containsPii
347
+ CONTAINS_VALID_URL: :containsValidUrl
348
+ CORRELATED_FEATURE_COUNT: :correlatedFeatureCount
349
+ CUSTOM_METRIC_THRESHOLD: :customMetricThreshold
350
+ DUPLICATE_ROW_COUNT: :duplicateRowCount
351
+ EMPTY_FEATURE: :emptyFeature
352
+ EMPTY_FEATURE_COUNT: :emptyFeatureCount
353
+ DRIFTED_FEATURE_COUNT: :driftedFeatureCount
354
+ FEATURE_MISSING_VALUES: :featureMissingValues
355
+ FEATURE_VALUE_VALIDATION: :featureValueValidation
356
+ GREAT_EXPECTATIONS: :greatExpectations
357
+ GROUP_BY_COLUMN_STATS_CHECK: :groupByColumnStatsCheck
358
+ ILL_FORMED_ROW_COUNT: :illFormedRowCount
359
+ IS_CODE: :isCode
360
+ IS_JSON: :isJson
361
+ LLM_RUBRIC_THRESHOLD_V2: :llmRubricThresholdV2
362
+ LABEL_DRIFT: :labelDrift
363
+ METRIC_THRESHOLD: :metricThreshold
364
+ NEW_CATEGORY_COUNT: :newCategoryCount
365
+ NEW_LABEL_COUNT: :newLabelCount
366
+ NULL_ROW_COUNT: :nullRowCount
367
+ ROW_COUNT: :rowCount
368
+ PP_SCORE_VALUE_VALIDATION: :ppScoreValueValidation
369
+ QUASI_CONSTANT_FEATURE: :quasiConstantFeature
370
+ QUASI_CONSTANT_FEATURE_COUNT: :quasiConstantFeatureCount
371
+ SQL_QUERY: :sqlQuery
372
+ DTYPE_VALIDATION: :dtypeValidation
373
+ SENTENCE_LENGTH: :sentenceLength
374
+ SIZE_RATIO: :sizeRatio
375
+ SPECIAL_CHARACTERS_RATIO: :specialCharactersRatio
376
+ STRING_VALIDATION: :stringValidation
377
+ TRAIN_VAL_LEAKAGE_ROW_COUNT: :trainValLeakageRowCount
378
+
379
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::subtype]
380
+ end
381
+
382
+ type threshold =
383
+ {
384
+ insight_name: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::insight_name,
385
+ insight_parameters: ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::InsightParameter]?,
386
+ measurement: String,
387
+ operator: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::operator,
388
+ threshold_mode: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::threshold_mode,
389
+ value: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::value
390
+ }
391
+
392
+ class Threshold < Openlayer::Internal::Type::BaseModel
393
+ attr_reader insight_name: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::insight_name?
394
+
395
+ def insight_name=: (
396
+ Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::insight_name
397
+ ) -> Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::insight_name
398
+
399
+ attr_accessor insight_parameters: ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::InsightParameter]?
400
+
401
+ attr_reader measurement: String?
402
+
403
+ def measurement=: (String) -> String
404
+
405
+ attr_reader operator: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::operator?
406
+
407
+ def operator=: (
408
+ Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::operator
409
+ ) -> Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::operator
410
+
411
+ attr_reader threshold_mode: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::threshold_mode?
412
+
413
+ def threshold_mode=: (
414
+ Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::threshold_mode
415
+ ) -> Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::threshold_mode
416
+
417
+ attr_reader value: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::value?
418
+
419
+ def value=: (
420
+ Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::value
421
+ ) -> Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::value
422
+
423
+ def initialize: (
424
+ ?insight_name: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::insight_name,
425
+ ?insight_parameters: ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::InsightParameter]?,
426
+ ?measurement: String,
427
+ ?operator: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::operator,
428
+ ?threshold_mode: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::threshold_mode,
429
+ ?value: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::value
430
+ ) -> void
431
+
432
+ def to_hash: -> {
433
+ insight_name: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::insight_name,
434
+ insight_parameters: ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::InsightParameter]?,
435
+ measurement: String,
436
+ operator: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::operator,
437
+ threshold_mode: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::threshold_mode,
438
+ value: Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::value
439
+ }
440
+
441
+ type insight_name =
442
+ :characterLength
443
+ | :classImbalance
444
+ | :expectColumnAToBeInColumnB
445
+ | :columnAverage
446
+ | :columnDrift
447
+ | :columnValuesMatch
448
+ | :confidenceDistribution
449
+ | :conflictingLabelRowCount
450
+ | :containsPii
451
+ | :containsValidUrl
452
+ | :correlatedFeatures
453
+ | :customMetric
454
+ | :duplicateRowCount
455
+ | :emptyFeatures
456
+ | :featureDrift
457
+ | :featureProfile
458
+ | :greatExpectations
459
+ | :groupByColumnStatsCheck
460
+ | :illFormedRowCount
461
+ | :isCode
462
+ | :isJson
463
+ | :llmRubricV2
464
+ | :labelDrift
465
+ | :metrics
466
+ | :newCategories
467
+ | :newLabels
468
+ | :nullRowCount
469
+ | :ppScore
470
+ | :quasiConstantFeatures
471
+ | :sentenceLength
472
+ | :sizeRatio
473
+ | :specialCharacters
474
+ | :stringValidation
475
+ | :trainValLeakageRowCount
476
+
477
+ module InsightName
478
+ extend Openlayer::Internal::Type::Enum
479
+
480
+ CHARACTER_LENGTH: :characterLength
481
+ CLASS_IMBALANCE: :classImbalance
482
+ EXPECT_COLUMN_A_TO_BE_IN_COLUMN_B: :expectColumnAToBeInColumnB
483
+ COLUMN_AVERAGE: :columnAverage
484
+ COLUMN_DRIFT: :columnDrift
485
+ COLUMN_VALUES_MATCH: :columnValuesMatch
486
+ CONFIDENCE_DISTRIBUTION: :confidenceDistribution
487
+ CONFLICTING_LABEL_ROW_COUNT: :conflictingLabelRowCount
488
+ CONTAINS_PII: :containsPii
489
+ CONTAINS_VALID_URL: :containsValidUrl
490
+ CORRELATED_FEATURES: :correlatedFeatures
491
+ CUSTOM_METRIC: :customMetric
492
+ DUPLICATE_ROW_COUNT: :duplicateRowCount
493
+ EMPTY_FEATURES: :emptyFeatures
494
+ FEATURE_DRIFT: :featureDrift
495
+ FEATURE_PROFILE: :featureProfile
496
+ GREAT_EXPECTATIONS: :greatExpectations
497
+ GROUP_BY_COLUMN_STATS_CHECK: :groupByColumnStatsCheck
498
+ ILL_FORMED_ROW_COUNT: :illFormedRowCount
499
+ IS_CODE: :isCode
500
+ IS_JSON: :isJson
501
+ LLM_RUBRIC_V2: :llmRubricV2
502
+ LABEL_DRIFT: :labelDrift
503
+ METRICS: :metrics
504
+ NEW_CATEGORIES: :newCategories
505
+ NEW_LABELS: :newLabels
506
+ NULL_ROW_COUNT: :nullRowCount
507
+ PP_SCORE: :ppScore
508
+ QUASI_CONSTANT_FEATURES: :quasiConstantFeatures
509
+ SENTENCE_LENGTH: :sentenceLength
510
+ SIZE_RATIO: :sizeRatio
511
+ SPECIAL_CHARACTERS: :specialCharacters
512
+ STRING_VALIDATION: :stringValidation
513
+ TRAIN_VAL_LEAKAGE_ROW_COUNT: :trainValLeakageRowCount
514
+
515
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::insight_name]
516
+ end
517
+
518
+ type insight_parameter = { name: String, value: top }
519
+
520
+ class InsightParameter < Openlayer::Internal::Type::BaseModel
521
+ attr_accessor name: String
522
+
523
+ attr_accessor value: top
524
+
525
+ def initialize: (name: String, value: top) -> void
526
+
527
+ def to_hash: -> { name: String, value: top }
528
+ end
529
+
530
+ type operator = :is | :> | :>= | :< | :<= | :!=
531
+
532
+ module Operator
533
+ extend Openlayer::Internal::Type::Enum
534
+
535
+ IS: :is
536
+ GREATER: :>
537
+ GREATER_OR_EQUALS: :>=
538
+ LESS: :<
539
+ LESS_OR_EQUALS: :<=
540
+ NOT_EQUALS: :!=
541
+
542
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::operator]
543
+ end
544
+
545
+ type threshold_mode = :automatic | :manual
546
+
547
+ module ThresholdMode
548
+ extend Openlayer::Internal::Type::Enum
549
+
550
+ AUTOMATIC: :automatic
551
+ MANUAL: :manual
552
+
553
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::threshold_mode]
554
+ end
555
+
556
+ type value = Float | bool | String | ::Array[String]
557
+
558
+ module Value
559
+ extend Openlayer::Internal::Type::Union
560
+
561
+ def self?.variants: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::Threshold::value]
562
+
563
+ StringArray: Openlayer::Internal::Type::Converter
564
+ end
565
+ end
566
+
567
+ type type_ = :integrity | :consistency | :performance
568
+
569
+ module Type
570
+ extend Openlayer::Internal::Type::Enum
571
+
572
+ INTEGRITY: :integrity
573
+ CONSISTENCY: :consistency
574
+ PERFORMANCE: :performance
575
+
576
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::Goal::type_]
577
+ end
578
+ end
579
+
580
+ type rows_body =
581
+ {
582
+ column_filters: ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::column_filter]?,
583
+ exclude_row_id_list: ::Array[Integer]?,
584
+ not_search_query_and: ::Array[String]?,
585
+ not_search_query_or: ::Array[String]?,
586
+ row_id_list: ::Array[Integer]?,
587
+ search_query_and: ::Array[String]?,
588
+ search_query_or: ::Array[String]?
589
+ }
590
+
591
+ class RowsBody < Openlayer::Internal::Type::BaseModel
592
+ attr_accessor column_filters: ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::column_filter]?
593
+
594
+ attr_accessor exclude_row_id_list: ::Array[Integer]?
595
+
596
+ attr_accessor not_search_query_and: ::Array[String]?
597
+
598
+ attr_accessor not_search_query_or: ::Array[String]?
599
+
600
+ attr_accessor row_id_list: ::Array[Integer]?
601
+
602
+ attr_accessor search_query_and: ::Array[String]?
603
+
604
+ attr_accessor search_query_or: ::Array[String]?
605
+
606
+ def initialize: (
607
+ ?column_filters: ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::column_filter]?,
608
+ ?exclude_row_id_list: ::Array[Integer]?,
609
+ ?not_search_query_and: ::Array[String]?,
610
+ ?not_search_query_or: ::Array[String]?,
611
+ ?row_id_list: ::Array[Integer]?,
612
+ ?search_query_and: ::Array[String]?,
613
+ ?search_query_or: ::Array[String]?
614
+ ) -> void
615
+
616
+ def to_hash: -> {
617
+ column_filters: ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::column_filter]?,
618
+ exclude_row_id_list: ::Array[Integer]?,
619
+ not_search_query_and: ::Array[String]?,
620
+ not_search_query_or: ::Array[String]?,
621
+ row_id_list: ::Array[Integer]?,
622
+ search_query_and: ::Array[String]?,
623
+ search_query_or: ::Array[String]?
624
+ }
625
+
626
+ type column_filter =
627
+ Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter
628
+ | Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::NumericColumnFilter
629
+ | Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter
630
+
631
+ module ColumnFilter
632
+ extend Openlayer::Internal::Type::Union
633
+
634
+ type set_column_filter =
635
+ {
636
+ measurement: String,
637
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::operator,
638
+ value: ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::value]
639
+ }
640
+
641
+ class SetColumnFilter < Openlayer::Internal::Type::BaseModel
642
+ attr_accessor measurement: String
643
+
644
+ attr_accessor operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::operator
645
+
646
+ attr_accessor value: ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::value]
647
+
648
+ def initialize: (
649
+ measurement: String,
650
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::operator,
651
+ value: ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::value]
652
+ ) -> void
653
+
654
+ def to_hash: -> {
655
+ measurement: String,
656
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::operator,
657
+ value: ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::value]
658
+ }
659
+
660
+ type operator =
661
+ :contains_none
662
+ | :contains_any
663
+ | :contains_all
664
+ | :one_of
665
+ | :none_of
666
+
667
+ module Operator
668
+ extend Openlayer::Internal::Type::Enum
669
+
670
+ CONTAINS_NONE: :contains_none
671
+ CONTAINS_ANY: :contains_any
672
+ CONTAINS_ALL: :contains_all
673
+ ONE_OF: :one_of
674
+ NONE_OF: :none_of
675
+
676
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::operator]
677
+ end
678
+
679
+ type value = String | Float
680
+
681
+ module Value
682
+ extend Openlayer::Internal::Type::Union
683
+
684
+ def self?.variants: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::SetColumnFilter::value]
685
+ end
686
+ end
687
+
688
+ type numeric_column_filter =
689
+ {
690
+ measurement: String,
691
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::NumericColumnFilter::operator,
692
+ value: Float?
693
+ }
694
+
695
+ class NumericColumnFilter < Openlayer::Internal::Type::BaseModel
696
+ attr_accessor measurement: String
697
+
698
+ attr_accessor operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::NumericColumnFilter::operator
699
+
700
+ attr_accessor value: Float?
701
+
702
+ def initialize: (
703
+ measurement: String,
704
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::NumericColumnFilter::operator,
705
+ value: Float?
706
+ ) -> void
707
+
708
+ def to_hash: -> {
709
+ measurement: String,
710
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::NumericColumnFilter::operator,
711
+ value: Float?
712
+ }
713
+
714
+ type operator = :> | :>= | :is | :< | :<= | :!=
715
+
716
+ module Operator
717
+ extend Openlayer::Internal::Type::Enum
718
+
719
+ GREATER: :>
720
+ GREATER_OR_EQUALS: :>=
721
+ IS: :is
722
+ LESS: :<
723
+ LESS_OR_EQUALS: :<=
724
+ NOT_EQUALS: :!=
725
+
726
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::NumericColumnFilter::operator]
727
+ end
728
+ end
729
+
730
+ type string_column_filter =
731
+ {
732
+ measurement: String,
733
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::operator,
734
+ value: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::value
735
+ }
736
+
737
+ class StringColumnFilter < Openlayer::Internal::Type::BaseModel
738
+ attr_accessor measurement: String
739
+
740
+ attr_accessor operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::operator
741
+
742
+ attr_accessor value: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::value
743
+
744
+ def initialize: (
745
+ measurement: String,
746
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::operator,
747
+ value: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::value
748
+ ) -> void
749
+
750
+ def to_hash: -> {
751
+ measurement: String,
752
+ operator: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::operator,
753
+ value: Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::value
754
+ }
755
+
756
+ type operator = :is | :!=
757
+
758
+ module Operator
759
+ extend Openlayer::Internal::Type::Enum
760
+
761
+ IS: :is
762
+ NOT_EQUALS: :!=
763
+
764
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::operator]
765
+ end
766
+
767
+ type value = String | bool
768
+
769
+ module Value
770
+ extend Openlayer::Internal::Type::Union
771
+
772
+ def self?.variants: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::ColumnFilter::StringColumnFilter::value]
773
+ end
774
+ end
775
+
776
+ def self?.variants: -> ::Array[Openlayer::Models::TestListResultsResponse::Item::RowsBody::column_filter]
777
+ end
778
+ end
779
+ end
780
+
781
+ type last_unskipped_result =
782
+ {
783
+ id: String,
784
+ date_created: Time,
785
+ date_data_ends: Time?,
786
+ date_data_starts: Time?,
787
+ date_updated: Time,
788
+ inference_pipeline_id: String?,
789
+ project_version_id: String?,
790
+ status: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::status,
791
+ status_message: String?,
792
+ expected_values: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::ExpectedValue],
793
+ goal: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal,
794
+ goal_id: String?,
795
+ rows: String,
796
+ rows_body: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody?
797
+ }
798
+
799
+ class LastUnskippedResult < Openlayer::Internal::Type::BaseModel
800
+ attr_accessor status: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::status
801
+
802
+ attr_accessor status_message: String?
803
+
804
+ attr_reader expected_values: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::ExpectedValue]?
805
+
806
+ def expected_values=: (
807
+ ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::ExpectedValue]
808
+ ) -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::ExpectedValue]
809
+
810
+ attr_reader goal: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal?
811
+
812
+ def goal=: (
813
+ Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal
814
+ ) -> Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal
815
+
816
+ attr_reader rows: String?
817
+
818
+ def rows=: (String) -> String
819
+
820
+ attr_accessor rows_body: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody?
821
+
822
+ attr_accessor id: String
823
+
824
+ attr_accessor date_created: Time
825
+
826
+ attr_accessor date_data_ends: Time?
827
+
828
+ attr_accessor date_data_starts: Time?
829
+
830
+ attr_accessor date_updated: Time
831
+
832
+ attr_accessor inference_pipeline_id: String?
833
+
834
+ attr_accessor project_version_id: String?
835
+
836
+ attr_accessor goal_id: String?
837
+
838
+ def initialize: (
839
+ id: String,
840
+ date_created: Time,
841
+ date_data_ends: Time?,
842
+ date_data_starts: Time?,
843
+ date_updated: Time,
844
+ inference_pipeline_id: String?,
845
+ project_version_id: String?,
846
+ status: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::status,
847
+ status_message: String?,
848
+ ?expected_values: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::ExpectedValue],
849
+ ?goal: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal,
850
+ ?goal_id: String?,
851
+ ?rows: String,
852
+ ?rows_body: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody?
853
+ ) -> void
854
+
855
+ def to_hash: -> {
856
+ id: String,
857
+ date_created: Time,
858
+ date_data_ends: Time?,
859
+ date_data_starts: Time?,
860
+ date_updated: Time,
861
+ inference_pipeline_id: String?,
862
+ project_version_id: String?,
863
+ status: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::status,
864
+ status_message: String?,
865
+ expected_values: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::ExpectedValue],
866
+ goal: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal,
867
+ goal_id: String?,
868
+ rows: String,
869
+ rows_body: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody?
870
+ }
871
+
872
+ type status = :running | :passing | :failing | :skipped | :error
873
+
874
+ module Status
875
+ extend Openlayer::Internal::Type::Enum
876
+
877
+ RUNNING: :running
878
+ PASSING: :passing
879
+ FAILING: :failing
880
+ SKIPPED: :skipped
881
+ ERROR: :error
882
+
883
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::status]
884
+ end
885
+
886
+ type expected_value =
887
+ {
888
+ lower_threshold: Float?,
889
+ measurement: String,
890
+ upper_threshold: Float?
891
+ }
892
+
893
+ class ExpectedValue < Openlayer::Internal::Type::BaseModel
894
+ attr_accessor lower_threshold: Float?
895
+
896
+ attr_reader measurement: String?
897
+
898
+ def measurement=: (String) -> String
899
+
900
+ attr_accessor upper_threshold: Float?
901
+
902
+ def initialize: (
903
+ ?lower_threshold: Float?,
904
+ ?measurement: String,
905
+ ?upper_threshold: Float?
906
+ ) -> void
907
+
908
+ def to_hash: -> {
909
+ lower_threshold: Float?,
910
+ measurement: String,
911
+ upper_threshold: Float?
912
+ }
913
+ end
914
+
915
+ type goal =
916
+ {
917
+ id: String,
918
+ comment_count: Integer,
919
+ creator_id: String?,
920
+ date_archived: Time?,
921
+ date_created: Time,
922
+ date_updated: Time,
923
+ description: top?,
924
+ name: String,
925
+ number: Integer,
926
+ origin_project_version_id: String?,
927
+ subtype: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::subtype,
928
+ suggested: bool,
929
+ thresholds: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold],
930
+ type: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::type_,
931
+ archived: bool,
932
+ delay_window: Float?,
933
+ evaluation_window: Float?,
934
+ uses_ml_model: bool,
935
+ uses_production_data: bool,
936
+ uses_reference_dataset: bool,
937
+ uses_training_dataset: bool,
938
+ uses_validation_dataset: bool
939
+ }
940
+
941
+ class Goal < Openlayer::Internal::Type::BaseModel
942
+ attr_accessor description: top?
943
+
944
+ attr_accessor name: String
945
+
946
+ attr_accessor subtype: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::subtype
947
+
948
+ attr_accessor thresholds: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold]
949
+
950
+ attr_accessor type: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::type_
951
+
952
+ attr_reader archived: bool?
953
+
954
+ def archived=: (bool) -> bool
955
+
956
+ attr_accessor delay_window: Float?
957
+
958
+ attr_accessor evaluation_window: Float?
959
+
960
+ attr_reader uses_ml_model: bool?
961
+
962
+ def uses_ml_model=: (bool) -> bool
963
+
964
+ attr_reader uses_production_data: bool?
965
+
966
+ def uses_production_data=: (bool) -> bool
967
+
968
+ attr_reader uses_reference_dataset: bool?
969
+
970
+ def uses_reference_dataset=: (bool) -> bool
971
+
972
+ attr_reader uses_training_dataset: bool?
973
+
974
+ def uses_training_dataset=: (bool) -> bool
975
+
976
+ attr_reader uses_validation_dataset: bool?
977
+
978
+ def uses_validation_dataset=: (bool) -> bool
979
+
980
+ attr_accessor id: String
981
+
982
+ attr_accessor comment_count: Integer
983
+
984
+ attr_accessor creator_id: String?
985
+
986
+ attr_accessor date_archived: Time?
987
+
988
+ attr_accessor date_created: Time
989
+
990
+ attr_accessor date_updated: Time
991
+
992
+ attr_accessor number: Integer
993
+
994
+ attr_accessor origin_project_version_id: String?
995
+
996
+ attr_accessor suggested: bool
997
+
998
+ def initialize: (
999
+ id: String,
1000
+ comment_count: Integer,
1001
+ creator_id: String?,
1002
+ date_archived: Time?,
1003
+ date_created: Time,
1004
+ date_updated: Time,
1005
+ description: top?,
1006
+ name: String,
1007
+ number: Integer,
1008
+ origin_project_version_id: String?,
1009
+ subtype: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::subtype,
1010
+ suggested: bool,
1011
+ thresholds: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold],
1012
+ type: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::type_,
1013
+ ?archived: bool,
1014
+ ?delay_window: Float?,
1015
+ ?evaluation_window: Float?,
1016
+ ?uses_ml_model: bool,
1017
+ ?uses_production_data: bool,
1018
+ ?uses_reference_dataset: bool,
1019
+ ?uses_training_dataset: bool,
1020
+ ?uses_validation_dataset: bool
1021
+ ) -> void
1022
+
1023
+ def to_hash: -> {
1024
+ id: String,
1025
+ comment_count: Integer,
1026
+ creator_id: String?,
1027
+ date_archived: Time?,
1028
+ date_created: Time,
1029
+ date_updated: Time,
1030
+ description: top?,
1031
+ name: String,
1032
+ number: Integer,
1033
+ origin_project_version_id: String?,
1034
+ subtype: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::subtype,
1035
+ suggested: bool,
1036
+ thresholds: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold],
1037
+ type: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::type_,
1038
+ archived: bool,
1039
+ delay_window: Float?,
1040
+ evaluation_window: Float?,
1041
+ uses_ml_model: bool,
1042
+ uses_production_data: bool,
1043
+ uses_reference_dataset: bool,
1044
+ uses_training_dataset: bool,
1045
+ uses_validation_dataset: bool
1046
+ }
1047
+
1048
+ type subtype =
1049
+ :anomalousColumnCount
1050
+ | :characterLength
1051
+ | :classImbalanceRatio
1052
+ | :expectColumnAToBeInColumnB
1053
+ | :columnAverage
1054
+ | :columnDrift
1055
+ | :columnStatistic
1056
+ | :columnValuesMatch
1057
+ | :conflictingLabelRowCount
1058
+ | :containsPii
1059
+ | :containsValidUrl
1060
+ | :correlatedFeatureCount
1061
+ | :customMetricThreshold
1062
+ | :duplicateRowCount
1063
+ | :emptyFeature
1064
+ | :emptyFeatureCount
1065
+ | :driftedFeatureCount
1066
+ | :featureMissingValues
1067
+ | :featureValueValidation
1068
+ | :greatExpectations
1069
+ | :groupByColumnStatsCheck
1070
+ | :illFormedRowCount
1071
+ | :isCode
1072
+ | :isJson
1073
+ | :llmRubricThresholdV2
1074
+ | :labelDrift
1075
+ | :metricThreshold
1076
+ | :newCategoryCount
1077
+ | :newLabelCount
1078
+ | :nullRowCount
1079
+ | :rowCount
1080
+ | :ppScoreValueValidation
1081
+ | :quasiConstantFeature
1082
+ | :quasiConstantFeatureCount
1083
+ | :sqlQuery
1084
+ | :dtypeValidation
1085
+ | :sentenceLength
1086
+ | :sizeRatio
1087
+ | :specialCharactersRatio
1088
+ | :stringValidation
1089
+ | :trainValLeakageRowCount
1090
+
1091
+ module Subtype
1092
+ extend Openlayer::Internal::Type::Enum
1093
+
1094
+ ANOMALOUS_COLUMN_COUNT: :anomalousColumnCount
1095
+ CHARACTER_LENGTH: :characterLength
1096
+ CLASS_IMBALANCE_RATIO: :classImbalanceRatio
1097
+ EXPECT_COLUMN_A_TO_BE_IN_COLUMN_B: :expectColumnAToBeInColumnB
1098
+ COLUMN_AVERAGE: :columnAverage
1099
+ COLUMN_DRIFT: :columnDrift
1100
+ COLUMN_STATISTIC: :columnStatistic
1101
+ COLUMN_VALUES_MATCH: :columnValuesMatch
1102
+ CONFLICTING_LABEL_ROW_COUNT: :conflictingLabelRowCount
1103
+ CONTAINS_PII: :containsPii
1104
+ CONTAINS_VALID_URL: :containsValidUrl
1105
+ CORRELATED_FEATURE_COUNT: :correlatedFeatureCount
1106
+ CUSTOM_METRIC_THRESHOLD: :customMetricThreshold
1107
+ DUPLICATE_ROW_COUNT: :duplicateRowCount
1108
+ EMPTY_FEATURE: :emptyFeature
1109
+ EMPTY_FEATURE_COUNT: :emptyFeatureCount
1110
+ DRIFTED_FEATURE_COUNT: :driftedFeatureCount
1111
+ FEATURE_MISSING_VALUES: :featureMissingValues
1112
+ FEATURE_VALUE_VALIDATION: :featureValueValidation
1113
+ GREAT_EXPECTATIONS: :greatExpectations
1114
+ GROUP_BY_COLUMN_STATS_CHECK: :groupByColumnStatsCheck
1115
+ ILL_FORMED_ROW_COUNT: :illFormedRowCount
1116
+ IS_CODE: :isCode
1117
+ IS_JSON: :isJson
1118
+ LLM_RUBRIC_THRESHOLD_V2: :llmRubricThresholdV2
1119
+ LABEL_DRIFT: :labelDrift
1120
+ METRIC_THRESHOLD: :metricThreshold
1121
+ NEW_CATEGORY_COUNT: :newCategoryCount
1122
+ NEW_LABEL_COUNT: :newLabelCount
1123
+ NULL_ROW_COUNT: :nullRowCount
1124
+ ROW_COUNT: :rowCount
1125
+ PP_SCORE_VALUE_VALIDATION: :ppScoreValueValidation
1126
+ QUASI_CONSTANT_FEATURE: :quasiConstantFeature
1127
+ QUASI_CONSTANT_FEATURE_COUNT: :quasiConstantFeatureCount
1128
+ SQL_QUERY: :sqlQuery
1129
+ DTYPE_VALIDATION: :dtypeValidation
1130
+ SENTENCE_LENGTH: :sentenceLength
1131
+ SIZE_RATIO: :sizeRatio
1132
+ SPECIAL_CHARACTERS_RATIO: :specialCharactersRatio
1133
+ STRING_VALIDATION: :stringValidation
1134
+ TRAIN_VAL_LEAKAGE_ROW_COUNT: :trainValLeakageRowCount
1135
+
1136
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::subtype]
1137
+ end
1138
+
1139
+ type threshold =
1140
+ {
1141
+ insight_name: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::insight_name,
1142
+ insight_parameters: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::InsightParameter]?,
1143
+ measurement: String,
1144
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::operator,
1145
+ threshold_mode: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::threshold_mode,
1146
+ value: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::value
1147
+ }
1148
+
1149
+ class Threshold < Openlayer::Internal::Type::BaseModel
1150
+ attr_reader insight_name: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::insight_name?
1151
+
1152
+ def insight_name=: (
1153
+ Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::insight_name
1154
+ ) -> Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::insight_name
1155
+
1156
+ attr_accessor insight_parameters: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::InsightParameter]?
1157
+
1158
+ attr_reader measurement: String?
1159
+
1160
+ def measurement=: (String) -> String
1161
+
1162
+ attr_reader operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::operator?
1163
+
1164
+ def operator=: (
1165
+ Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::operator
1166
+ ) -> Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::operator
1167
+
1168
+ attr_reader threshold_mode: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::threshold_mode?
1169
+
1170
+ def threshold_mode=: (
1171
+ Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::threshold_mode
1172
+ ) -> Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::threshold_mode
1173
+
1174
+ attr_reader value: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::value?
1175
+
1176
+ def value=: (
1177
+ Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::value
1178
+ ) -> Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::value
1179
+
1180
+ def initialize: (
1181
+ ?insight_name: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::insight_name,
1182
+ ?insight_parameters: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::InsightParameter]?,
1183
+ ?measurement: String,
1184
+ ?operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::operator,
1185
+ ?threshold_mode: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::threshold_mode,
1186
+ ?value: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::value
1187
+ ) -> void
1188
+
1189
+ def to_hash: -> {
1190
+ insight_name: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::insight_name,
1191
+ insight_parameters: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::InsightParameter]?,
1192
+ measurement: String,
1193
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::operator,
1194
+ threshold_mode: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::threshold_mode,
1195
+ value: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::value
1196
+ }
1197
+
1198
+ type insight_name =
1199
+ :characterLength
1200
+ | :classImbalance
1201
+ | :expectColumnAToBeInColumnB
1202
+ | :columnAverage
1203
+ | :columnDrift
1204
+ | :columnValuesMatch
1205
+ | :confidenceDistribution
1206
+ | :conflictingLabelRowCount
1207
+ | :containsPii
1208
+ | :containsValidUrl
1209
+ | :correlatedFeatures
1210
+ | :customMetric
1211
+ | :duplicateRowCount
1212
+ | :emptyFeatures
1213
+ | :featureDrift
1214
+ | :featureProfile
1215
+ | :greatExpectations
1216
+ | :groupByColumnStatsCheck
1217
+ | :illFormedRowCount
1218
+ | :isCode
1219
+ | :isJson
1220
+ | :llmRubricV2
1221
+ | :labelDrift
1222
+ | :metrics
1223
+ | :newCategories
1224
+ | :newLabels
1225
+ | :nullRowCount
1226
+ | :ppScore
1227
+ | :quasiConstantFeatures
1228
+ | :sentenceLength
1229
+ | :sizeRatio
1230
+ | :specialCharacters
1231
+ | :stringValidation
1232
+ | :trainValLeakageRowCount
1233
+
1234
+ module InsightName
1235
+ extend Openlayer::Internal::Type::Enum
1236
+
1237
+ CHARACTER_LENGTH: :characterLength
1238
+ CLASS_IMBALANCE: :classImbalance
1239
+ EXPECT_COLUMN_A_TO_BE_IN_COLUMN_B: :expectColumnAToBeInColumnB
1240
+ COLUMN_AVERAGE: :columnAverage
1241
+ COLUMN_DRIFT: :columnDrift
1242
+ COLUMN_VALUES_MATCH: :columnValuesMatch
1243
+ CONFIDENCE_DISTRIBUTION: :confidenceDistribution
1244
+ CONFLICTING_LABEL_ROW_COUNT: :conflictingLabelRowCount
1245
+ CONTAINS_PII: :containsPii
1246
+ CONTAINS_VALID_URL: :containsValidUrl
1247
+ CORRELATED_FEATURES: :correlatedFeatures
1248
+ CUSTOM_METRIC: :customMetric
1249
+ DUPLICATE_ROW_COUNT: :duplicateRowCount
1250
+ EMPTY_FEATURES: :emptyFeatures
1251
+ FEATURE_DRIFT: :featureDrift
1252
+ FEATURE_PROFILE: :featureProfile
1253
+ GREAT_EXPECTATIONS: :greatExpectations
1254
+ GROUP_BY_COLUMN_STATS_CHECK: :groupByColumnStatsCheck
1255
+ ILL_FORMED_ROW_COUNT: :illFormedRowCount
1256
+ IS_CODE: :isCode
1257
+ IS_JSON: :isJson
1258
+ LLM_RUBRIC_V2: :llmRubricV2
1259
+ LABEL_DRIFT: :labelDrift
1260
+ METRICS: :metrics
1261
+ NEW_CATEGORIES: :newCategories
1262
+ NEW_LABELS: :newLabels
1263
+ NULL_ROW_COUNT: :nullRowCount
1264
+ PP_SCORE: :ppScore
1265
+ QUASI_CONSTANT_FEATURES: :quasiConstantFeatures
1266
+ SENTENCE_LENGTH: :sentenceLength
1267
+ SIZE_RATIO: :sizeRatio
1268
+ SPECIAL_CHARACTERS: :specialCharacters
1269
+ STRING_VALIDATION: :stringValidation
1270
+ TRAIN_VAL_LEAKAGE_ROW_COUNT: :trainValLeakageRowCount
1271
+
1272
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::insight_name]
1273
+ end
1274
+
1275
+ type insight_parameter = { name: String, value: top }
1276
+
1277
+ class InsightParameter < Openlayer::Internal::Type::BaseModel
1278
+ attr_accessor name: String
1279
+
1280
+ attr_accessor value: top
1281
+
1282
+ def initialize: (name: String, value: top) -> void
1283
+
1284
+ def to_hash: -> { name: String, value: top }
1285
+ end
1286
+
1287
+ type operator = :is | :> | :>= | :< | :<= | :!=
1288
+
1289
+ module Operator
1290
+ extend Openlayer::Internal::Type::Enum
1291
+
1292
+ IS: :is
1293
+ GREATER: :>
1294
+ GREATER_OR_EQUALS: :>=
1295
+ LESS: :<
1296
+ LESS_OR_EQUALS: :<=
1297
+ NOT_EQUALS: :!=
1298
+
1299
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::operator]
1300
+ end
1301
+
1302
+ type threshold_mode = :automatic | :manual
1303
+
1304
+ module ThresholdMode
1305
+ extend Openlayer::Internal::Type::Enum
1306
+
1307
+ AUTOMATIC: :automatic
1308
+ MANUAL: :manual
1309
+
1310
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::threshold_mode]
1311
+ end
1312
+
1313
+ type value = Float | bool | String | ::Array[String]
1314
+
1315
+ module Value
1316
+ extend Openlayer::Internal::Type::Union
1317
+
1318
+ def self?.variants: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::Threshold::value]
1319
+
1320
+ StringArray: Openlayer::Internal::Type::Converter
1321
+ end
1322
+ end
1323
+
1324
+ type type_ = :integrity | :consistency | :performance
1325
+
1326
+ module Type
1327
+ extend Openlayer::Internal::Type::Enum
1328
+
1329
+ INTEGRITY: :integrity
1330
+ CONSISTENCY: :consistency
1331
+ PERFORMANCE: :performance
1332
+
1333
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal::type_]
1334
+ end
1335
+ end
1336
+
1337
+ type rows_body =
1338
+ {
1339
+ column_filters: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::column_filter]?,
1340
+ exclude_row_id_list: ::Array[Integer]?,
1341
+ not_search_query_and: ::Array[String]?,
1342
+ not_search_query_or: ::Array[String]?,
1343
+ row_id_list: ::Array[Integer]?,
1344
+ search_query_and: ::Array[String]?,
1345
+ search_query_or: ::Array[String]?
1346
+ }
1347
+
1348
+ class RowsBody < Openlayer::Internal::Type::BaseModel
1349
+ attr_accessor column_filters: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::column_filter]?
1350
+
1351
+ attr_accessor exclude_row_id_list: ::Array[Integer]?
1352
+
1353
+ attr_accessor not_search_query_and: ::Array[String]?
1354
+
1355
+ attr_accessor not_search_query_or: ::Array[String]?
1356
+
1357
+ attr_accessor row_id_list: ::Array[Integer]?
1358
+
1359
+ attr_accessor search_query_and: ::Array[String]?
1360
+
1361
+ attr_accessor search_query_or: ::Array[String]?
1362
+
1363
+ def initialize: (
1364
+ ?column_filters: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::column_filter]?,
1365
+ ?exclude_row_id_list: ::Array[Integer]?,
1366
+ ?not_search_query_and: ::Array[String]?,
1367
+ ?not_search_query_or: ::Array[String]?,
1368
+ ?row_id_list: ::Array[Integer]?,
1369
+ ?search_query_and: ::Array[String]?,
1370
+ ?search_query_or: ::Array[String]?
1371
+ ) -> void
1372
+
1373
+ def to_hash: -> {
1374
+ column_filters: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::column_filter]?,
1375
+ exclude_row_id_list: ::Array[Integer]?,
1376
+ not_search_query_and: ::Array[String]?,
1377
+ not_search_query_or: ::Array[String]?,
1378
+ row_id_list: ::Array[Integer]?,
1379
+ search_query_and: ::Array[String]?,
1380
+ search_query_or: ::Array[String]?
1381
+ }
1382
+
1383
+ type column_filter =
1384
+ Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter
1385
+ | Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::NumericColumnFilter
1386
+ | Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter
1387
+
1388
+ module ColumnFilter
1389
+ extend Openlayer::Internal::Type::Union
1390
+
1391
+ type set_column_filter =
1392
+ {
1393
+ measurement: String,
1394
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::operator,
1395
+ value: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::value]
1396
+ }
1397
+
1398
+ class SetColumnFilter < Openlayer::Internal::Type::BaseModel
1399
+ attr_accessor measurement: String
1400
+
1401
+ attr_accessor operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::operator
1402
+
1403
+ attr_accessor value: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::value]
1404
+
1405
+ def initialize: (
1406
+ measurement: String,
1407
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::operator,
1408
+ value: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::value]
1409
+ ) -> void
1410
+
1411
+ def to_hash: -> {
1412
+ measurement: String,
1413
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::operator,
1414
+ value: ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::value]
1415
+ }
1416
+
1417
+ type operator =
1418
+ :contains_none
1419
+ | :contains_any
1420
+ | :contains_all
1421
+ | :one_of
1422
+ | :none_of
1423
+
1424
+ module Operator
1425
+ extend Openlayer::Internal::Type::Enum
1426
+
1427
+ CONTAINS_NONE: :contains_none
1428
+ CONTAINS_ANY: :contains_any
1429
+ CONTAINS_ALL: :contains_all
1430
+ ONE_OF: :one_of
1431
+ NONE_OF: :none_of
1432
+
1433
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::operator]
1434
+ end
1435
+
1436
+ type value = String | Float
1437
+
1438
+ module Value
1439
+ extend Openlayer::Internal::Type::Union
1440
+
1441
+ def self?.variants: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::SetColumnFilter::value]
1442
+ end
1443
+ end
1444
+
1445
+ type numeric_column_filter =
1446
+ {
1447
+ measurement: String,
1448
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::NumericColumnFilter::operator,
1449
+ value: Float?
1450
+ }
1451
+
1452
+ class NumericColumnFilter < Openlayer::Internal::Type::BaseModel
1453
+ attr_accessor measurement: String
1454
+
1455
+ attr_accessor operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::NumericColumnFilter::operator
1456
+
1457
+ attr_accessor value: Float?
1458
+
1459
+ def initialize: (
1460
+ measurement: String,
1461
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::NumericColumnFilter::operator,
1462
+ value: Float?
1463
+ ) -> void
1464
+
1465
+ def to_hash: -> {
1466
+ measurement: String,
1467
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::NumericColumnFilter::operator,
1468
+ value: Float?
1469
+ }
1470
+
1471
+ type operator = :> | :>= | :is | :< | :<= | :!=
1472
+
1473
+ module Operator
1474
+ extend Openlayer::Internal::Type::Enum
1475
+
1476
+ GREATER: :>
1477
+ GREATER_OR_EQUALS: :>=
1478
+ IS: :is
1479
+ LESS: :<
1480
+ LESS_OR_EQUALS: :<=
1481
+ NOT_EQUALS: :!=
1482
+
1483
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::NumericColumnFilter::operator]
1484
+ end
1485
+ end
1486
+
1487
+ type string_column_filter =
1488
+ {
1489
+ measurement: String,
1490
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::operator,
1491
+ value: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::value
1492
+ }
1493
+
1494
+ class StringColumnFilter < Openlayer::Internal::Type::BaseModel
1495
+ attr_accessor measurement: String
1496
+
1497
+ attr_accessor operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::operator
1498
+
1499
+ attr_accessor value: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::value
1500
+
1501
+ def initialize: (
1502
+ measurement: String,
1503
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::operator,
1504
+ value: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::value
1505
+ ) -> void
1506
+
1507
+ def to_hash: -> {
1508
+ measurement: String,
1509
+ operator: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::operator,
1510
+ value: Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::value
1511
+ }
1512
+
1513
+ type operator = :is | :!=
1514
+
1515
+ module Operator
1516
+ extend Openlayer::Internal::Type::Enum
1517
+
1518
+ IS: :is
1519
+ NOT_EQUALS: :!=
1520
+
1521
+ def self?.values: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::operator]
1522
+ end
1523
+
1524
+ type value = String | bool
1525
+
1526
+ module Value
1527
+ extend Openlayer::Internal::Type::Union
1528
+
1529
+ def self?.variants: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::ColumnFilter::StringColumnFilter::value]
1530
+ end
1531
+ end
1532
+
1533
+ def self?.variants: -> ::Array[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody::column_filter]
1534
+ end
1535
+ end
1536
+ end
1537
+ end
1538
+ end
1539
+ end