-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(specs): add estimate path and responses [skip-bc] (generated)
algolia/api-clients-automation#4057 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Christopher Hawke <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
- Loading branch information
1 parent
b50469b
commit 4a5a228
Showing
7 changed files
with
95 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. | ||
|
||
import type { AddABTestsVariant } from './addABTestsVariant'; | ||
import type { EstimateConfiguration } from './estimateConfiguration'; | ||
|
||
export type EstimateABTestRequest = { | ||
configuration: EstimateConfiguration; | ||
|
||
/** | ||
* A/B test variants. | ||
*/ | ||
variants: Array<AddABTestsVariant>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. | ||
|
||
export type EstimateABTestResponse = { | ||
/** | ||
* Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic. | ||
*/ | ||
durationDays?: number; | ||
|
||
/** | ||
* Number of tracked searches needed to be able to detect the configured effect for the control variant. | ||
*/ | ||
controlSampleSize?: number; | ||
|
||
/** | ||
* Number of tracked searches needed to be able to detect the configured effect for the experiment variant. | ||
*/ | ||
experimentSampleSize?: number; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. | ||
|
||
import type { EmptySearch } from './emptySearch'; | ||
import type { MinimumDetectableEffect } from './minimumDetectableEffect'; | ||
import type { Outliers } from './outliers'; | ||
|
||
/** | ||
* A/B test configuration for estimating the sample size and duration using minimum detectable effect. | ||
*/ | ||
export type EstimateConfiguration = { | ||
outliers?: Outliers; | ||
|
||
emptySearch?: EmptySearch; | ||
|
||
minimumDetectableEffect: MinimumDetectableEffect; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters