You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are noticing non-determinism when querying the /api/v1/experiments endpoint with a filter defined. When calling the endpoint sequentially, it returns the expected results, but when called concurrently, sometimes it returns the wrong or empty results.
I've written a quick-n-dirty python script to reproduce the behavior. The variables at the top of the script should be modified to work in your environment, including at least two different experiments for the script to query.
The script will invoke the endpoint concurrently with a randomly selected experiment from the list and filter via: filter=experiment_label=<label>. I would expect each response to contain only the experiment we query for, but instead it will sometimes return the wrong experiment, and other times return empty results. The script will print any responses that don't contain the experiment label in the response to show the "failure" cases.
We are noticing non-determinism when querying the
/api/v1/experiments
endpoint with afilter
defined. When calling the endpoint sequentially, it returns the expected results, but when called concurrently, sometimes it returns the wrong or empty results.I've written a quick-n-dirty python script to reproduce the behavior. The variables at the top of the script should be modified to work in your environment, including at least two different experiments for the script to query.
The script will invoke the endpoint concurrently with a randomly selected experiment from the list and filter via:
filter=experiment_label=<label>
. I would expect each response to contain only the experiment we query for, but instead it will sometimes return the wrong experiment, and other times return empty results. The script will print any responses that don't contain the experiment label in the response to show the "failure" cases.The text was updated successfully, but these errors were encountered: