-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FFM-2217]: Evaluation returning wrong result with multiple target gr…
…oups (#70) Segments evaluation had two problems: 1) It returned false if any segment evaluate returned false (even if segment was not part of the clause) 2) It evaluated the target in segmentMatch clause against all segments, where it should only evaluate against the segments defined by the clause. Evaluation Percentage Rollout was also distributing values incorrectly when there were more than two variations. Updated unit tests to ensure segment Evaluation performed as expected
- Loading branch information
1 parent
df6fa51
commit 57581b5
Showing
4 changed files
with
111 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters