abliteration 0.1.9 → 0.1.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b716c004351088508c4b5f1e556b0f629b7c4ebef25ff11b3e12463d4d8e20c
4
- data.tar.gz: f8ffe5d532a2fda781136c741e4e636b5eaa46a6f51c986be6d87eddf3524f33
3
+ metadata.gz: 7ba64368aa0d755124428b81211090e46f2e3efe676f8a89246197a16a9a7b35
4
+ data.tar.gz: 4f61a1ee507352bf252b371925100f9c1e5242f14766332580d0953b376d305b
5
5
  SHA512:
6
- metadata.gz: 8136feaf6e57bcaa1b29146f686a62ff0b9603380daba943996a20d5032bbad148f61bb30fc0961b38df53ef9bd7e93a06d78cbec33f95f1984f6f00f37c5478
7
- data.tar.gz: 6e7c1d50e0ba3ff34e91131b586332176d8fcbbd1e6f700af217226428417d18f877f1d822e67dc5d85cd317cd7286ef5a3bbbfb8ad84f61976a9b982f9417c5
6
+ metadata.gz: 6eaa21cae02eec41f5cead9811adf5cc7d92ef6eb127b7ab96fca9687825c8c9c7534ae231c9b505fb9c0c04e07c50f9b7533902190c8bf7b4a53bb9fc10c7e5
7
+ data.tar.gz: db0361e1f34e11510ec7771b6b19fe7635b16c8cd6ed6612ebcaf2b18c4d5454631838f1b51cca3a816173415362af05a61600cff5bc1fe2ca5c29e7fae2b78e
data/README.md CHANGED
@@ -125,6 +125,7 @@ Class | Method | HTTP request | Description
125
125
  - [Abliteration::Envelope](docs/Envelope.md)
126
126
  - [Abliteration::Error](docs/Error.md)
127
127
  - [Abliteration::Event](docs/Event.md)
128
+ - [Abliteration::FreedomVelocityDailyPoint](docs/FreedomVelocityDailyPoint.md)
128
129
  - [Abliteration::GetAuthor200Response](docs/GetAuthor200Response.md)
129
130
  - [Abliteration::GetDataset200Response](docs/GetDataset200Response.md)
130
131
  - [Abliteration::GetHistoricalDeletionSummary200Response](docs/GetHistoricalDeletionSummary200Response.md)
@@ -0,0 +1,24 @@
1
+ # Abliteration::FreedomVelocityDailyPoint
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **date** | **String** | UTC date of the snapshot, YYYY-MM-DD. | [optional] |
8
+ | **value** | **Float** | Mean days from a base model release to the first derived catalog model, as stored that day. | [optional] |
9
+ | **median** | **Float** | Median of the per-base days that day; null when not recorded. | [optional] |
10
+ | **bases_count** | **Integer** | Number of base models in the average that day; null when not recorded. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'abliteration'
16
+
17
+ instance = Abliteration::FreedomVelocityDailyPoint.new(
18
+ date: 2026-11-09,
19
+ value: null,
20
+ median: null,
21
+ bases_count: null
22
+ )
23
+ ```
24
+
data/docs/Index.md CHANGED
@@ -10,9 +10,11 @@
10
10
  | **unit** | **String** | | [optional] |
11
11
  | **measured** | **Boolean** | False when the value is a placeholder constant rather than a measurement. | [optional] |
12
12
  | **source** | **String** | Where the number is produced. | [optional] |
13
- | **history_available** | **Boolean** | | [optional] |
13
+ | **history_available** | **Boolean** | true when this index exposes a time series in `history` or `daily_history` | [optional] |
14
14
  | **as_of** | **String** | | [optional] |
15
15
  | **note** | **String** | | [optional] |
16
+ | **median** | **Float** | freedom-velocity only: median of the per-base days, rounded to 0.1. | [optional] |
17
+ | **bases_count** | **Integer** | freedom-velocity only: number of base models in the average. | [optional] |
16
18
  | **recent_history** | [**Array<DaiPoint>**](DaiPoint.md) | | [optional] |
17
19
 
18
20
  ## Example
@@ -30,6 +32,8 @@ instance = Abliteration::Index.new(
30
32
  history_available: null,
31
33
  as_of: null,
32
34
  note: null,
35
+ median: null,
36
+ bases_count: null,
33
37
  recent_history: null
34
38
  )
35
39
  ```
