abliteration 0.1.6 → 0.1.8

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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -0
  3. data/docs/DeletionSummary.md +28 -0
  4. data/docs/DeletionSummaryTimelineInner.md +20 -0
  5. data/docs/DeletionSummaryTopByDownloadsInner.md +24 -0
  6. data/docs/GetHistoricalDeletionSummary200Response.md +32 -0
  7. data/docs/GetModelReadmeAt200Response.md +32 -0
  8. data/docs/HistoricalDeletion.md +28 -0
  9. data/docs/ListHistoricalDeletions200Response.md +32 -0
  10. data/docs/ListModelReadmeDrifts200Response.md +32 -0
  11. data/docs/ModelsApi.md +297 -0
  12. data/docs/ReadmeAt.md +22 -0
  13. data/docs/ReadmeDrift.md +26 -0
  14. data/lib/abliteration/api/models_api.rb +302 -0
  15. data/lib/abliteration/models/deletion_summary.rb +202 -0
  16. data/lib/abliteration/models/deletion_summary_timeline_inner.rb +156 -0
  17. data/lib/abliteration/models/deletion_summary_top_by_downloads_inner.rb +174 -0
  18. data/lib/abliteration/models/get_historical_deletion_summary200_response.rb +384 -0
  19. data/lib/abliteration/models/get_model_readme_at200_response.rb +384 -0
  20. data/lib/abliteration/models/historical_deletion.rb +197 -0
  21. data/lib/abliteration/models/list_historical_deletions200_response.rb +386 -0
  22. data/lib/abliteration/models/list_model_readme_drifts200_response.rb +386 -0
  23. data/lib/abliteration/models/readme_at.rb +169 -0
  24. data/lib/abliteration/models/readme_drift.rb +188 -0
  25. data/lib/abliteration/version.rb +1 -1
  26. data/lib/abliteration.rb +10 -0
  27. data/spec/models/deletion_summary_spec.rb +66 -0
  28. data/spec/models/deletion_summary_timeline_inner_spec.rb +42 -0
  29. data/spec/models/deletion_summary_top_by_downloads_inner_spec.rb +54 -0
  30. data/spec/models/get_historical_deletion_summary200_response_spec.rb +82 -0
  31. data/spec/models/get_model_readme_at200_response_spec.rb +82 -0
  32. data/spec/models/historical_deletion_spec.rb +66 -0
  33. data/spec/models/list_historical_deletions200_response_spec.rb +82 -0
  34. data/spec/models/list_model_readme_drifts200_response_spec.rb +82 -0
  35. data/spec/models/readme_at_spec.rb +48 -0
  36. data/spec/models/readme_drift_spec.rb +60 -0
  37. metadata +41 -1
@@ -0,0 +1,82 @@
1
+ =begin
2
+ #abliteration.org Public API
3
+
4
+ #Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Abliteration::ListHistoricalDeletions200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Abliteration::ListHistoricalDeletions200Response do
21
+ #let(:instance) { Abliteration::ListHistoricalDeletions200Response.new }
22
+
23
+ describe 'test an instance of ListHistoricalDeletions200Response' do
24
+ it 'should create an instance of ListHistoricalDeletions200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Abliteration::ListHistoricalDeletions200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "cost"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "credits_remaining"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "rate_limit_limit"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "rate_limit_remaining"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "rate_limit_reset"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "metering"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["preview", "billed"])
70
+ # validator.allowable_values.each do |value|
71
+ # expect { instance.metering = value }.not_to raise_error
72
+ # end
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "request_id"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ end
@@ -0,0 +1,82 @@
1
+ =begin
2
+ #abliteration.org Public API
3
+
4
+ #Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Abliteration::ListModelReadmeDrifts200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Abliteration::ListModelReadmeDrifts200Response do
21
+ #let(:instance) { Abliteration::ListModelReadmeDrifts200Response.new }
22
+
23
+ describe 'test an instance of ListModelReadmeDrifts200Response' do
24
+ it 'should create an instance of ListModelReadmeDrifts200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Abliteration::ListModelReadmeDrifts200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "cost"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "credits_remaining"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "rate_limit_limit"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "rate_limit_remaining"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "rate_limit_reset"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "metering"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["preview", "billed"])
70
+ # validator.allowable_values.each do |value|
71
+ # expect { instance.metering = value }.not_to raise_error
72
+ # end
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "request_id"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #abliteration.org Public API
3
+
4
+ #Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Abliteration::ReadmeAt
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Abliteration::ReadmeAt do
21
+ #let(:instance) { Abliteration::ReadmeAt.new }
22
+
23
+ describe 'test an instance of ReadmeAt' do
24
+ it 'should create an instance of ReadmeAt' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Abliteration::ReadmeAt)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "commit"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "content"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,60 @@
1
+ =begin
2
+ #abliteration.org Public API
3
+
4
+ #Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Abliteration::ReadmeDrift
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Abliteration::ReadmeDrift do
21
+ #let(:instance) { Abliteration::ReadmeDrift.new }
22
+
23
+ describe 'test an instance of ReadmeDrift' do
24
+ it 'should create an instance of ReadmeDrift' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Abliteration::ReadmeDrift)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "commit_sha"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "commit_ts"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "commit_message"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "content_size"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "size_delta"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abliteration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Catyonic OU
@@ -69,23 +69,31 @@ files:
69
69
  - docs/Dataset.md
