openlayer 0.3.0 → 0.4.1
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.
- checksums.yaml +4 -4
- data/.ignore +2 -0
- data/CHANGELOG.md +36 -0
- data/README.md +280 -39
- data/SECURITY.md +27 -0
- data/lib/openlayer/client.rb +64 -59
- data/lib/openlayer/errors.rb +228 -0
- data/lib/openlayer/file_part.rb +58 -0
- data/lib/openlayer/internal/transport/base_client.rb +567 -0
- data/lib/openlayer/internal/transport/pooled_net_requester.rb +198 -0
- data/lib/openlayer/internal/type/array_of.rb +168 -0
- data/lib/openlayer/internal/type/base_model.rb +531 -0
- data/lib/openlayer/internal/type/base_page.rb +55 -0
- data/lib/openlayer/internal/type/boolean.rb +77 -0
- data/lib/openlayer/internal/type/converter.rb +327 -0
- data/lib/openlayer/internal/type/enum.rb +131 -0
- data/lib/openlayer/internal/type/file_input.rb +111 -0
- data/lib/openlayer/internal/type/hash_of.rb +188 -0
- data/lib/openlayer/internal/type/request_parameters.rb +42 -0
- data/lib/openlayer/internal/type/union.rb +237 -0
- data/lib/openlayer/internal/type/unknown.rb +81 -0
- data/lib/openlayer/internal/util.rb +914 -0
- data/lib/openlayer/internal.rb +20 -0
- data/lib/openlayer/models/commit_retrieve_params.rb +14 -0
- data/lib/openlayer/models/commit_retrieve_response.rb +275 -0
- data/lib/openlayer/models/commits/test_result_list_params.rb +91 -0
- data/lib/openlayer/models/commits/test_result_list_response.rb +566 -0
- data/lib/openlayer/models/inference_pipeline_delete_params.rb +14 -0
- data/lib/openlayer/models/inference_pipeline_retrieve_params.rb +33 -0
- data/lib/openlayer/models/inference_pipeline_retrieve_response.rb +605 -0
- data/lib/openlayer/models/inference_pipeline_update_params.rb +42 -0
- data/lib/openlayer/models/inference_pipeline_update_response.rb +605 -0
- data/lib/openlayer/models/inference_pipelines/data_stream_params.rb +463 -0
- data/lib/openlayer/models/inference_pipelines/data_stream_response.rb +28 -0
- data/lib/openlayer/models/inference_pipelines/row_update_params.rb +90 -0
- data/lib/openlayer/models/inference_pipelines/row_update_response.rb +28 -0
- data/lib/openlayer/models/inference_pipelines/test_result_list_params.rb +83 -0
- data/lib/openlayer/models/inference_pipelines/test_result_list_response.rb +568 -0
- data/lib/openlayer/models/project_create_params.rb +51 -0
- data/lib/openlayer/models/project_create_response.rb +262 -0
- data/lib/openlayer/models/project_list_params.rb +59 -0
- data/lib/openlayer/models/project_list_response.rb +274 -0
- data/lib/openlayer/models/projects/commit_create_params.rb +61 -0
- data/lib/openlayer/models/projects/commit_create_response.rb +277 -0
- data/lib/openlayer/models/projects/commit_list_params.rb +32 -0
- data/lib/openlayer/models/projects/commit_list_response.rb +288 -0
- data/lib/openlayer/models/projects/inference_pipeline_create_params.rb +229 -0
- data/lib/openlayer/models/projects/inference_pipeline_create_response.rb +612 -0
- data/lib/openlayer/models/projects/inference_pipeline_list_params.rb +40 -0
- data/lib/openlayer/models/projects/inference_pipeline_list_response.rb +623 -0
- data/lib/openlayer/models/projects/test_create_params.rb +367 -0
- data/lib/openlayer/models/projects/test_create_response.rb +438 -0
- data/lib/openlayer/models/projects/test_list_params.rb +91 -0
- data/lib/openlayer/models/projects/test_list_response.rb +452 -0
- data/lib/openlayer/models/projects/test_update_params.rb +262 -0
- data/lib/openlayer/models/projects/test_update_response.rb +24 -0
- data/lib/openlayer/models/storage/presigned_url_create_params.rb +24 -0
- data/lib/openlayer/models/storage/presigned_url_create_response.rb +35 -0
- data/lib/openlayer/models.rb +61 -0
- data/lib/openlayer/request_options.rb +77 -0
- data/lib/openlayer/resources/commits/test_results.rb +51 -0
- data/lib/openlayer/resources/commits.rb +38 -0
- data/lib/openlayer/resources/inference_pipelines/data.rb +46 -0
- data/lib/openlayer/resources/inference_pipelines/rows.rb +46 -0
- data/lib/openlayer/resources/inference_pipelines/test_results.rb +49 -0
- data/lib/openlayer/resources/inference_pipelines.rb +101 -0
- data/lib/openlayer/resources/projects/commits.rb +72 -0
- data/lib/openlayer/resources/projects/inference_pipelines.rb +74 -0
- data/lib/openlayer/resources/projects/tests.rb +135 -0
- data/lib/openlayer/resources/projects.rb +80 -0
- data/lib/openlayer/resources/storage/presigned_url.rb +38 -0
- data/lib/openlayer/resources/storage.rb +18 -0
- data/lib/openlayer/version.rb +1 -1
- data/lib/openlayer.rb +96 -12
- data/manifest.yaml +15 -0
- data/rbi/openlayer/client.rbi +58 -0
- data/rbi/openlayer/errors.rbi +205 -0
- data/rbi/openlayer/file_part.rbi +37 -0
- data/rbi/openlayer/internal/transport/base_client.rbi +293 -0
- data/rbi/openlayer/internal/transport/pooled_net_requester.rbi +79 -0
- data/rbi/openlayer/internal/type/array_of.rbi +104 -0
- data/rbi/openlayer/internal/type/base_model.rbi +304 -0
- data/rbi/openlayer/internal/type/base_page.rbi +42 -0
- data/rbi/openlayer/internal/type/boolean.rbi +58 -0
- data/rbi/openlayer/internal/type/converter.rbi +216 -0
- data/rbi/openlayer/internal/type/enum.rbi +82 -0
- data/rbi/openlayer/internal/type/file_input.rbi +59 -0
- data/rbi/openlayer/internal/type/hash_of.rbi +104 -0
- data/rbi/openlayer/internal/type/request_parameters.rbi +29 -0
- data/rbi/openlayer/internal/type/union.rbi +128 -0
- data/rbi/openlayer/internal/type/unknown.rbi +58 -0
- data/rbi/openlayer/internal/util.rbi +487 -0
- data/rbi/openlayer/internal.rbi +18 -0
- data/rbi/openlayer/models/commit_retrieve_params.rbi +27 -0
- data/rbi/openlayer/models/commit_retrieve_response.rbi +393 -0
- data/rbi/openlayer/models/commits/test_result_list_params.rbi +214 -0
- data/rbi/openlayer/models/commits/test_result_list_response.rbi +1256 -0
- data/rbi/openlayer/models/inference_pipeline_delete_params.rbi +30 -0
- data/rbi/openlayer/models/inference_pipeline_retrieve_params.rbi +101 -0
- data/rbi/openlayer/models/inference_pipeline_retrieve_response.rbi +1022 -0
- data/rbi/openlayer/models/inference_pipeline_update_params.rbi +67 -0
- data/rbi/openlayer/models/inference_pipeline_update_response.rbi +1018 -0
- data/rbi/openlayer/models/inference_pipelines/data_stream_params.rbi +750 -0
- data/rbi/openlayer/models/inference_pipelines/data_stream_response.rbi +73 -0
- data/rbi/openlayer/models/inference_pipelines/row_update_params.rbi +153 -0
- data/rbi/openlayer/models/inference_pipelines/row_update_response.rbi +73 -0
- data/rbi/openlayer/models/inference_pipelines/test_result_list_params.rbi +216 -0
- data/rbi/openlayer/models/inference_pipelines/test_result_list_response.rbi +1258 -0
- data/rbi/openlayer/models/project_create_params.rbi +99 -0
- data/rbi/openlayer/models/project_create_response.rbi +401 -0
- data/rbi/openlayer/models/project_list_params.rbi +121 -0
- data/rbi/openlayer/models/project_list_response.rbi +442 -0
- data/rbi/openlayer/models/projects/commit_create_params.rbi +125 -0
- data/rbi/openlayer/models/projects/commit_create_response.rbi +409 -0
- data/rbi/openlayer/models/projects/commit_list_params.rbi +62 -0
- data/rbi/openlayer/models/projects/commit_list_response.rbi +454 -0
- data/rbi/openlayer/models/projects/inference_pipeline_create_params.rbi +560 -0
- data/rbi/openlayer/models/projects/inference_pipeline_create_response.rbi +1027 -0
- data/rbi/openlayer/models/projects/inference_pipeline_list_params.rbi +73 -0
- data/rbi/openlayer/models/projects/inference_pipeline_list_response.rbi +1070 -0
- data/rbi/openlayer/models/projects/test_create_params.rbi +940 -0
- data/rbi/openlayer/models/projects/test_create_response.rbi +1026 -0
- data/rbi/openlayer/models/projects/test_list_params.rbi +165 -0
- data/rbi/openlayer/models/projects/test_list_response.rbi +1067 -0
- data/rbi/openlayer/models/projects/test_update_params.rbi +699 -0
- data/rbi/openlayer/models/projects/test_update_response.rbi +43 -0
- data/rbi/openlayer/models/storage/presigned_url_create_params.rbi +45 -0
- data/rbi/openlayer/models/storage/presigned_url_create_response.rbi +55 -0
- data/rbi/openlayer/models.rbi +26 -0
- data/rbi/openlayer/request_options.rbi +59 -0
- data/rbi/openlayer/resources/commits/test_results.rbi +45 -0
- data/rbi/openlayer/resources/commits.rbi +29 -0
- data/rbi/openlayer/resources/inference_pipelines/data.rbi +41 -0
- data/rbi/openlayer/resources/inference_pipelines/rows.rbi +40 -0
- data/rbi/openlayer/resources/inference_pipelines/test_results.rbi +46 -0
- data/rbi/openlayer/resources/inference_pipelines.rbi +79 -0
- data/rbi/openlayer/resources/projects/commits.rbi +60 -0
- data/rbi/openlayer/resources/projects/inference_pipelines.rbi +69 -0
- data/rbi/openlayer/resources/projects/tests.rbi +123 -0
- data/rbi/openlayer/resources/projects.rbi +64 -0
- data/rbi/openlayer/resources/storage/presigned_url.rbi +28 -0
- data/rbi/openlayer/resources/storage.rbi +15 -0
- data/rbi/openlayer/version.rbi +5 -0
- data/sig/openlayer/client.rbs +32 -0
- data/sig/openlayer/errors.rbs +117 -0
- data/sig/openlayer/file_part.rbs +21 -0
- data/sig/openlayer/internal/transport/base_client.rbs +131 -0
- data/sig/openlayer/internal/transport/pooled_net_requester.rbs +45 -0
- data/sig/openlayer/internal/type/array_of.rbs +48 -0
- data/sig/openlayer/internal/type/base_model.rbs +102 -0
- data/sig/openlayer/internal/type/base_page.rbs +24 -0
- data/sig/openlayer/internal/type/boolean.rbs +26 -0
- data/sig/openlayer/internal/type/converter.rbs +79 -0
- data/sig/openlayer/internal/type/enum.rbs +32 -0
- data/sig/openlayer/internal/type/file_input.rbs +25 -0
- data/sig/openlayer/internal/type/hash_of.rbs +48 -0
- data/sig/openlayer/internal/type/request_parameters.rbs +19 -0
- data/sig/openlayer/internal/type/union.rbs +52 -0
- data/sig/openlayer/internal/type/unknown.rbs +26 -0
- data/sig/openlayer/internal/util.rbs +185 -0
- data/sig/openlayer/internal.rbs +9 -0
- data/sig/openlayer/models/commit_retrieve_params.rbs +15 -0
- data/sig/openlayer/models/commit_retrieve_response.rbs +209 -0
- data/sig/openlayer/models/commits/test_result_list_params.rbs +91 -0
- data/sig/openlayer/models/commits/test_result_list_response.rbs +529 -0
- data/sig/openlayer/models/inference_pipeline_delete_params.rbs +15 -0
- data/sig/openlayer/models/inference_pipeline_retrieve_params.rbs +41 -0
- data/sig/openlayer/models/inference_pipeline_retrieve_response.rbs +493 -0
- data/sig/openlayer/models/inference_pipeline_update_params.rbs +34 -0
- data/sig/openlayer/models/inference_pipeline_update_response.rbs +493 -0
- data/sig/openlayer/models/inference_pipelines/data_stream_params.rbs +386 -0
- data/sig/openlayer/models/inference_pipelines/data_stream_response.rbs +32 -0
- data/sig/openlayer/models/inference_pipelines/row_update_params.rbs +75 -0
- data/sig/openlayer/models/inference_pipelines/row_update_response.rbs +32 -0
- data/sig/openlayer/models/inference_pipelines/test_result_list_params.rbs +84 -0
- data/sig/openlayer/models/inference_pipelines/test_result_list_response.rbs +529 -0
- data/sig/openlayer/models/project_create_params.rbs +53 -0
- data/sig/openlayer/models/project_create_response.rbs +210 -0
- data/sig/openlayer/models/project_list_params.rbs +68 -0
- data/sig/openlayer/models/project_list_response.rbs +225 -0
- data/sig/openlayer/models/projects/commit_create_params.rbs +82 -0
- data/sig/openlayer/models/projects/commit_create_response.rbs +211 -0
- data/sig/openlayer/models/projects/commit_list_params.rbs +34 -0
- data/sig/openlayer/models/projects/commit_list_response.rbs +228 -0
- data/sig/openlayer/models/projects/inference_pipeline_create_params.rbs +308 -0
- data/sig/openlayer/models/projects/inference_pipeline_create_response.rbs +495 -0
- data/sig/openlayer/models/projects/inference_pipeline_list_params.rbs +40 -0
- data/sig/openlayer/models/projects/inference_pipeline_list_response.rbs +512 -0
- data/sig/openlayer/models/projects/test_create_params.rbs +388 -0
- data/sig/openlayer/models/projects/test_create_response.rbs +427 -0
- data/sig/openlayer/models/projects/test_list_params.rbs +85 -0
- data/sig/openlayer/models/projects/test_list_response.rbs +442 -0
- data/sig/openlayer/models/projects/test_update_params.rbs +275 -0
- data/sig/openlayer/models/projects/test_update_response.rbs +25 -0
- data/sig/openlayer/models/storage/presigned_url_create_params.rbs +25 -0
- data/sig/openlayer/models/storage/presigned_url_create_response.rbs +22 -0
- data/sig/openlayer/models.rbs +21 -0
- data/sig/openlayer/request_options.rbs +34 -0
- data/sig/openlayer/resources/commits/test_results.rbs +19 -0
- data/sig/openlayer/resources/commits.rbs +14 -0
- data/sig/openlayer/resources/inference_pipelines/data.rbs +16 -0
- data/sig/openlayer/resources/inference_pipelines/rows.rbs +17 -0
- data/sig/openlayer/resources/inference_pipelines/test_results.rbs +18 -0
- data/sig/openlayer/resources/inference_pipelines.rbs +32 -0
- data/sig/openlayer/resources/projects/commits.rbs +25 -0
- data/sig/openlayer/resources/projects/inference_pipelines.rbs +26 -0
- data/sig/openlayer/resources/projects/tests.rbs +45 -0
- data/sig/openlayer/resources/projects.rbs +28 -0
- data/sig/openlayer/resources/storage/presigned_url.rbs +14 -0
- data/sig/openlayer/resources/storage.rbs +9 -0
- data/sig/openlayer/version.rbs +3 -0
- metadata +223 -91
- data/.env +0 -0
- data/.rspec +0 -3
- data/.rubocop.yml +0 -13
- data/LICENSE +0 -21
- data/Rakefile +0 -12
- data/examples/staging/.DS_Store +0 -0
- data/examples/staging/commit.yaml +0 -2
- data/examples/staging/model/model_config.yaml +0 -12
- data/examples/staging/validation/dataset_config.yaml +0 -12
- data/lib/openlayer/error.rb +0 -5
- data/lib/openlayer/inference_pipeline.rb +0 -36
- data/lib/openlayer/object.rb +0 -28
- data/lib/openlayer/objects/project.rb +0 -185
- data/lib/openlayer/objects/project_version.rb +0 -89
- data/lib/openlayer/services/s3_presigned_client.rb +0 -47
- data/lib/openlayer/services/tar_file_helper.rb +0 -55
- data/openlayer.gemspec +0 -45
- data/sig/openlayer.rbs +0 -4
| @@ -0,0 +1,393 @@ | |
| 1 | 
            +
            # typed: strong
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            module Openlayer
         | 
