Skip to content

Commit 1cb016c

Browse files
algolia-botcdhawke
andcommitted
feat(specs): abtesting winsorizedAmount (generated)
algolia/api-clients-automation#5053 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Christopher Hawke <[email protected]>
1 parent e31b637 commit 1cb016c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

algoliasearch/abtesting/models/currency.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"revenue": "revenue",
2424
"mean": "mean",
2525
"standard_deviation": "standardDeviation",
26+
"winsorized_amount": "winsorizedAmount",
2627
}
2728

2829

@@ -43,6 +44,8 @@ class Currency(BaseModel):
4344
""" Mean for this currency. """
4445
standard_deviation: Optional[float] = None
4546
""" Standard deviation for this currency. """
47+
winsorized_amount: Optional[float] = None
48+
""" The amount of revenue for this currency that was removed after capping purchase amounts to the 95th percentile. """
4649

4750
model_config = ConfigDict(
4851
strict=False,

0 commit comments

Comments
 (0)