70
70
  - docs/DatasetDetail.md
71
71
  - docs/DatasetsApi.md
72
+ - docs/DeletionSummary.md
73
+ - docs/DeletionSummaryTimelineInner.md
74
+ - docs/DeletionSummaryTopByDownloadsInner.md
72
75
  - docs/DelistedModel.md
73
76
  - docs/Envelope.md
74
77
  - docs/Error.md
75
78
  - docs/Event.md
76
79
  - docs/GetAuthor200Response.md
77
80
  - docs/GetDataset200Response.md
81
+ - docs/GetHistoricalDeletionSummary200Response.md
78
82
  - docs/GetIndex200Response.md
79
83
  - docs/GetMethod200Response.md
80
84
  - docs/GetModel200Response.md
85
+ - docs/GetModelReadmeAt200Response.md
86
+ - docs/HistoricalDeletion.md
81
87
  - docs/Index.md
82
88
  - docs/IndexDetail.md
83
89
  - docs/IndicesApi.md
84
90
  - docs/ListAuthors200Response.md
85
91
  - docs/ListDatasets200Response.md
86
92
  - docs/ListDelistedModels200Response.md
93
+ - docs/ListHistoricalDeletions200Response.md
87
94
  - docs/ListIndices200Response.md
88
95
  - docs/ListMethods200Response.md
96
+ - docs/ListModelReadmeDrifts200Response.md
89
97
  - docs/ListModels200Response.md
90
98
  - docs/ListTimeline200Response.md
91
99
  - docs/Method.md
@@ -96,6 +104,8 @@ files:
96
104
  - docs/ModelSummary.md
97
105
  - docs/ModelsApi.md
98
106
  - docs/Passport.md
107
+ - docs/ReadmeAt.md
108
+ - docs/ReadmeDrift.md
99
109
  - docs/TimelineApi.md
100
110
  - git_push.sh
101
111
  - lib/abliteration.rb
@@ -114,22 +124,30 @@ files:
114
124
  - lib/abliteration/models/dai_point.rb
115
125
  - lib/abliteration/models/dataset.rb
116
126
  - lib/abliteration/models/dataset_detail.rb
127
+ - lib/abliteration/models/deletion_summary.rb
128
+ - lib/abliteration/models/deletion_summary_timeline_inner.rb
129
+ - lib/abliteration/models/deletion_summary_top_by_downloads_inner.rb
117
130
  - lib/abliteration/models/delisted_model.rb
118
131
  - lib/abliteration/models/envelope.rb
119
132
  - lib/abliteration/models/error.rb
120
133
  - lib/abliteration/models/event.rb
121
134
  - lib/abliteration/models/get_author200_response.rb
122
135
  - lib/abliteration/models/get_dataset200_response.rb
136
+ - lib/abliteration/models/get_historical_deletion_summary200_response.rb
123
137
  - lib/abliteration/models/get_index200_response.rb
124
138
  - lib/abliteration/models/get_method200_response.rb
125
139
  - lib/abliteration/models/get_model200_response.rb
140
+ - lib/abliteration/models/get_model_readme_at200_response.rb
141
+ - lib/abliteration/models/historical_deletion.rb
126
142
  - lib/abliteration/models/index.rb
127
143
  - lib/abliteration/models/index_detail.rb
128
144
  - lib/abliteration/models/list_authors200_response.rb
129
145
  - lib/abliteration/models/list_datasets200_response.rb
130
146
  - lib/abliteration/models/list_delisted_models200_response.rb
147
+ - lib/abliteration/models/list_historical_deletions200_response.rb
131
148
  - lib/abliteration/models/list_indices200_response.rb
132
149
  - lib/abliteration/models/list_methods200_response.rb
150
+ - lib/abliteration/models/list_model_readme_drifts200_response.rb
133
151
  - lib/abliteration/models/list_models200_response.rb
134
152
  - lib/abliteration/models/list_timeline200_response.rb
135
153
  - lib/abliteration/models/method.rb
@@ -138,6 +156,8 @@ files:
138
156
  - lib/abliteration/models/model_detail.rb
139
157
  - lib/abliteration/models/model_summary.rb
140
158
  - lib/abliteration/models/passport.rb
159
+ - lib/abliteration/models/readme_at.rb
160
+ - lib/abliteration/models/readme_drift.rb
141
161
  - lib/abliteration/version.rb