| 4 | 
            +
              module Models
         | 
| 5 | 
            +
                class CommitRetrieveResponse < Openlayer::Internal::Type::BaseModel
         | 
| 6 | 
            +
                  OrHash =
         | 
| 7 | 
            +
                    T.type_alias do
         | 
| 8 | 
            +
                      T.any(
         | 
| 9 | 
            +
                        Openlayer::Models::CommitRetrieveResponse,
         | 
| 10 | 
            +
                        Openlayer::Internal::AnyHash
         | 
| 11 | 
            +
                      )
         | 
| 12 | 
            +
                    end
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                  # The details of a commit (project version).
         | 
| 15 | 
            +
                  sig { returns(Openlayer::Models::CommitRetrieveResponse::Commit) }
         | 
| 16 | 
            +
                  attr_reader :commit
         | 
| 17 | 
            +
             | 
| 18 | 
            +
                  sig do
         | 
| 19 | 
            +
                    params(
         | 
| 20 | 
            +
                      commit: Openlayer::Models::CommitRetrieveResponse::Commit::OrHash
         | 
| 21 | 
            +
                    ).void
         | 
| 22 | 
            +
                  end
         | 
| 23 | 
            +
                  attr_writer :commit
         | 
| 24 | 
            +
             | 
| 25 | 
            +
                  # Whether the commit is archived.
         | 
