Skip to content

Commit

Permalink
feat(specs): update estimate response type [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4101

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Christopher Hawke <69921547+cdhawke@users.noreply.github.com>
  • Loading branch information
algolia-bot and cdhawke committed Nov 14, 2024
1 parent 23580b7 commit 83abc31
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,14 @@ import kotlinx.serialization.json.*
* EstimateABTestResponse
*
* @param durationDays Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic.
* @param controlSampleSize Number of tracked searches needed to be able to detect the configured effect for the control variant.
* @param experimentSampleSize Number of tracked searches needed to be able to detect the configured effect for the experiment variant.
* @param sampleSizes Sample size estimates for each variant. The first element is the control variant. Each element is the estimated number of searches required to achieve the desired statistical significance.
*/
@Serializable
public data class EstimateABTestResponse(

/** Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic. */
@SerialName(value = "durationDays") val durationDays: Long? = null,

/** Number of tracked searches needed to be able to detect the configured effect for the control variant. */
@SerialName(value = "controlSampleSize") val controlSampleSize: Long? = null,

/** Number of tracked searches needed to be able to detect the configured effect for the experiment variant. */
@SerialName(value = "experimentSampleSize") val experimentSampleSize: Long? = null,
/** Sample size estimates for each variant. The first element is the control variant. Each element is the estimated number of searches required to achieve the desired statistical significance. */
@SerialName(value = "sampleSizes") val sampleSizes: List<Long>? = null,
)

0 comments on commit 83abc31

Please sign in to comment.