Skip to content

Spurious warnings about 'anonymous' and 'named' flags when experiment uses neither #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PeterJCLaw opened this issue Jul 3, 2019 · 0 comments

Comments

@PeterJCLaw
Copy link
Contributor

I've an experiment definition which looks like this:

id: some_test
name: Test of something
constraints:
  required_tags:
    - user
branches:
  - id: control
    settings:
      eligible_for_something: false
  - id: test
    settings:
      eligible_for_something: true

When I run jacquard show experiment --settings some_test I get the following warnings:

.../__init__.py:98: UserWarning: The `anonymous` flag no longer has any effect.
  warnings.warn("The `anonymous` flag no longer has any effect.")
.../__init__.py:101: UserWarning: The `named` flag no longer has any effect.
  warnings.warn("The `named` flag no longer has any effect.")

A similar experiment which has a different set of required tags (i.e: not user) does not exhibit this behaviour.

I think I do have other experiments loaded which do use the offending flags, however as noted I don't get the warnings when querying for non-user experiments, so I'm not convinced that that's the cause.

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

No branches or pull requests

1 participant