| 26 | 
            +
                  sig { returns(T.nilable(T::Boolean)) }
         | 
| 27 | 
            +
                  attr_accessor :archived
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                  # The deployment status associated with the commit's model.
         | 
| 30 | 
            +
                  sig { returns(T.nilable(String)) }
         | 
| 31 | 
            +
                  attr_reader :deployment_status
         | 
| 32 | 
            +
             | 
| 33 | 
            +
                  sig { params(deployment_status: String).void }
         | 
| 34 | 
            +
                  attr_writer :deployment_status
         | 
| 35 | 
            +
             | 
| 36 | 
            +
                  # The project version (commit) id.
         | 
| 37 | 
            +
                  sig { returns(String) }
         | 
| 38 | 
            +
                  attr_accessor :id
         | 
| 39 | 
            +
             | 
| 40 | 
            +
                  # The commit archive date.
         | 
| 41 | 
            +
                  sig { returns(T.nilable(Time)) }
         | 
| 42 | 
            +
                  attr_accessor :date_archived
         | 
| 43 | 
            +
             | 
| 44 | 
            +
                  # The project version (commit) creation date.
         | 
| 45 | 
            +
                  sig { returns(Time) }
         | 
| 46 | 
            +
                  attr_accessor :date_created
         | 
| 47 | 
            +
             | 
| 48 | 
            +
                  # The number of tests that are failing for the commit.
         | 
| 49 | 
            +
                  sig { returns(Integer) }
         | 
| 50 | 
            +
                  attr_accessor :failing_goal_count
         | 
| 51 | 
            +
             | 
| 52 | 
            +
                  # The model id.
         | 
| 53 | 
            +
                  sig { returns(T.nilable(String)) }
         | 
| 54 | 
            +
                  attr_accessor :ml_model_id
         | 
| 55 | 
            +
             | 
| 56 | 
            +
                  # The number of tests that are passing for the commit.
         | 
| 57 | 
            +
                  sig { returns(Integer) }
         | 
| 58 | 
            +
                  attr_accessor :passing_goal_count
         | 
