1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Figured out the answer on my own, but the examples in the documentation need to be modified so others don't make the same mistake.
The "feature variation" keys under the groupWeights
and weights
(under segmentOverride
) fields need to match with the group names specified in groups
.
The updated should be
{
"project": "****", //removed for security purposes
"name": "test-launch",
"groups": [
{
"name": "test-launch-test-feature-true",
"feature": "test-feature",
"variation": "true"
},
{
"name": "test-launch-test-feature-false",
"feature": "test-feature",
"variation": "false"
}
],
"scheduledSplitsConfig": {
"steps": [
{
"startTime": "2023-09-01T14:30:28.208Z",
"groupWeights": {
"test-launch-test-feature-true": 1, <- must match group name
"test-launch-test-feature-false": 0 <- must match group name
},
"segmentOverrides": [
{
"segment": "agent_feedback",
"evaluationOrder": 0,
"weights": {
"test-launch-test-feature-true": 0, <- must match group name
"test-launch-test-feature-false": 1 <- must match group name
}
}
]
}
]
}
}
respondido hace 9 meses
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 2 años