142
162
  - openapi-generator-config.json
143
163
  - openapitools.json
@@ -152,22 +172,30 @@ files:
152
172
  - spec/models/dai_point_spec.rb
153
173
  - spec/models/dataset_detail_spec.rb
154
174
  - spec/models/dataset_spec.rb
175
+ - spec/models/deletion_summary_spec.rb
176
+ - spec/models/deletion_summary_timeline_inner_spec.rb
177
+ - spec/models/deletion_summary_top_by_downloads_inner_spec.rb
155
178
  - spec/models/delisted_model_spec.rb
156
179
  - spec/models/envelope_spec.rb
157
180
  - spec/models/error_spec.rb
158
181
  - spec/models/event_spec.rb
159
182
  - spec/models/get_author200_response_spec.rb
160
183
  - spec/models/get_dataset200_response_spec.rb
184
+ - spec/models/get_historical_deletion_summary200_response_spec.rb
161
185
  - spec/models/get_index200_response_spec.rb
162
186
  - spec/models/get_method200_response_spec.rb
163
187
  - spec/models/get_model200_response_spec.rb
188
+ - spec/models/get_model_readme_at200_response_spec.rb
189
+ - spec/models/historical_deletion_spec.rb
164
190
  - spec/models/index_detail_spec.rb
165
191
  - spec/models/index_spec.rb
166
192
  - spec/models/list_authors200_response_spec.rb
167
193
  - spec/models/list_datasets200_response_spec.rb
168
194
  - spec/models/list_delisted_models200_response_spec.rb
195
+ - spec/models/list_historical_deletions200_response_spec.rb
169
196
  - spec/models/list_indices200_response_spec.rb
170
197
  - spec/models/list_methods200_response_spec.rb
198
+ - spec/models/list_model_readme_drifts200_response_spec.rb
171
199
  - spec/models/list_models200_response_spec.rb
172
200
  - spec/models/list_timeline200_response_spec.rb
173
201
  - spec/models/method_detail_all_of_top_authors_spec.rb
@@ -176,6 +204,8 @@ files:
176
204
  - spec/models/model_detail_spec.rb
177
205
  - spec/models/model_summary_spec.rb
178
206
  - spec/models/passport_spec.rb
207
+ - spec/models/readme_at_spec.rb
208
+ - spec/models/readme_drift_spec.rb
179
209
  - spec/spec_helper.rb
180
210
  homepage: https://abliteration.org/api
181
211
  licenses:
@@ -207,6 +237,7 @@ test_files:
207
237
  - spec/api/datasets_api_spec.rb
208
238
  - spec/api/indices_api_spec.rb
209
239
  - spec/api/methods_api_spec.rb
240
+ - spec/models/historical_deletion_spec.rb
210
241
  - spec/models/get_index200_response_spec.rb
211
242
  - spec/models/model_summary_spec.rb
212
243
  - spec/models/list_methods200_response_spec.rb
@@ -214,13 +245,18 @@ test_files:
214
245
  - spec/models/list_timeline200_response_spec.rb
215
246
  - spec/models/list_datasets200_response_spec.rb
216
247
  - spec/models/envelope_spec.rb
248
+ - spec/models/deletion_summary_spec.rb
217
249
  - spec/models/list_indices200_response_spec.rb
218
250
  - spec/models/dataset_spec.rb
251
+ - spec/models/list_historical_deletions200_response_spec.rb
219
252
  - spec/models/method_spec.rb
220
253
  - spec/models/delisted_model_spec.rb
254
+ - spec/models/deletion_summary_timeline_inner_spec.rb
255
+ - spec/models/list_model_readme_drifts200_response_spec.rb
221
256
  - spec/models/method_detail_spec.rb
222
257
  - spec/models/author_spec.rb
223
258
  - spec/models/list_models200_response_spec.rb
259
+ - spec/models/get_historical_deletion_summary200_response_spec.rb
224
260
  - spec/models/index_spec.rb
225
261
  - spec/models/get_dataset200_response_spec.rb
226
262
  - spec/models/passport_spec.rb
@@ -232,8 +268,12 @@ test_files:
232
268
  - spec/models/dataset_detail_spec.rb
233
269
  - spec/models/event_spec.rb
234
270
  - spec/models/list_authors200_response_spec.rb
271
+ - spec/models/deletion_summary_top_by_downloads_inner_spec.rb
272
+ - spec/models/readme_at_spec.rb
235
273
  - spec/models/model_detail_spec.rb
236
274
  - spec/models/method_detail_all_of_top_authors_spec.rb
237
275
  - spec/models/get_method200_response_spec.rb
276
+ - spec/models/get_model_readme_at200_response_spec.rb
277
+ - spec/models/readme_drift_spec.rb
238
278
  - spec/models/list_delisted_models200_response_spec.rb
239
279
  - spec/spec_helper.rb