| 59 | 
            +
             | 
| 60 | 
            +
                  # The project id.
         | 
| 61 | 
            +
                  sig { returns(String) }
         | 
| 62 | 
            +
                  attr_accessor :project_id
         | 
| 63 | 
            +
             | 
| 64 | 
            +
                  # The commit status. Initially, the commit is `queued`, then, it switches to
         | 
| 65 | 
            +
                  # `running`. Finally, it can be `paused`, `failed`, or `completed`.
         | 
| 66 | 
            +
                  sig do
         | 
| 67 | 
            +
                    returns(Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol)
         | 
| 68 | 
            +
                  end
         | 
| 69 | 
            +
                  attr_accessor :status
         | 
| 70 | 
            +
             | 
| 71 | 
            +
                  # The commit status message.
         | 
| 72 | 
            +
                  sig { returns(T.nilable(String)) }
         | 
| 73 | 
            +
                  attr_accessor :status_message
         | 
| 74 | 
            +
             | 
| 75 | 
            +
                  # The total number of tests for the commit.
         | 
| 76 | 
            +
                  sig { returns(Integer) }
         | 
| 77 | 
            +
                  attr_accessor :total_goal_count
         | 
| 78 | 
            +
             | 
| 79 | 
            +
                  # The training dataset id.
         | 
| 80 | 
            +
                  sig { returns(T.nilable(String)) }
         | 
| 81 | 
            +
                  attr_accessor :training_dataset_id
         | 
| 82 | 
            +
             | 
| 83 | 
            +
                  # The validation dataset id.
         | 
| 84 | 
            +
                  sig { returns(T.nilable(String)) }
         | 
| 85 | 
            +
                  attr_accessor :validation_dataset_id
         | 
| 86 | 
            +
             | 
| 87 | 
            +
                  sig do
         | 
| 88 | 
            +
                    returns(T.nilable(Openlayer::Models::CommitRetrieveResponse::Links))
         | 
| 89 | 
            +
                  end
         | 
| 90 | 
            +
                  attr_reader :links
         | 
| 91 | 
            +
             | 
| 92 | 
            +
                  sig do
         | 
| 93 | 
            +
                    params(
         | 
| 94 | 
            +
                      links: Openlayer::Models::CommitRetrieveResponse::Links::OrHash
         | 
| 95 | 
            +
                    ).void
         | 
| 96 | 
            +
                  end
         | 
| 97 | 
            +
                  attr_writer :links
         | 
| 98 | 
            +
             | 
| 99 | 
            +
                  sig do
         | 
| 100 | 
            +
                    params(
         | 
| 101 | 
            +
                      id: String,
         | 
| 102 | 
            +
                      commit: Openlayer::Models::CommitRetrieveResponse::Commit::OrHash,
         | 
| 103 | 
            +
                      date_archived: T.nilable(Time),
         | 
| 104 | 
            +
                      date_created: Time,
         | 
| 105 | 
            +
                      failing_goal_count: Integer,
         | 
| 106 | 
            +
                      ml_model_id: T.nilable(String),
         | 
| 107 | 
            +
                      passing_goal_count: Integer,
         | 
| 108 | 
            +
                      project_id: String,
         | 
| 109 | 
            +
                      status: Openlayer::Models::CommitRetrieveResponse::Status::OrSymbol,
         | 
| 110 | 
            +
                      status_message: T.nilable(String),
         | 
| 111 | 
            +
                      total_goal_count: Integer,
         | 
| 112 | 
            +
                      training_dataset_id: T.nilable(String),
         | 
| 113 | 
            +
                      validation_dataset_id: T.nilable(String),
         | 
| 114 | 
            +
                      archived: T.nilable(T::Boolean),
         | 
| 115 | 
            +
                      deployment_status: String,
         | 
| 116 | 
            +
                      links: Openlayer::Models::CommitRetrieveResponse::Links::OrHash
         | 
| 117 | 
            +
                    ).returns(T.attached_class)
         | 
| 118 | 
            +
                  end
         | 
| 119 | 
            +
                  def self.new(
         | 
| 120 | 
            +
                    # The project version (commit) id.
         | 
| 121 | 
            +
                    id:,
         | 
| 122 | 
            +
                    # The details of a commit (project version).
         | 
| 123 | 
            +
                    commit:,
         | 
| 124 | 
            +
                    # The commit archive date.
         | 
| 125 | 
            +
                    date_archived:,
         | 
| 126 | 
            +
                    # The project version (commit) creation date.
         | 
| 127 | 
            +
                    date_created:,
         | 
| 128 | 
            +
                    # The number of tests that are failing for the commit.
         | 
| 129 | 
            +
                    failing_goal_count:,
         | 
| 130 | 
            +
                    # The model id.
         | 
| 131 | 
            +
                    ml_model_id:,
         | 
| 132 | 
            +
                    # The number of tests that are passing for the commit.
         | 
| 133 | 
            +
                    passing_goal_count:,
         | 
| 134 | 
            +
                    # The project id.
         | 
| 135 | 
            +
                    project_id:,
         | 
| 136 | 
            +
                    # The commit status. Initially, the commit is `queued`, then, it switches to
         | 
| 137 | 
            +
                    # `running`. Finally, it can be `paused`, `failed`, or `completed`.
         | 
| 138 | 
            +
                    status:,
         | 
| 139 | 
            +
                    # The commit status message.
         | 
| 140 | 
            +
                    status_message:,
         | 
| 141 | 
            +
                    # The total number of tests for the commit.
         | 
| 142 | 
            +
                    total_goal_count:,
         | 
| 143 | 
            +
                    # The training dataset id.
         | 
| 144 | 
            +
                    training_dataset_id:,
         | 
| 145 | 
            +
                    # The validation dataset id.
         | 
| 146 | 
            +
                    validation_dataset_id:,
         | 
| 147 | 
            +
                    # Whether the commit is archived.
         | 
| 148 | 
            +
                    archived: nil,
         | 
| 149 | 
            +
                    # The deployment status associated with the commit's model.
         | 
| 150 | 
            +
                    deployment_status: nil,
         | 
| 151 | 
            +
                    links: nil
         | 
| 152 | 
            +
                  )
         | 
| 153 | 
            +
                  end
         | 
| 154 | 
            +
             | 
| 155 | 
            +
                  sig do
         | 
