Skip to content

Commit 65cc642

Browse files
authored
feat(specs): add decision (declared winner) to abtesting-v3 ABTest (#6732)
1 parent 2d4b8b7 commit 65cc642

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

‎specs/abtesting-v3/common/schemas/ABTest.yml‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ ABTest:
3030
$ref: '#/ABTestConfiguration'
3131
migratedAbTestID:
3232
$ref: '#/MigratedABTestId'
33+
decision:
34+
$ref: '#/Decision'
3335
required:
3436
- status
3537
- name
@@ -39,6 +41,25 @@ ABTest:
3941
- abTestID
4042
- variants
4143

44+
Decision:
45+
type: object
46+
additionalProperties: false
47+
description: |
48+
Outcome of the A/B test once a winner has been declared.
49+
Only present when a winning variant has been declared, so its presence indicates the test has been decided.
50+
properties:
51+
winnerVariantId:
52+
type: integer
53+
description: Identifier of the declared winning variant. The control variant is 1.
54+
example: 2
55+
declaredAt:
56+
type: string
57+
description: Date and time when the winning variant was declared, in RFC 3339 format.
58+
example: 2026-06-16T00:00:00Z
59+
required:
60+
- winnerVariantId
61+
- declaredAt
62+
4263
Status:
4364
type: string
4465
description: |

0 commit comments

Comments
 (0)