algolia 3.49.0 → 3.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/models/abtesting-v3/metric_metadata.rb +14 -4
- data/lib/algolia/models/abtesting-v3/metric_name.rb +2 -0
- data/lib/algolia/models/abtesting-v3/metric_result.rb +1 -1
- data/lib/algolia/models/abtesting-v3/primary_metric.rb +3 -1
- data/lib/algolia/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abf8d228ad9d60e554dc4f3c23220bc6811d9618da103b9ee8a2c3cf95f026df
|
|
4
|
+
data.tar.gz: 7e6ba4ea5fa34a7593cfa5422ef6e551f49ebe8dc8ad30b0131defbdfb08676d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5929897a38257795c7c13926069f035db251ddff97857da07cc21b46973ca6bc003e68cb7230da18e811c2df26d8e033446fc3382562d9b406cf1f16f7e1bd57
|
|
7
|
+
data.tar.gz: 5d686751f371498782b1cd931d71f3822d5e029cf32a0907e383f7ee4943bfcf2bf49768ed132bdbf90cfb69a449d40aaa5b35e17d4f4c0d69e701aa9e6e5df9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [3.50.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.49.0...3.50.0)
|
|
2
|
+
|
|
3
|
+
- [2d8e1605b3](https://github.com/algolia/api-clients-automation/commit/2d8e1605b3) feat(specs): expose abtesting-v3 user populations and no-results rate ([#7305](https://github.com/algolia/api-clients-automation/pull/7305)) by [@stevenMevans](https://github.com/stevenMevans/)
|
|
4
|
+
|
|
1
5
|
## [3.49.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.48.0...3.49.0)
|
|
2
6
|
|
|
3
7
|
- [e6933da012](https://github.com/algolia/api-clients-automation/commit/e6933da012) fix(specs): clarify maxHitsPerQuery is a per-page limit ([#7210](https://github.com/algolia/api-clients-automation/pull/7210)) by [@kai687](https://github.com/kai687/)
|
data/Gemfile.lock
CHANGED
|
@@ -15,11 +15,15 @@ module Algolia
|
|
|
15
15
|
# Mean value for this metric.
|
|
16
16
|
attr_accessor :mean
|
|
17
17
|
|
|
18
|
+
# Only present for `winsorized_revenue_per_user`. Number of tracked users in this variant with a tracked purchase in the metric's currency (`dimension`), plus tracked users with no tracked purchase in any currency. Users who purchased only in other currencies are excluded. It's the sample size behind the mean, p-value, and intervals, and differs from the overall `user_count` metric. Omitted when the variant has no record for that currency.
|
|
19
|
+
attr_accessor :user_count
|
|
20
|
+
|
|
18
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
19
22
|
def self.attribute_map
|
|
20
23
|
{
|
|
21
24
|
:winsorized_value => :winsorizedValue,
|
|
22
|
-
:mean => :mean
|
|
25
|
+
:mean => :mean,
|
|
26
|
+
:user_count => :userCount
|
|
23
27
|
}
|
|
24
28
|
end
|
|
25
29
|
|
|
@@ -27,7 +31,8 @@ module Algolia
|
|
|
27
31
|
def self.types_mapping
|
|
28
32
|
{
|
|
29
33
|
:winsorized_value => :"Float",
|
|
30
|
-
:mean => :"Float"
|
|
34
|
+
:mean => :"Float",
|
|
35
|
+
:user_count => :"Integer"
|
|
31
36
|
}
|
|
32
37
|
end
|
|
33
38
|
|
|
@@ -68,6 +73,10 @@ module Algolia
|
|
|
68
73
|
if attributes.key?(:mean)
|
|
69
74
|
self.mean = attributes[:mean]
|
|
70
75
|
end
|
|
76
|
+
|
|
77
|
+
if attributes.key?(:user_count)
|
|
78
|
+
self.user_count = attributes[:user_count]
|
|
79
|
+
end
|
|
71
80
|
end
|
|
72
81
|
|
|
73
82
|
# Checks equality by comparing each attribute.
|
|
@@ -76,7 +85,8 @@ module Algolia
|
|
|
76
85
|
return true if self.equal?(other)
|
|
77
86
|
self.class == other.class &&
|
|
78
87
|
winsorized_value == other.winsorized_value &&
|
|
79
|
-
mean == other.mean
|
|
88
|
+
mean == other.mean &&
|
|
89
|
+
user_count == other.user_count
|
|
80
90
|
end
|
|
81
91
|
|
|
82
92
|
# @see the `==` method
|
|
@@ -88,7 +98,7 @@ module Algolia
|
|
|
88
98
|
# Calculates hash code according to all attributes.
|
|
89
99
|
# @return [Integer] Hash code
|
|
90
100
|
def hash
|
|
91
|
-
[winsorized_value, mean].hash
|
|
101
|
+
[winsorized_value, mean, user_count].hash
|
|
92
102
|
end
|
|
93
103
|
|
|
94
104
|
# Builds the object from hash
|
|
@@ -35,6 +35,7 @@ module Algolia
|
|
|
35
35
|
CONVERTED_USERS_RATE = "converted_users_rate".freeze
|
|
36
36
|
ADD_TO_CART_USERS_RATE = "add_to_cart_users_rate".freeze
|
|
37
37
|
PURCHASE_USERS_RATE = "purchase_users_rate".freeze
|
|
38
|
+
USERS_WITH_NO_RESULTS_RATE = "users_with_no_results_rate".freeze
|
|
38
39
|
AVG_CLICK_THROUGH_RATE_PER_USER = "avg_click_through_rate_per_user".freeze
|
|
39
40
|
AVG_CONVERSION_RATE_PER_USER = "avg_conversion_rate_per_user".freeze
|
|
40
41
|
AVG_PURCHASE_RATE_PER_USER = "avg_purchase_rate_per_user".freeze
|
|
@@ -72,6 +73,7 @@ module Algolia
|
|
|
72
73
|
CONVERTED_USERS_RATE,
|
|
73
74
|
ADD_TO_CART_USERS_RATE,
|
|
74
75
|
PURCHASE_USERS_RATE,
|
|
76
|
+
USERS_WITH_NO_RESULTS_RATE,
|
|
75
77
|
AVG_CLICK_THROUGH_RATE_PER_USER,
|
|
76
78
|
AVG_CONVERSION_RATE_PER_USER,
|
|
77
79
|
AVG_PURCHASE_RATE_PER_USER,
|
|
@@ -26,7 +26,7 @@ module Algolia
|
|
|
26
26
|
# P-value for this variant compared to the control. Omitted when no p-value is available for this metric.
|
|
27
27
|
attr_accessor :p_value
|
|
28
28
|
|
|
29
|
-
# Dimension defined during test creation. For revenue metrics, including `revenue_per_search`, this is the currency.
|
|
29
|
+
# Dimension defined during test creation. For revenue metrics, including `revenue_per_search` and `winsorized_revenue_per_user`, this is the currency.
|
|
30
30
|
attr_accessor :dimension
|
|
31
31
|
|
|
32
32
|
attr_accessor :metadata
|
|
@@ -17,6 +17,7 @@ module Algolia
|
|
|
17
17
|
CLICKED_USERS_RATE = "clicked_users_rate".freeze
|
|
18
18
|
CONVERTED_USERS_RATE = "converted_users_rate".freeze
|
|
19
19
|
PURCHASE_USERS_RATE = "purchase_users_rate".freeze
|
|
20
|
+
USERS_WITH_NO_RESULTS_RATE = "users_with_no_results_rate".freeze
|
|
20
21
|
|
|
21
22
|
def self.all_vars
|
|
22
23
|
@all_vars ||= [
|
|
@@ -28,7 +29,8 @@ module Algolia
|
|
|
28
29
|
ADD_TO_CART_USERS_RATE,
|
|
29
30
|
CLICKED_USERS_RATE,
|
|
30
31
|
CONVERTED_USERS_RATE,
|
|
31
|
-
PURCHASE_USERS_RATE
|
|
32
|
+
PURCHASE_USERS_RATE,
|
|
33
|
+
USERS_WITH_NO_RESULTS_RATE
|
|
32
34
|
].freeze
|
|
33
35
|
end
|
|
34
36
|
|
data/lib/algolia/version.rb
CHANGED