| 156 | 
            +
                    override.returns(
         | 
| 157 | 
            +
                      {
         | 
| 158 | 
            +
                        id: String,
         | 
| 159 | 
            +
                        commit: Openlayer::Models::CommitRetrieveResponse::Commit,
         | 
| 160 | 
            +
                        date_archived: T.nilable(Time),
         | 
| 161 | 
            +
                        date_created: Time,
         | 
| 162 | 
            +
                        failing_goal_count: Integer,
         | 
| 163 | 
            +
                        ml_model_id: T.nilable(String),
         | 
| 164 | 
            +
                        passing_goal_count: Integer,
         | 
| 165 | 
            +
                        project_id: String,
         | 
| 166 | 
            +
                        status:
         | 
| 167 | 
            +
                          Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol,
         | 
| 168 | 
            +
                        status_message: T.nilable(String),
         | 
| 169 | 
            +
                        storage_uri: String,
         | 
| 170 | 
            +
                        total_goal_count: Integer,
         | 
| 171 | 
            +
                        training_dataset_id: T.nilable(String),
         | 
| 172 | 
            +
                        validation_dataset_id: T.nilable(String),
         | 
| 173 | 
            +
                        archived: T.nilable(T::Boolean),
         | 
| 174 | 
            +
                        deployment_status: String,
         | 
| 175 | 
            +
                        links: Openlayer::Models::CommitRetrieveResponse::Links
         | 
| 176 | 
            +
                      }
         | 
| 177 | 
            +
                    )
         | 
| 178 | 
            +
                  end
         | 
| 179 | 
            +
                  def to_hash
         | 
| 180 | 
            +
                  end
         | 
| 181 | 
            +
             | 
| 182 | 
            +
                  class Commit < Openlayer::Internal::Type::BaseModel
         | 
| 183 | 
            +
                    OrHash =
         | 
| 184 | 
            +
                      T.type_alias do
         | 
| 185 | 
            +
                        T.any(
         | 
| 186 | 
            +
                          Openlayer::Models::CommitRetrieveResponse::Commit,
         | 
| 187 | 
            +
                          Openlayer::Internal::AnyHash
         | 
| 188 | 
            +
                        )
         | 
| 189 | 
            +
                      end
         | 
| 190 | 
            +
             | 
| 191 | 
            +
                    # The commit message.
         | 
| 192 | 
            +
                    sig { returns(String) }
         | 
| 193 | 
            +
                    attr_accessor :message
         | 
| 194 | 
            +
             | 
| 195 | 
            +
                    # The commit id.
         | 
| 196 | 
            +
                    sig { returns(String) }
         | 
| 197 | 
            +
                    attr_accessor :id
         | 
| 198 | 
            +
             | 
| 199 | 
            +
                    # The author id of the commit.
         | 
| 200 | 
            +
                    sig { returns(String) }
         | 
| 201 | 
            +
                    attr_accessor :author_id
         | 
| 202 | 
            +
             | 
| 203 | 
            +
                    # The size of the commit bundle in bytes.
         | 
| 204 | 
            +
                    sig { returns(T.nilable(Integer)) }
         | 
| 205 | 
            +
                    attr_accessor :file_size
         | 
| 206 | 
            +
             | 
| 207 | 
            +
                    # The model id.
         | 
| 208 | 
            +
                    sig { returns(T.nilable(String)) }
         | 
| 209 | 
            +
                    attr_accessor :ml_model_id
         | 
| 210 | 
            +
             | 
| 211 | 
            +
                    # The storage URI where the commit bundle is stored.
         | 
| 212 | 
            +
                    sig { returns(String) }
         | 
| 213 | 
            +
                    attr_accessor :storage_uri
         | 
| 214 | 
            +
             | 
| 215 | 
            +
                    # The training dataset id.
         | 
| 216 | 
            +
                    sig { returns(T.nilable(String)) }
         | 
| 217 | 
            +
                    attr_accessor :training_dataset_id
         | 
| 218 | 
            +
             | 
| 219 | 
            +
                    # The validation dataset id.
         | 
| 220 | 
            +
                    sig { returns(T.nilable(String)) }
         | 
| 221 | 
            +
                    attr_accessor :validation_dataset_id
         | 
| 222 | 
            +
             | 
| 223 | 
            +
                    # The commit creation date.
         | 
| 224 | 
            +
                    sig { returns(T.nilable(Time)) }
         | 
| 225 | 
            +
                    attr_reader :date_created
         | 
| 226 | 
            +
             | 
| 227 | 
            +
                    sig { params(date_created: Time).void }
         | 
| 228 | 
            +
                    attr_writer :date_created
         | 
| 229 | 
            +
             | 
| 230 | 
            +
                    # The ref of the corresponding git commit.
         | 
| 231 | 
            +
                    sig { returns(T.nilable(String)) }
         | 
| 232 | 
            +
                    attr_reader :git_commit_ref
         | 
| 233 | 
            +
             | 
| 234 | 
            +
                    sig { params(git_commit_ref: String).void }
         | 
| 235 | 
            +
                    attr_writer :git_commit_ref
         | 
| 236 | 
            +
             | 
| 237 | 
            +
                    # The SHA of the corresponding git commit.
         | 
| 238 | 
            +
                    sig { returns(T.nilable(Integer)) }
         | 
| 239 | 
            +
                    attr_reader :git_commit_sha
         | 
| 240 | 
            +
             | 
| 241 | 
            +
                    sig { params(git_commit_sha: Integer).void }
         | 
| 242 | 
            +
                    attr_writer :git_commit_sha
         | 
| 243 | 
            +
             | 
| 244 | 
            +
                    # The URL of the corresponding git commit.
         | 
| 245 | 
            +
                    sig { returns(T.nilable(String)) }
         | 
| 246 | 
            +
                    attr_reader :git_commit_url
         | 
| 247 | 
            +
             | 
| 248 | 
            +
                    sig { params(git_commit_url: String).void }
         | 
| 249 | 
            +
                    attr_writer :git_commit_url
         | 
| 250 | 
            +
             | 
| 251 | 
            +
                    # The details of a commit (project version).
         | 
| 252 | 
            +
                    sig do
         | 
| 253 | 
            +
                      params(
         | 
| 254 | 
            +
                        id: String,
         | 
| 255 | 
            +
                        author_id: String,
         | 
| 256 | 
            +
                        file_size: T.nilable(Integer),
         | 
| 257 | 
            +
                        message: String,
         | 
| 258 | 
            +
                        ml_model_id: T.nilable(String),
         | 
| 259 | 
            +
                        storage_uri: String,
         | 
| 260 | 
            +
                        training_dataset_id: T.nilable(String),
         | 
| 261 | 
            +
                        validation_dataset_id: T.nilable(String),
         | 
| 262 | 
            +
                        date_created: Time,
         | 
| 263 | 
            +
                        git_commit_ref: String,
         | 
| 264 | 
            +
                        git_commit_sha: Integer,
         | 
| 265 | 
            +
                        git_commit_url: String
         | 
| 266 | 
            +
                      ).returns(T.attached_class)
         | 
| 267 | 
            +
                    end
         | 
