Skip to content

v0.8.2 group percentage to _getExperimentGroups API

Compare
Choose a tag to compare
@jkw-statsig jkw-statsig released this 19 Nov 23:38
· 530 commits to main since this release
8036a2e

We are changing the _getExperimentGroups API due to customer request in this release. Instead of returning a Map<String, String>, it now returns a Map<String, Map<String, Any>>, where the value has 2 keys - "value" and "percent" - representing the name + values of the parameters (as a json string), and the split % for the group (as a Double).

Note that groups will include special groups like "Disabled", "Targeting" and "Layer Assignment", please ignore all these groups that are not your actual experiment groups as these are for internal evaluation purposes only.