abliteration 0.1.7 → 0.1.9
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/README.md +12 -0
- data/docs/DownloadAnomaly.md +32 -0
- data/docs/DownloadPoint.md +20 -0
- data/docs/GetModelDownloadHistory200Response.md +32 -0
- data/docs/GetModelReadmeAt200Response.md +32 -0
- data/docs/ListAnomalies200Response.md +32 -0
- data/docs/ListModelReadmeDrifts200Response.md +32 -0
- data/docs/ModelsApi.md +304 -0
- data/docs/ReadmeAt.md +22 -0
- data/docs/ReadmeDrift.md +26 -0
- data/lib/abliteration/api/models_api.rb +327 -0
- data/lib/abliteration/models/download_anomaly.rb +250 -0
- data/lib/abliteration/models/download_point.rb +158 -0
- data/lib/abliteration/models/get_model_download_history200_response.rb +386 -0
- data/lib/abliteration/models/get_model_readme_at200_response.rb +384 -0
- data/lib/abliteration/models/list_anomalies200_response.rb +386 -0
- data/lib/abliteration/models/list_model_readme_drifts200_response.rb +386 -0
- data/lib/abliteration/models/readme_at.rb +169 -0
- data/lib/abliteration/models/readme_drift.rb +188 -0
- data/lib/abliteration/version.rb +1 -1
- data/lib/abliteration.rb +8 -0
- data/spec/models/download_anomaly_spec.rb +82 -0
- data/spec/models/download_point_spec.rb +42 -0
- data/spec/models/get_model_download_history200_response_spec.rb +82 -0
- data/spec/models/get_model_readme_at200_response_spec.rb +82 -0
- data/spec/models/list_anomalies200_response_spec.rb +82 -0
- data/spec/models/list_model_readme_drifts200_response_spec.rb +82 -0
- data/spec/models/readme_at_spec.rb +48 -0
- data/spec/models/readme_drift_spec.rb +60 -0
- metadata +33 -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::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.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Catyonic OU
|
|
@@ -73,6 +73,8 @@ files:
|
|
|
73
73
|
- docs/DeletionSummaryTimelineInner.md
|
|
74
74
|
- docs/DeletionSummaryTopByDownloadsInner.md
|
|
75
75
|
- docs/DelistedModel.md
|
|
76
|
+
- docs/DownloadAnomaly.md
|
|
77
|
+
- docs/DownloadPoint.md
|
|
76
78
|
- docs/Envelope.md
|
|
77
79
|
- docs/Error.md
|
|
78
80
|
- docs/Event.md
|
|
@@ -82,16 +84,20 @@ files:
|
|
|
82
84
|
- docs/GetIndex200Response.md
|
|
83
85
|
- docs/GetMethod200Response.md
|
|
84
86
|
- docs/GetModel200Response.md
|
|
87
|
+
- docs/GetModelDownloadHistory200Response.md
|
|
88
|
+
- docs/GetModelReadmeAt200Response.md
|
|
85
89
|
- docs/HistoricalDeletion.md
|
|
86
90
|
- docs/Index.md
|
|
87
91
|
- docs/IndexDetail.md
|
|
88
92
|
- docs/IndicesApi.md
|
|
93
|
+
- docs/ListAnomalies200Response.md
|
|
89
94
|
- docs/ListAuthors200Response.md
|
|
90
95
|
- docs/ListDatasets200Response.md
|
|
91
96
|
- docs/ListDelistedModels200Response.md
|
|
92
97
|
- docs/ListHistoricalDeletions200Response.md
|
|
93
98
|
- docs/ListIndices200Response.md
|
|
94
99
|
- docs/ListMethods200Response.md
|
|
100
|
+
- docs/ListModelReadmeDrifts200Response.md
|
|
95
101
|
- docs/ListModels200Response.md
|
|
96
102
|
- docs/ListTimeline200Response.md
|
|
97
103
|
- docs/Method.md
|
|
@@ -102,6 +108,8 @@ files:
|
|
|
102
108
|
- docs/ModelSummary.md
|
|
103
109
|
- docs/ModelsApi.md
|
|
104
110
|
- docs/Passport.md
|
|
111
|
+
- docs/ReadmeAt.md
|
|
112
|
+
- docs/ReadmeDrift.md
|
|
105
113
|
- docs/TimelineApi.md
|
|
106
114
|
- git_push.sh
|
|
107
115
|
- lib/abliteration.rb
|
|
@@ -124,6 +132,8 @@ files:
|
|
|
124
132
|
- lib/abliteration/models/deletion_summary_timeline_inner.rb
|
|
125
133
|
- lib/abliteration/models/deletion_summary_top_by_downloads_inner.rb
|
|
126
134
|
- lib/abliteration/models/delisted_model.rb
|
|
135
|
+
- lib/abliteration/models/download_anomaly.rb
|
|
136
|
+
- lib/abliteration/models/download_point.rb
|
|
127
137
|
- lib/abliteration/models/envelope.rb
|
|
128
138
|
- lib/abliteration/models/error.rb
|
|
129
139
|
- lib/abliteration/models/event.rb
|
|
@@ -133,15 +143,19 @@ files:
|
|
|
133
143
|
- lib/abliteration/models/get_index200_response.rb
|
|
134
144
|
- lib/abliteration/models/get_method200_response.rb
|
|
135
145
|
- lib/abliteration/models/get_model200_response.rb
|
|
146
|
+
- lib/abliteration/models/get_model_download_history200_response.rb
|
|
147
|
+
- lib/abliteration/models/get_model_readme_at200_response.rb
|
|
136
148
|
- lib/abliteration/models/historical_deletion.rb
|
|
137
149
|
- lib/abliteration/models/index.rb
|
|
138
150
|
- lib/abliteration/models/index_detail.rb
|
|
151
|
+
- lib/abliteration/models/list_anomalies200_response.rb
|
|
139
152
|
- lib/abliteration/models/list_authors200_response.rb
|
|
140
153
|
- lib/abliteration/models/list_datasets200_response.rb
|
|
141
154
|
- lib/abliteration/models/list_delisted_models200_response.rb
|
|
142
155
|
- lib/abliteration/models/list_historical_deletions200_response.rb
|
|
143
156
|
- lib/abliteration/models/list_indices200_response.rb
|
|
144
157
|
- lib/abliteration/models/list_methods200_response.rb
|
|
158
|
+
- lib/abliteration/models/list_model_readme_drifts200_response.rb
|
|
145
159
|
- lib/abliteration/models/list_models200_response.rb
|
|
146
160
|
- lib/abliteration/models/list_timeline200_response.rb
|
|
147
161
|
- lib/abliteration/models/method.rb
|
|
@@ -150,6 +164,8 @@ files:
|
|
|
150
164
|
- lib/abliteration/models/model_detail.rb
|
|
151
165
|
- lib/abliteration/models/model_summary.rb
|
|
152
166
|
- lib/abliteration/models/passport.rb
|
|
167
|
+
- lib/abliteration/models/readme_at.rb
|
|
168
|
+
- lib/abliteration/models/readme_drift.rb
|
|
153
169
|
- lib/abliteration/version.rb
|
|
154
170
|
- openapi-generator-config.json
|
|
155
171
|
- openapitools.json
|
|
@@ -168,6 +184,8 @@ files:
|
|
|
168
184
|
- spec/models/deletion_summary_timeline_inner_spec.rb
|
|
169
185
|
- spec/models/deletion_summary_top_by_downloads_inner_spec.rb
|
|
170
186
|
- spec/models/delisted_model_spec.rb
|
|
187
|
+
- spec/models/download_anomaly_spec.rb
|
|
188
|
+
- spec/models/download_point_spec.rb
|
|
171
189
|
- spec/models/envelope_spec.rb
|
|
172
190
|
- spec/models/error_spec.rb
|
|
173
191
|
- spec/models/event_spec.rb
|
|
@@ -177,15 +195,19 @@ files:
|
|
|
177
195
|
- spec/models/get_index200_response_spec.rb
|
|
178
196
|
- spec/models/get_method200_response_spec.rb
|
|
179
197
|
- spec/models/get_model200_response_spec.rb
|
|
198
|
+
- spec/models/get_model_download_history200_response_spec.rb
|
|
199
|
+
- spec/models/get_model_readme_at200_response_spec.rb
|
|
180
200
|
- spec/models/historical_deletion_spec.rb
|
|
181
201
|
- spec/models/index_detail_spec.rb
|
|
182
202
|
- spec/models/index_spec.rb
|
|
203
|
+
- spec/models/list_anomalies200_response_spec.rb
|
|
183
204
|
- spec/models/list_authors200_response_spec.rb
|
|
184
205
|
- spec/models/list_datasets200_response_spec.rb
|
|
185
206
|
- spec/models/list_delisted_models200_response_spec.rb
|
|
186
207
|
- spec/models/list_historical_deletions200_response_spec.rb
|
|
187
208
|
- spec/models/list_indices200_response_spec.rb
|
|
188
209
|
- spec/models/list_methods200_response_spec.rb
|
|
210
|
+
- spec/models/list_model_readme_drifts200_response_spec.rb
|
|
189
211
|
- spec/models/list_models200_response_spec.rb
|
|
190
212
|
- spec/models/list_timeline200_response_spec.rb
|
|
191
213
|
- spec/models/method_detail_all_of_top_authors_spec.rb
|
|
@@ -194,6 +216,8 @@ files:
|
|
|
194
216
|
- spec/models/model_detail_spec.rb
|
|
195
217
|
- spec/models/model_summary_spec.rb
|
|
196
218
|
- spec/models/passport_spec.rb
|
|
219
|
+
- spec/models/readme_at_spec.rb
|
|
220
|
+
- spec/models/readme_drift_spec.rb
|
|
197
221
|
- spec/spec_helper.rb
|
|
198
222
|
homepage: https://abliteration.org/api
|
|
199
223
|
licenses:
|
|
@@ -226,6 +250,7 @@ test_files:
|
|
|
226
250
|
- spec/api/indices_api_spec.rb
|
|
227
251
|
- spec/api/methods_api_spec.rb
|
|
228
252
|
- spec/models/historical_deletion_spec.rb
|
|
253
|
+
- spec/models/list_anomalies200_response_spec.rb
|
|
229
254
|
- spec/models/get_index200_response_spec.rb
|
|
230
255
|
- spec/models/model_summary_spec.rb
|
|
231
256
|
- spec/models/list_methods200_response_spec.rb
|
|
@@ -236,10 +261,12 @@ test_files:
|
|
|
236
261
|
- spec/models/deletion_summary_spec.rb
|
|
237
262
|
- spec/models/list_indices200_response_spec.rb
|
|
238
263
|
- spec/models/dataset_spec.rb
|
|
264
|
+
- spec/models/download_anomaly_spec.rb
|
|
239
265
|
- spec/models/list_historical_deletions200_response_spec.rb
|
|
240
266
|
- spec/models/method_spec.rb
|
|
241
267
|
- spec/models/delisted_model_spec.rb
|
|
242
268
|
- spec/models/deletion_summary_timeline_inner_spec.rb
|
|
269
|
+
- spec/models/list_model_readme_drifts200_response_spec.rb
|
|
243
270
|
- spec/models/method_detail_spec.rb
|
|
244
271
|
- spec/models/author_spec.rb
|
|
245
272
|
- spec/models/list_models200_response_spec.rb
|
|
@@ -248,16 +275,21 @@ test_files:
|
|
|
248
275
|
- spec/models/get_dataset200_response_spec.rb
|
|
249
276
|
- spec/models/passport_spec.rb
|
|
250
277
|
- spec/models/dai_point_spec.rb
|
|
278
|
+
- spec/models/get_model_download_history200_response_spec.rb
|
|
251
279
|
- spec/models/author_detail_spec.rb
|
|
252
280
|
- spec/models/get_model200_response_spec.rb
|
|
253
281
|
- spec/models/error_spec.rb
|
|
282
|
+
- spec/models/download_point_spec.rb
|
|
254
283
|
- spec/models/get_author200_response_spec.rb
|
|
255
284
|
- spec/models/dataset_detail_spec.rb
|
|
256
285
|
- spec/models/event_spec.rb
|
|
257
286
|
- spec/models/list_authors200_response_spec.rb
|
|
258
287
|
- spec/models/deletion_summary_top_by_downloads_inner_spec.rb
|
|
288
|
+
- spec/models/readme_at_spec.rb
|
|
259
289
|
- spec/models/model_detail_spec.rb
|
|
260
290
|
- spec/models/method_detail_all_of_top_authors_spec.rb
|
|
261
291
|
- spec/models/get_method200_response_spec.rb
|
|
292
|
+
- spec/models/get_model_readme_at200_response_spec.rb
|
|
293
|
+
- spec/models/readme_drift_spec.rb
|
|
262
294
|
- spec/models/list_delisted_models200_response_spec.rb
|
|
263
295
|
- spec/spec_helper.rb
|