| 268 | 
            +
                    def self.new(
         | 
| 269 | 
            +
                      # The commit id.
         | 
| 270 | 
            +
                      id:,
         | 
| 271 | 
            +
                      # The author id of the commit.
         | 
| 272 | 
            +
                      author_id:,
         | 
| 273 | 
            +
                      # The size of the commit bundle in bytes.
         | 
| 274 | 
            +
                      file_size:,
         | 
| 275 | 
            +
                      # The commit message.
         | 
| 276 | 
            +
                      message:,
         | 
| 277 | 
            +
                      # The model id.
         | 
| 278 | 
            +
                      ml_model_id:,
         | 
| 279 | 
            +
                      # The storage URI where the commit bundle is stored.
         | 
| 280 | 
            +
                      storage_uri:,
         | 
| 281 | 
            +
                      # The training dataset id.
         | 
| 282 | 
            +
                      training_dataset_id:,
         | 
| 283 | 
            +
                      # The validation dataset id.
         | 
| 284 | 
            +
                      validation_dataset_id:,
         | 
| 285 | 
            +
                      # The commit creation date.
         | 
| 286 | 
            +
                      date_created: nil,
         | 
| 287 | 
            +
                      # The ref of the corresponding git commit.
         | 
| 288 | 
            +
                      git_commit_ref: nil,
         | 
| 289 | 
            +
                      # The SHA of the corresponding git commit.
         | 
| 290 | 
            +
                      git_commit_sha: nil,
         | 
| 291 | 
            +
                      # The URL of the corresponding git commit.
         | 
| 292 | 
            +
                      git_commit_url: nil
         | 
| 293 | 
            +
                    )
         | 
| 294 | 
            +
                    end
         | 
| 295 | 
            +
             | 
| 296 | 
            +
                    sig do
         | 
| 297 | 
            +
                      override.returns(
         | 
| 298 | 
            +
                        {
         | 
| 299 | 
            +
                          id: String,
         | 
| 300 | 
            +
                          author_id: String,
         | 
| 301 | 
            +
                          file_size: T.nilable(Integer),
         | 
| 302 | 
            +
                          message: String,
         | 
| 303 | 
            +
                          ml_model_id: T.nilable(String),
         | 
| 304 | 
            +
                          storage_uri: String,
         | 
| 305 | 
            +
                          training_dataset_id: T.nilable(String),
         | 
| 306 | 
            +
                          validation_dataset_id: T.nilable(String),
         | 
| 307 | 
            +
                          date_created: Time,
         | 
| 308 | 
            +
                          git_commit_ref: String,
         | 
| 309 | 
            +
                          git_commit_sha: Integer,
         | 
| 310 | 
            +
                          git_commit_url: String
         | 
| 311 | 
            +
                        }
         | 
| 312 | 
            +
                      )
         | 
| 313 | 
            +
                    end
         | 
| 314 | 
            +
                    def to_hash
         | 
| 315 | 
            +
                    end
         | 
| 316 | 
            +
                  end
         | 
| 317 | 
            +
             | 
| 318 | 
            +
                  # The commit status. Initially, the commit is `queued`, then, it switches to
         | 
| 319 | 
            +
                  # `running`. Finally, it can be `paused`, `failed`, or `completed`.
         | 
| 320 | 
            +
                  module Status
         | 
| 321 | 
            +
                    extend Openlayer::Internal::Type::Enum
         | 
| 322 | 
            +
             | 
| 323 | 
            +
                    TaggedSymbol =
         | 
| 324 | 
            +
                      T.type_alias do
         | 
| 325 | 
            +
                        T.all(Symbol, Openlayer::Models::CommitRetrieveResponse::Status)
         | 
| 326 | 
            +
                      end
         | 
| 327 | 
            +
                    OrSymbol = T.type_alias { T.any(Symbol, String) }
         | 
| 328 | 
            +
             | 
| 329 | 
            +
                    QUEUED =
         | 
| 330 | 
            +
                      T.let(
         | 
| 331 | 
            +
                        :queued,
         | 
| 332 | 
            +
                        Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol
         | 
| 333 | 
            +
                      )
         | 
| 334 | 
            +
                    RUNNING =
         | 
| 335 | 
            +
                      T.let(
         | 
| 336 | 
            +
                        :running,
         | 
| 337 | 
            +
                        Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol
         | 
| 338 | 
            +
                      )
         | 
| 339 | 
            +
                    PAUSED =
         | 
| 340 | 
            +
                      T.let(
         | 
| 341 | 
            +
                        :paused,
         | 
| 342 | 
            +
                        Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol
         | 
| 343 | 
            +
                      )
         | 
| 344 | 
            +
                    FAILED =
         | 
| 345 | 
            +
                      T.let(
         | 
| 346 | 
            +
                        :failed,
         | 
| 347 | 
            +
                        Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol
         | 
| 348 | 
            +
                      )
         | 
| 349 | 
            +
                    COMPLETED =
         | 
| 350 | 
            +
                      T.let(
         | 
| 351 | 
            +
                        :completed,
         | 
| 352 | 
            +
                        Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol
         | 
| 353 | 
            +
                      )
         | 
| 354 | 
            +
                    UNKNOWN =
         | 
| 355 | 
            +
                      T.let(
         | 
| 356 | 
            +
                        :unknown,
         | 
| 357 | 
            +
                        Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol
         | 
| 358 | 
            +
                      )
         | 
| 359 | 
            +
             | 
| 360 | 
            +
                    sig do
         | 
| 361 | 
            +
                      override.returns(
         | 
| 362 | 
            +
                        T::Array[
         | 
| 363 | 
            +
                          Openlayer::Models::CommitRetrieveResponse::Status::TaggedSymbol
         | 
| 364 | 
            +
                        ]
         | 
| 365 | 
            +
                      )
         | 
| 366 | 
            +
                    end
         | 
| 367 | 
            +
                    def self.values
         | 
| 368 | 
            +
                    end
         | 
| 369 | 
            +
                  end
         | 
| 370 | 
            +
             | 
| 371 | 
            +
                  class Links < Openlayer::Internal::Type::BaseModel
         | 
| 372 | 
            +
                    OrHash =
         | 
| 373 | 
            +
                      T.type_alias do
         | 
| 374 | 
            +
                        T.any(
         | 
| 375 | 
            +
                          Openlayer::Models::CommitRetrieveResponse::Links,
         | 
| 376 | 
            +
                          Openlayer::Internal::AnyHash
         | 
| 377 | 
            +
                        )
         | 
| 378 | 
            +
                      end
         | 
| 379 | 
            +
             | 
| 380 | 
            +
                    sig { returns(String) }
         | 
| 381 | 
            +
                    attr_accessor :app
         | 
| 382 | 
            +
             | 
| 383 | 
            +
                    sig { params(app: String).returns(T.attached_class) }
         | 
| 384 | 
            +
                    def self.new(app:)
         | 
| 385 | 
            +
                    end
         | 
| 386 | 
            +
             | 
| 387 | 
            +
                    sig { override.returns({ app: String }) }
         | 