data/docs/IndexDetail.md CHANGED
@@ -10,11 +10,14 @@
10
10
  | **unit** | **String** | | [optional] |
11
11
  | **measured** | **Boolean** | False when the value is a placeholder constant rather than a measurement. | [optional] |
12
12
  | **source** | **String** | Where the number is produced. | [optional] |
13
- | **history_available** | **Boolean** | | [optional] |
13
+ | **history_available** | **Boolean** | true when this index exposes a time series in `history` or `daily_history` | [optional] |
14
14
  | **as_of** | **String** | | [optional] |
15
15
  | **note** | **String** | | [optional] |
16
+ | **median** | **Float** | freedom-velocity only: median of the per-base days, rounded to 0.1. | [optional] |
17
+ | **bases_count** | **Integer** | freedom-velocity only: number of base models in the average. | [optional] |
16
18
  | **recent_history** | [**Array<DaiPoint>**](DaiPoint.md) | | [optional] |
17
19
  | **history** | [**Array<DaiPoint>**](DaiPoint.md) | | [optional] |
20
+ | **daily_history** | [**Array<FreedomVelocityDailyPoint>**](FreedomVelocityDailyPoint.md) | freedom-velocity only (absent for the other indices): the daily Freedom Velocity readings stored once a day in index_snapshots, oldest first. Empty until the first daily snapshot exists. | [optional] |
18
21
 
19
22
  ## Example
20
23
 
@@ -31,8 +34,11 @@ instance = Abliteration::IndexDetail.new(
31
34
  history_available: null,
32
35
  as_of: null,
33
36
  note: null,
37
+ median: null,
38
+ bases_count: null,
34
39
  recent_history: null,
35
- history: null
40
+ history: null,
41
+ daily_history: null
36
42
  )
