From a1d54a6e46dad59a4d08a591a4d905449f57b1b8 Mon Sep 17 00:00:00 2001 From: Christopher Hawke <69921547+cdhawke@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:10:12 -0500 Subject: [PATCH] feat(abtests): update estimate response type --- .../common/schemas/EstimateABTestResponse.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/specs/abtesting/common/schemas/EstimateABTestResponse.yml b/specs/abtesting/common/schemas/EstimateABTestResponse.yml index cc8d8244dd6..6d491f24cc6 100644 --- a/specs/abtesting/common/schemas/EstimateABTestResponse.yml +++ b/specs/abtesting/common/schemas/EstimateABTestResponse.yml @@ -6,13 +6,13 @@ EstimateABTestResponse: format: int64 description: Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic. example: 21 - controlSampleSize: - type: integer - format: int64 - description: Number of tracked searches needed to be able to detect the configured effect for the control variant. - example: 23415 - experimentSampleSize: - type: integer - format: int64 - description: Number of tracked searches needed to be able to detect the configured effect for the experiment variant. - example: 23415 + sampleSizes: + type: array + description: | + 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. + items: + type: integer + format: int64 + description: Number of tracked searches needed to be able to detect the configured effect for the control variant. + example: 23415