| 388 | 
            +
                    def to_hash
         | 
| 389 | 
            +
                    end
         | 
| 390 | 
            +
                  end
         | 
| 391 | 
            +
                end
         | 
| 392 | 
            +
              end
         | 
| 393 | 
            +
            end
         | 
| @@ -0,0 +1,214 @@ | |
| 1 | 
            +
            # typed: strong
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            module Openlayer
         | 
| 4 | 
            +
              module Models
         | 
| 5 | 
            +
                module Commits
         | 
| 6 | 
            +
                  class TestResultListParams < Openlayer::Internal::Type::BaseModel
         | 
| 7 | 
            +
                    extend Openlayer::Internal::Type::RequestParameters::Converter
         | 
| 8 | 
            +
                    include Openlayer::Internal::Type::RequestParameters
         | 
| 9 | 
            +
             | 
| 10 | 
            +
                    OrHash =
         | 
| 11 | 
            +
                      T.type_alias do
         | 
| 12 | 
            +
                        T.any(
         | 
| 13 | 
            +
                          Openlayer::Commits::TestResultListParams,
         | 
| 14 | 
            +
                          Openlayer::Internal::AnyHash
         | 
| 15 | 
            +
                        )
         | 
| 16 | 
            +
                      end
         | 
| 17 | 
            +
             | 
| 18 | 
            +
                    # Filter for archived tests.
         | 
| 19 | 
            +
                    sig { returns(T.nilable(T::Boolean)) }
         | 
| 20 | 
            +
                    attr_reader :include_archived
         | 
| 21 | 
            +
             | 
| 22 | 
            +
                    sig { params(include_archived: T::Boolean).void }
         | 
| 23 | 
            +
                    attr_writer :include_archived
         | 
| 24 | 
            +
             | 
| 25 | 
            +
                    # The page to return in a paginated query.
         | 
| 26 | 
            +
                    sig { returns(T.nilable(Integer)) }
         | 
| 27 | 
            +
                    attr_reader :page
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                    sig { params(page: Integer).void }
         | 
| 30 | 
            +
                    attr_writer :page
         | 
| 31 | 
            +
             | 
| 32 | 
            +
                    # Maximum number of items to return per page.
         | 
| 33 | 
            +
                    sig { returns(T.nilable(Integer)) }
         | 
| 34 | 
            +
                    attr_reader :per_page
         | 
| 35 | 
            +
             | 
| 36 | 
            +
                    sig { params(per_page: Integer).void }
         | 
| 37 | 
            +
                    attr_writer :per_page
         | 
| 38 | 
            +
             | 
| 39 | 
            +
                    # Filter list of test results by status. Available statuses are `running`,
         | 
| 40 | 
            +
                    # `passing`, `failing`, `skipped`, and `error`.
         | 
| 41 | 
            +
                    sig do
         | 
| 42 | 
            +
                      returns(
         | 
| 43 | 
            +
                        T.nilable(
         | 
| 44 | 
            +
                          Openlayer::Commits::TestResultListParams::Status::OrSymbol
         | 
| 45 | 
            +
                        )
         | 
| 46 | 
            +
                      )
         | 
| 47 | 
            +
                    end
         | 
| 48 | 
            +
                    attr_reader :status
         | 
| 49 | 
            +
             | 
| 50 | 
            +
                    sig do
         | 
| 51 | 
            +
                      params(
         | 
| 52 | 
            +
                        status: Openlayer::Commits::TestResultListParams::Status::OrSymbol
         | 
| 53 | 
            +
                      ).void
         | 
| 54 | 
            +
                    end
         | 
| 55 | 
            +
                    attr_writer :status
         | 
| 56 | 
            +
             | 
| 57 | 
            +
                    # Filter objects by test type. Available types are `integrity`, `consistency`,
         | 
| 58 | 
            +
                    # `performance`, `fairness`, and `robustness`.
         | 
| 59 | 
            +
                    sig do
         | 
| 60 | 
            +
                      returns(
         | 
| 61 | 
            +
                        T.nilable(Openlayer::Commits::TestResultListParams::Type::OrSymbol)
         | 
| 62 | 
            +
                      )
         | 
| 63 | 
            +
                    end
         | 
| 64 | 
            +
                    attr_reader :type
         | 
| 65 | 
            +
             | 
| 66 | 
            +
                    sig do
         | 
| 67 | 
            +
                      params(
         | 
| 68 | 
            +
                        type: Openlayer::Commits::TestResultListParams::Type::OrSymbol
         | 
| 69 | 
            +
                      ).void
         | 
| 70 | 
            +
                    end
         | 
| 71 | 
            +
                    attr_writer :type
         | 
| 72 | 
            +
             | 
| 73 | 
            +
                    sig do
         | 
| 74 | 
            +
                      params(
         | 
| 75 | 
            +
                        include_archived: T::Boolean,
         | 
| 76 | 
            +
                        page: Integer,
         | 
| 77 | 
            +
                        per_page: Integer,
         | 
| 78 | 
            +
                        status: Openlayer::Commits::TestResultListParams::Status::OrSymbol,
         | 
| 79 | 
            +
                        type: Openlayer::Commits::TestResultListParams::Type::OrSymbol,
         | 
| 80 | 
            +
                        request_options: Openlayer::RequestOptions::OrHash
         | 
| 81 | 
            +
                      ).returns(T.attached_class)
         | 
| 82 | 
            +
                    end
         | 
| 83 | 
            +
                    def self.new(
         | 
| 84 | 
            +
                      # Filter for archived tests.
         | 
| 85 | 
            +
                      include_archived: nil,
         | 
| 86 | 
            +
                      # The page to return in a paginated query.
         | 
| 87 | 
            +
                      page: nil,
         | 
| 88 | 
            +
                      # Maximum number of items to return per page.
         | 
| 89 | 
            +
                      per_page: nil,
         | 
| 90 | 
            +
                      # Filter list of test results by status. Available statuses are `running`,
         | 
| 91 | 
            +
                      # `passing`, `failing`, `skipped`, and `error`.
         | 
| 92 | 
            +
                      status: nil,
         | 
| 93 | 
            +
                      # Filter objects by test type. Available types are `integrity`, `consistency`,
         | 
| 94 | 
            +
                      # `performance`, `fairness`, and `robustness`.
         | 
| 95 | 
            +
                      type: nil,
         | 
| 96 | 
            +
                      request_options: {}
         | 
| 97 | 
            +
                    )
         | 
| 98 | 
            +
                    end
         | 
| 99 | 
            +
             | 
| 100 | 
            +
                    sig do
         | 
