Skip to content

Conversation

@andrehjr
Copy link
Member

Split returns 'control' when disabled/excluded users/redis connection issues.

Before: Split yield {} as metadata even if there was one available.
After: If there's a metadata associated with the alternative, split will yield the metadata.

This will also make the behavior consistent between all scenarios. Unless the metadata is not defined on the configuration files.

ExperimentCatalog.find_or_initialize does not make any redis calls, so it's safe to use 'experiment' because it loads data from configuration.

Fixes #618

@andrehjr andrehjr merged commit 261013c into master May 20, 2020
@andrehjr andrehjr deleted the consistent-return-metadata-when-disabled branch May 21, 2020 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ab_test doesn't yield metadata for excluded visitors

2 participants