Skip to content

Commit

Permalink
chore: remove comment about summing to 100 (#172)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Beemer <[email protected]>
  • Loading branch information
beeme1mr authored Nov 4, 2024
1 parent 76d611f commit d03b772
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
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

0 comments on commit d03b772

Please sign in to comment.