| 101 | 
            +
                      override.returns(
         | 
| 102 | 
            +
                        {
         | 
| 103 | 
            +
                          include_archived: T::Boolean,
         | 
| 104 | 
            +
                          page: Integer,
         | 
| 105 | 
            +
                          per_page: Integer,
         | 
| 106 | 
            +
                          status:
         | 
| 107 | 
            +
                            Openlayer::Commits::TestResultListParams::Status::OrSymbol,
         | 
| 108 | 
            +
                          type: Openlayer::Commits::TestResultListParams::Type::OrSymbol,
         | 
| 109 | 
            +
                          request_options: Openlayer::RequestOptions
         | 
| 110 | 
            +
                        }
         | 
| 111 | 
            +
                      )
         | 
| 112 | 
            +
                    end
         | 
| 113 | 
            +
                    def to_hash
         | 
| 114 | 
            +
                    end
         | 
| 115 | 
            +
             | 
| 116 | 
            +
                    # Filter list of test results by status. Available statuses are `running`,
         | 
| 117 | 
            +
                    # `passing`, `failing`, `skipped`, and `error`.
         | 
| 118 | 
            +
                    module Status
         | 
| 119 | 
            +
                      extend Openlayer::Internal::Type::Enum
         | 
| 120 | 
            +
             | 
| 121 | 
            +
                      TaggedSymbol =
         | 
| 122 | 
            +
                        T.type_alias do
         | 
| 123 | 
            +
                          T.all(Symbol, Openlayer::Commits::TestResultListParams::Status)
         | 
| 124 | 
            +
                        end
         | 
| 125 | 
            +
                      OrSymbol = T.type_alias { T.any(Symbol, String) }
         | 
| 126 | 
            +
             | 
| 127 | 
            +
                      RUNNING =
         | 
| 128 | 
            +
                        T.let(
         | 
| 129 | 
            +
                          :running,
         | 
| 130 | 
            +
                          Openlayer::Commits::TestResultListParams::Status::TaggedSymbol
         | 
| 131 | 
            +
                        )
         | 
| 132 | 
            +
                      PASSING =
         | 
| 133 | 
            +
                        T.let(
         | 
| 134 | 
            +
                          :passing,
         | 
| 135 | 
            +
                          Openlayer::Commits::TestResultListParams::Status::TaggedSymbol
         | 
| 136 | 
            +
                        )
         | 
| 137 | 
            +
                      FAILING =
         | 
| 138 | 
            +
                        T.let(
         | 
| 139 | 
            +
                          :failing,
         | 
| 140 | 
            +
                          Openlayer::Commits::TestResultListParams::Status::TaggedSymbol
         | 
| 141 | 
            +
                        )
         | 
| 142 | 
            +
                      SKIPPED =
         | 
| 143 | 
            +
                        T.let(
         | 
| 144 | 
            +
                          :skipped,
         | 
| 145 | 
            +
                          Openlayer::Commits::TestResultListParams::Status::TaggedSymbol
         | 
| 146 | 
            +
                        )
         | 
| 147 | 
            +
                      ERROR =
         | 
| 148 | 
            +
                        T.let(
         | 
| 149 | 
            +
                          :error,
         | 
| 150 | 
            +
                          Openlayer::Commits::TestResultListParams::Status::TaggedSymbol
         | 
| 151 | 
            +
                        )
         | 
| 152 | 
            +
             | 
| 153 | 
            +
                      sig do
         | 
| 154 | 
            +
                        override.returns(
         | 
| 155 | 
            +
                          T::Array[
         | 
| 156 | 
            +
                            Openlayer::Commits::TestResultListParams::Status::TaggedSymbol
         | 
| 157 | 
            +
                          ]
         | 
| 158 | 
            +
                        )
         | 
| 159 | 
            +
                      end
         | 
| 160 | 
            +
                      def self.values
         | 
| 161 | 
            +
                      end
         | 
| 162 | 
            +
                    end
         | 
| 163 | 
            +
             | 
| 164 | 
            +
                    # Filter objects by test type. Available types are `integrity`, `consistency`,
         | 
| 165 | 
            +
                    # `performance`, `fairness`, and `robustness`.
         | 
| 166 | 
            +
                    module Type
         | 
| 167 | 
            +
                      extend Openlayer::Internal::Type::Enum
         | 
| 168 | 
            +
             | 
| 169 | 
            +
                      TaggedSymbol =
         | 
| 170 | 
            +
                        T.type_alias do
         | 
| 171 | 
            +
                          T.all(Symbol, Openlayer::Commits::TestResultListParams::Type)
         | 
| 172 | 
            +
                        end
         | 
| 173 | 
            +
                      OrSymbol = T.type_alias { T.any(Symbol, String) }
         | 
| 174 | 
            +
             | 
| 175 | 
            +
                      INTEGRITY =
         | 
| 176 | 
            +
                        T.let(
         | 
| 177 | 
            +
                          :integrity,
         | 
| 178 | 
            +
                          Openlayer::Commits::TestResultListParams::Type::TaggedSymbol
         | 
| 179 | 
            +
                        )
         | 
| 180 | 
            +
                      CONSISTENCY =
         | 
| 181 | 
            +
                        T.let(
         | 
| 182 | 
            +
                          :consistency,
         | 
| 183 | 
            +
                          Openlayer::Commits::TestResultListParams::Type::TaggedSymbol
         | 
| 184 | 
            +
                        )
         | 
| 185 | 
            +
                      PERFORMANCE =
         | 
| 186 | 
            +
                        T.let(
         | 
| 187 | 
            +
                          :performance,
         | 
| 188 | 
            +
                          Openlayer::Commits::TestResultListParams::Type::TaggedSymbol
         | 
| 189 | 
            +
                        )
         | 
| 190 | 
            +
                      FAIRNESS =
         | 
| 191 | 
            +
                        T.let(
         | 
| 192 | 
            +
                          :fairness,
         | 
| 193 | 
            +
                          Openlayer::Commits::TestResultListParams::Type::TaggedSymbol
         | 
| 194 | 
            +
                        )
         | 
| 195 | 
            +
                      ROBUSTNESS =
         | 
| 196 | 
            +
                        T.let(
         | 
| 197 | 
            +
                          :robustness,
         | 
| 198 | 
            +
                          Openlayer::Commits::TestResultListParams::Type::TaggedSymbol
         | 
| 199 | 
            +
                        )
         | 
| 200 | 
            +
             | 
| 201 | 
            +
                      sig do
         | 
| 202 | 
            +
                        override.returns(
         | 
| 203 | 
            +
                          T::Array[
         | 
| 204 | 
            +
                            Openlayer::Commits::TestResultListParams::Type::TaggedSymbol
         | 
| 205 | 
            +
                          ]
         | 
| 206 | 
            +
                        )
         | 
| 207 | 
            +
                      end
         | 
| 208 | 
            +
                      def self.values
         | 
| 209 | 
            +
                      end
         | 
| 210 | 
            +
                    end
         | 
| 211 | 
            +
                  end
         | 
| 212 | 
            +
                end
         | 
| 213 | 
            +
              end
         | 
| 214 | 
            +
            end
         |