Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions json/targeting.json
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,7 @@
}
},
"fractionalWeightArg": {
"$comment": "if we remove the \"sum to 100\" restriction, update the descriptions below!",
"description": "Distribution for all possible variants, with their associated weighting out of 100.",
"description": "Distribution for all possible variants, with their associated weighting.",
"type": "array",
"minItems": 1,
"maxItems": 2,
Expand All @@ -466,7 +465,7 @@
"type": "string"
},
{
"description": "Weighted distribution for this variant key (must sum to 100).",
"description": "Weighted distribution for this variant key.",
"type": "number"
}
]
Expand Down
8 changes: 2 additions & 6 deletions json/targeting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,7 @@ definitions:
- $ref: "#/definitions/semVerString"
- $ref: "#/definitions/varRule"
fractionalWeightArg:
$comment: if we remove the "sum to 100" restriction, update the descriptions
below!
description:
Distribution for all possible variants, with their associated weighting
out of 100.
description: Distribution for all possible variants, with their associated weighting.
type: array
minItems: 1
maxItems: 2
Expand All @@ -393,7 +389,7 @@ definitions:
If this bucket is randomly selected, this string is used to as
a key to retrieve the associated value from the "variants" object.
type: string
- description: Weighted distribution for this variant key (must sum to 100).
- description: Weighted distribution for this variant key.
type: number
fractionalOp:
type: array
Expand Down