37
43
  ```
38
44
 
data/docs/IndicesApi.md CHANGED
@@ -14,7 +14,7 @@ All URIs are relative to *https://abliteration.org*
14
14
 
15
15
  One index with history
16
16
 
17
- Cost: 10 credits. Only dai has a history series; the others return an empty array with history_available false.
17
+ Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model's release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
18
18
 
19
19
  ### Examples
20
20
 
@@ -83,7 +83,7 @@ end
83
83
 
84
84
  All four indices
85
85
 
86
- Cost: 20 credits. Check the measured flag before treating a value as a finding.
86
+ Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model's release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
87
87
 
88
88
  ### Examples
89
89
 
@@ -20,7 +20,7 @@ module Abliteration
20
20
  @api_client = api_client
21
21
  end
22
22
  # One index with history
23
- # Cost: 10 credits. Only dai has a history series; the others return an empty array with history_available false.
23
+ # Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model's release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
24
24
  # @param id [String] Canonical id or one of the short aliases (DAI, FV, WEAP, F2W). Case-insensitive.
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [GetIndex200Response]
@@ -30,7 +30,7 @@ module Abliteration
30
30
  end
31
31
 
32
32
  # One index with history
33
- # Cost: 10 credits. Only dai has a history series; the others return an empty array with history_available false.
33
+ # Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model's release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
34
34
  # @param id [String] Canonical id or one of the short aliases (DAI, FV, WEAP, F2W). Case-insensitive.
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(GetIndex200Response, Integer, Hash)>] GetIndex200Response data, response status code and response headers
@@ -88,7 +88,7 @@ module Abliteration
88
88
  end
89
89
 
90
90
  # All four indices
91
- # Cost: 20 credits. Check the measured flag before treating a value as a finding.
91
+ # Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model's release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @return [ListIndices200Response]
94
94
  def list_indices(opts = {})
@@ -97,7 +97,7 @@ module Abliteration
97
97
  end
98
98
 
99
99
  # All four indices
100
- # Cost: 20 credits. Check the measured flag before treating a value as a finding.
100
+ # Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model&#39;s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @return [Array<(ListIndices200Response, Integer, Hash)>] ListIndices200Response data, response status code and response headers
103
103
  def list_indices_with_http_info(opts = {})
@@ -0,0 +1,202 @@
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 'date'
14
+ require 'time'
15
+
16
+ module Abliteration
17
+ # One stored daily Freedom Velocity reading.
18
+ class FreedomVelocityDailyPoint < ApiModelBase
19
+ # UTC date of the snapshot, YYYY-MM-DD.
20
+ attr_accessor :date
21
+
22
+ # Mean days from a base model release to the first derived catalog model, as stored that day.
23
+ attr_accessor :value
24
+
25
+ # Median of the per-base days that day; null when not recorded.
26
+ attr_accessor :median
27
+
28
+ # Number of base models in the average that day; null when not recorded.
29
+ attr_accessor :bases_count
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+ :'date' => :'date',
35
+ :'value' => :'value',
36
+ :'median' => :'median',
37
+ :'bases_count' => :'bases_count'
38
+ }
39
+ end
40
+
41
+ # Returns attribute mapping this model knows about
42
+ def self.acceptable_attribute_map
43
+ attribute_map
44
+ end
45
+
46
+ # Returns all the JSON keys this model knows about
47
+ def self.acceptable_attributes
48
+ acceptable_attribute_map.values
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ def self.openapi_types
53
+ {
54
+ :'date' => :'String',
55
+ :'value' => :'Float',
56
+ :'median' => :'Float',
57
+ :'bases_count' => :'Integer'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ :'median',
65
+ :'bases_count'
66
+ ])
67
+ end
68
+
69
+ # Initializes the object
70
+ # @param [Hash] attributes Model attributes in the form of hash
71
+ def initialize(attributes = {})
72
+ if (!attributes.is_a?(Hash))
73
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Abliteration::FreedomVelocityDailyPoint` initialize method"
74
+ end
75
+
76
+ # check to see if the attribute exists and convert string to symbol for hash key
77
+ acceptable_attribute_map = self.class.acceptable_attribute_map
78
+ attributes = attributes.each_with_object({}) { |(k, v), h|
79
+ if (!acceptable_attribute_map.key?(k.to_sym))
80
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Abliteration::FreedomVelocityDailyPoint`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
81
+ end
82
+ h[k.to_sym] = v
83
+ }
84
+
85
+ if attributes.key?(:'date')
86
+ self.date = attributes[:'date']
87
+ end
88
+
89
+ if attributes.key?(:'value')
90
+ self.value = attributes[:'value']
91
+ end
92
+
93
+ if attributes.key?(:'median')
94
+ self.median = attributes[:'median']
95
+ end
96
+
97
+ if attributes.key?(:'bases_count')
98
+ self.bases_count = attributes[:'bases_count']
99
+ end
100
+ end
101
+
102
+ # Show invalid properties with the reasons. Usually used together with valid?
103
+ # @return Array for valid properties with the reasons
104
+ def list_invalid_properties
105
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
106
+ invalid_properties = Array.new
107
+ pattern = Regexp.new(/^\d{4}-\d{2}-\d{2}$/)
108
+ if !@date.nil? && @date !~ pattern
109
+ invalid_properties.push("invalid value for \"date\", must conform to the pattern #{pattern}.")
110
+ end
111
+
112
+ invalid_properties
113
+ end
114
+
115
+ # Check to see if the all the properties in the model are valid
116
+ # @return true if the model is valid
117
+ def valid?
118
+ warn '[DEPRECATED] the `valid?` method is obsolete'
119
+ return false if !@date.nil? && @date !~ Regexp.new(/^\d{4}-\d{2}-\d{2}$/)
120
+ true
121
+ end
122
+
123
+ # Custom attribute writer method with validation
124
+ # @param [Object] date Value to be assigned
125
+ def date=(date)
126
+ if date.nil?
127
+ fail ArgumentError, 'date cannot be nil'
128
+ end
129
+
130
+ pattern = Regexp.new(/^\d{4}-\d{2}-\d{2}$/)
131
+ if date !~ pattern
132
+ fail ArgumentError, "invalid value for \"date\", must conform to the pattern #{pattern}."
133
+ end
134
+
135
+ @date = date
136
+ end
137
+
138
+ # Checks equality by comparing each attribute.
139
+ # @param [Object] Object to be compared
140
+ def ==(o)
141
+ return true if self.equal?(o)
142
+ self.class == o.class &&
143
+ date == o.date &&
144
+ value == o.value &&
145
+ median == o.median &&
146
+ bases_count == o.bases_count
147
+ end
148
+
149
+ # @see the `==` method
150
+ # @param [Object] Object to be compared
151
+ def eql?(o)
152
+ self == o
153
+ end
154
+
155
+ # Calculates hash code according to all attributes.
156
+ # @return [Integer] Hash code
157
+ def hash
158
+ [date, value, median, bases_count].hash
159
+ end
160
+
161
+ # Builds the object from hash
162
+ # @param [Hash] attributes Model attributes in the form of hash
163
+ # @return [Object] Returns the model itself
164
+ def self.build_from_hash(attributes)
165
+ return nil unless attributes.is_a?(Hash)
166
+ attributes = attributes.transform_keys(&:to_sym)
167
+ transformed_hash = {}
168
+ openapi_types.each_pair do |key, type|
169
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
170
+ transformed_hash["#{key}"] = nil
171
+ elsif type =~ /\AArray<(.*)>/i
172
+ # check to ensure the input is an array given that the attribute
173
+ # is documented as an array but the input is not
174
+ if attributes[attribute_map[key]].is_a?(Array)
175
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
176
+ end
177
+ elsif !attributes[attribute_map[key]].nil?
178
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
179
+ end
180
+ end
181
+ new(transformed_hash)
182
+ end
183
+
184
+ # Returns the object in the form of hash
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_hash
187
+ hash = {}
188
+ self.class.attribute_map.each_pair do |attr, param|
189
+ value = self.send(attr)
190
+ if value.nil?
191
+ is_nullable = self.class.openapi_nullable.include?(attr)
192
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
193
+ end
194
+
195
+ hash[param] = _to_hash(value)
196
+ end
197
+ hash
198
+ end
199
+
200
+ end
201
+
202
+ end
@@ -29,12 +29,19 @@ module Abliteration
29
29
  # Where the number is produced.
30
30
  attr_accessor :source
31
31
 
32
+ # true when this index exposes a time series in `history` or `daily_history`
32
33
  attr_accessor :history_available
33
34
 
34
35
  attr_accessor :as_of
35
36
 
36
37
  attr_accessor :note
37
38
 
39
+ # freedom-velocity only: median of the per-base days, rounded to 0.1.
40
+ attr_accessor :median
41
+
42
+ # freedom-velocity only: number of base models in the average.
43
+ attr_accessor :bases_count
44
+
38
45
  attr_accessor :recent_history
39
46
 
40
47
  class EnumAttributeValidator
@@ -71,6 +78,8 @@ module Abliteration
71
78
  :'history_available' => :'history_available',
72
79
  :'as_of' => :'as_of',
73
80
  :'note' => :'note',
81
+ :'median' => :'median',
82
+ :'bases_count' => :'bases_count',
74
83
  :'recent_history' => :'recent_history'
75
84
  }
76
85
  end
@@ -97,6 +106,8 @@ module Abliteration
97
106
  :'history_available' => :'Boolean',
98
107
  :'as_of' => :'String',
99
108
  :'note' => :'String',
109
+ :'median' => :'Float',
110
+ :'bases_count' => :'Integer',
100
111
  :'recent_history' => :'Array<DaiPoint>'
101
112
  }
102
113
  end
@@ -107,6 +118,8 @@ module Abliteration
107
118
  :'value',
108
119
  :'as_of',
109
120
  :'note',
121
+ :'median',
122
+ :'bases_count',
110
123
  ])
111
124
  end
112
125
 
@@ -162,6 +175,14 @@ module Abliteration
162
175
  self.note = attributes[:'note']
163
176
  end
164
177
 
178
+ if attributes.key?(:'median')
179
+ self.median = attributes[:'median']
180
+ end
181
+
182
+ if attributes.key?(:'bases_count')
183
+ self.bases_count = attributes[:'bases_count']
184
+ end
185
+
165
186
  if attributes.key?(:'recent_history')
166
187
  if (value = attributes[:'recent_history']).is_a?(Array)
167
188
  self.recent_history = value
@@ -222,6 +243,8 @@ module Abliteration
222
243
  history_available == o.history_available &&
223
244
  as_of == o.as_of &&
224
245
  note == o.note &&
246
+ median == o.median &&
247
+ bases_count == o.bases_count &&
225
248
  recent_history == o.recent_history
226
249
  end
227
250
 
@@ -234,7 +257,7 @@ module Abliteration
234
257
  # Calculates hash code according to all attributes.
235
258
  # @return [Integer] Hash code
236
259
  def hash
237
- [id, name, value, unit, measured, source, history_available, as_of, note, recent_history].hash
260
+ [id, name, value, unit, measured, source, history_available, as_of, note, median, bases_count, recent_history].hash
238
261
  end
239
262
 
240
263
  # Builds the object from hash
@@ -29,16 +29,26 @@ module Abliteration
29
29
  # Where the number is produced.
30
30
  attr_accessor :source
31
31
 
32
+ # true when this index exposes a time series in `history` or `daily_history`
32
33
  attr_accessor :history_available
33
34
 
34
35
  attr_accessor :as_of
35
36
 
36
37
  attr_accessor :note
37
38
 
39
+ # freedom-velocity only: median of the per-base days, rounded to 0.1.
40
+ attr_accessor :median
41
+
42
+ # freedom-velocity only: number of base models in the average.
43
+ attr_accessor :bases_count
44
+
38
45
  attr_accessor :recent_history
39
46
 
40
47
  attr_accessor :history
41
48
 
49
+ # freedom-velocity only (absent for the other indices): the daily Freedom Velocity readings stored once a day in index_snapshots, oldest first. Empty until the first daily snapshot exists.
50
+ attr_accessor :daily_history
51
+
42
52
  class EnumAttributeValidator
43
53
  attr_reader :datatype
44
54
  attr_reader :allowable_values
@@ -73,8 +83,11 @@ module Abliteration
73
83
  :'history_available' => :'history_available',
74
84
  :'as_of' => :'as_of',
75
85
  :'note' => :'note',
86
+ :'median' => :'median',
87
+ :'bases_count' => :'bases_count',
76
88
  :'recent_history' => :'recent_history',
77
- :'history' => :'history'
89
+ :'history' => :'history',
90
+ :'daily_history' => :'daily_history'
78
91
  }
79
92
  end
80
93
 
@@ -100,8 +113,11 @@ module Abliteration
100
113
  :'history_available' => :'Boolean',
101
114
  :'as_of' => :'String',
102
115
  :'note' => :'String',
116
+ :'median' => :'Float',
117
+ :'bases_count' => :'Integer',
103
118
  :'recent_history' => :'Array<DaiPoint>',
104
- :'history' => :'Array<DaiPoint>'
119
+ :'history' => :'Array<DaiPoint>',
120
+ :'daily_history' => :'Array<FreedomVelocityDailyPoint>'
105
121
  }
106
122
  end
107
123
 
@@ -170,6 +186,14 @@ module Abliteration
170
186
  self.note = attributes[:'note']
171
187
  end
172
188
 
189
+ if attributes.key?(:'median')
190
+ self.median = attributes[:'median']
191
+ end
192
+
193
+ if attributes.key?(:'bases_count')
194
+ self.bases_count = attributes[:'bases_count']
195
+ end
196
+
173
197
  if attributes.key?(:'recent_history')
174
198
  if (value = attributes[:'recent_history']).is_a?(Array)
175
199
  self.recent_history = value
@@ -181,6 +205,12 @@ module Abliteration
181
205
  self.history = value
182
206
  end
183
207
  end
208
+
209
+ if attributes.key?(:'daily_history')
210
+ if (value = attributes[:'daily_history']).is_a?(Array)
211
+ self.daily_history = value
212
+ end
213
+ end
184
214
  end
185
215
 
186
216
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -236,8 +266,11 @@ module Abliteration
236
266
  history_available == o.history_available &&
237
267
  as_of == o.as_of &&
238
268
  note == o.note &&
269
+ median == o.median &&
270
+ bases_count == o.bases_count &&
239
271
  recent_history == o.recent_history &&
240
- history == o.history
272
+ history == o.history &&
273
+ daily_history == o.daily_history
241
274
  end
242
275
 
243
276
  # @see the `==` method
@@ -249,7 +282,7 @@ module Abliteration
249
282
  # Calculates hash code according to all attributes.
250
283
  # @return [Integer] Hash code
251
284
  def hash
252
- [id, name, value, unit, measured, source, history_available, as_of, note, recent_history, history].hash
285
+ [id, name, value, unit, measured, source, history_available, as_of, note, median, bases_count, recent_history, history, daily_history].hash
253
286
  end
254
287
 
255
288
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.25.0
11
11
  =end
12
12
 
13
13
  module Abliteration
14
- VERSION = "0.1.9"
14
+ VERSION = "0.1.10"
15
15
  end
data/lib/abliteration.rb CHANGED
@@ -32,6 +32,7 @@ require 'abliteration/models/download_point'
32
32
  require 'abliteration/models/envelope'
33
33
  require 'abliteration/models/error'
34
34
  require 'abliteration/models/event'
35
+ require 'abliteration/models/freedom_velocity_daily_point'
35
36
  require 'abliteration/models/get_author200_response'
36
37
  require 'abliteration/models/get_dataset200_response'
37
38
  require 'abliteration/models/get_historical_deletion_summary200_response'
@@ -0,0 +1,54 @@
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::FreedomVelocityDailyPoint
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Abliteration::FreedomVelocityDailyPoint do
21
+ #let(:instance) { Abliteration::FreedomVelocityDailyPoint.new }
22
+
23
+ describe 'test an instance of FreedomVelocityDailyPoint' do
24
+ it 'should create an instance of FreedomVelocityDailyPoint' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Abliteration::FreedomVelocityDailyPoint)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "date"' 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 "value"' 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 "median"' 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 "bases_count"' 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
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abliteration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Catyonic OU
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-19 00:00:00.000000000 Z
11
+ date: 2026-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -78,6 +78,7 @@ files:
78
78
  - docs/Envelope.md
79
79
  - docs/Error.md
80
80
  - docs/Event.md
81
+ - docs/FreedomVelocityDailyPoint.md
81
82
  - docs/GetAuthor200Response.md
82
83
  - docs/GetDataset200Response.md
83
84
  - docs/GetHistoricalDeletionSummary200Response.md
@@ -137,6 +138,7 @@ files:
137
138
  - lib/abliteration/models/envelope.rb
138
139
  - lib/abliteration/models/error.rb
139
140
  - lib/abliteration/models/event.rb
141
+ - lib/abliteration/models/freedom_velocity_daily_point.rb
140
142
  - lib/abliteration/models/get_author200_response.rb
141
143
  - lib/abliteration/models/get_dataset200_response.rb
142
144
  - lib/abliteration/models/get_historical_deletion_summary200_response.rb
@@ -189,6 +191,7 @@ files:
189
191
  - spec/models/envelope_spec.rb
190
192
  - spec/models/error_spec.rb
191
193
  - spec/models/event_spec.rb
194
+ - spec/models/freedom_velocity_daily_point_spec.rb
192
195
  - spec/models/get_author200_response_spec.rb
193
196
  - spec/models/get_dataset200_response_spec.rb
194
197
  - spec/models/get_historical_deletion_summary200_response_spec.rb
@@ -243,53 +246,54 @@ signing_key:
243
246
  specification_version: 4
244
247
  summary: Ruby client for the abliteration.org catalog API
245
248
  test_files:
246
- - spec/api/authors_api_spec.rb
249
+ - spec/api/methods_api_spec.rb
250
+ - spec/api/datasets_api_spec.rb
247
251
  - spec/api/models_api_spec.rb
248
252
  - spec/api/timeline_api_spec.rb
249
- - spec/api/datasets_api_spec.rb
253
+ - spec/api/authors_api_spec.rb
250
254
  - spec/api/indices_api_spec.rb
251
- - spec/api/methods_api_spec.rb
252
- - spec/models/historical_deletion_spec.rb
253
- - spec/models/list_anomalies200_response_spec.rb
254
- - spec/models/get_index200_response_spec.rb
255
255
  - spec/models/model_summary_spec.rb
256
- - spec/models/list_methods200_response_spec.rb
257
- - spec/models/index_detail_spec.rb
258
- - spec/models/list_timeline200_response_spec.rb
259
- - spec/models/list_datasets200_response_spec.rb
256
+ - spec/models/get_model200_response_spec.rb
257
+ - spec/models/readme_at_spec.rb
258
+ - spec/models/deletion_summary_timeline_inner_spec.rb
259
+ - spec/models/get_model_readme_at200_response_spec.rb
260
+ - spec/models/dataset_detail_spec.rb
261
+ - spec/models/get_model_download_history200_response_spec.rb
262
+ - spec/models/dai_point_spec.rb
263
+ - spec/models/passport_spec.rb
260
264
  - spec/models/envelope_spec.rb
261
- - spec/models/deletion_summary_spec.rb
262
- - spec/models/list_indices200_response_spec.rb
263
- - spec/models/dataset_spec.rb
264
- - spec/models/download_anomaly_spec.rb
265
+ - spec/models/list_delisted_models200_response_spec.rb
265
266
  - spec/models/list_historical_deletions200_response_spec.rb
266
- - spec/models/method_spec.rb
267
- - spec/models/delisted_model_spec.rb
268
- - spec/models/deletion_summary_timeline_inner_spec.rb
269
- - spec/models/list_model_readme_drifts200_response_spec.rb
270
- - spec/models/method_detail_spec.rb
271
- - spec/models/author_spec.rb
272
- - spec/models/list_models200_response_spec.rb
273
- - spec/models/get_historical_deletion_summary200_response_spec.rb
274
267
  - spec/models/index_spec.rb
275
- - spec/models/get_dataset200_response_spec.rb
276
- - spec/models/passport_spec.rb
277
- - spec/models/dai_point_spec.rb
278
- - spec/models/get_model_download_history200_response_spec.rb
268
+ - spec/models/deletion_summary_spec.rb
269
+ - spec/models/get_method200_response_spec.rb
270
+ - spec/models/list_datasets200_response_spec.rb
279
271
  - spec/models/author_detail_spec.rb
280
- - spec/models/get_model200_response_spec.rb
281
- - spec/models/error_spec.rb
282
- - spec/models/download_point_spec.rb
272
+ - spec/models/list_anomalies200_response_spec.rb
283
273
  - spec/models/get_author200_response_spec.rb
284
- - spec/models/dataset_detail_spec.rb
285
- - spec/models/event_spec.rb
274
+ - spec/models/download_anomaly_spec.rb
286
275
  - spec/models/list_authors200_response_spec.rb
276
+ - spec/models/list_methods200_response_spec.rb
277
+ - spec/models/event_spec.rb
278
+ - spec/models/readme_drift_spec.rb
279
+ - spec/models/freedom_velocity_daily_point_spec.rb
280
+ - spec/models/get_historical_deletion_summary200_response_spec.rb
281
+ - spec/models/get_dataset200_response_spec.rb
282
+ - spec/models/list_indices200_response_spec.rb
283
+ - spec/models/list_model_readme_drifts200_response_spec.rb
284
+ - spec/models/author_spec.rb
285
+ - spec/models/get_index200_response_spec.rb
286
+ - spec/models/dataset_spec.rb
287
+ - spec/models/error_spec.rb
287
288
  - spec/models/deletion_summary_top_by_downloads_inner_spec.rb
288
- - spec/models/readme_at_spec.rb
289
- - spec/models/model_detail_spec.rb
289
+ - spec/models/index_detail_spec.rb
290
+ - spec/models/historical_deletion_spec.rb
290
291
  - spec/models/method_detail_all_of_top_authors_spec.rb
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
294
- - spec/models/list_delisted_models200_response_spec.rb
292
+ - spec/models/model_detail_spec.rb
293
+ - spec/models/list_timeline200_response_spec.rb
294
+ - spec/models/method_detail_spec.rb
295
+ - spec/models/method_spec.rb
296
+ - spec/models/download_point_spec.rb
297
+ - spec/models/delisted_model_spec.rb
298
+ - spec/models/list_models200_response_spec.rb
295
299
  - spec/spec_helper.rb