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
Describe the bug
When an experiment has no participants, the "filterMode" should be set to "excludeAll". This works as expected when an experiment is created without participants. However, once the "filterMode" is set to "includeAll" (by adding an "All" row to the Include table), it doesn't revert back to "excludeAll" after removing the "All" row from the Include table. I believe this issue should be addressed as a hotfix for v6.0 since it's crucial.
To Reproduce
Steps to reproduce the behavior:
Create an experiment with no participants
Open the "Network" tab in the browser inspector to see the response from the /api/experiments/single/{experimentId} endpoint
Observe that the "filterMode" is set to "excludeAll" (expected behavior)
Update the experiment by adding an "All" row to the Include table
View the response from the /api/experiments/single/{experimentId} endpoint again
Observe that the "filterMode" is set to "includeAll" (expected behavior)
Update the experiment by removing the "All" row from the Include table
View the response from the /api/experiments/single/{experimentId} endpoint again
Observe that the "filterMode" remains set to "includeAll" when it should have updated to "excludeAll"
Verify by making /api/v5/init and /api/v5/assign requests with any user ID to confirm that users are not being excluded
Expected behavior
The experiment's "filterMode" should update from "includeAll" to "excludeAll" when the "All" row is removed from the Include table.
Screen recording
filterMode.bug.720p.mov
The text was updated successfully, but these errors were encountered:
I will investigate if there are any other experiments like "LiveHint AI - Tutorbot for MATHstream" that have no participants but have their "filterMode" set to "includeAll" on Prod UpGrade so that we can update them if needed.
Version where bug was found:
6.1.0
Describe the bug
When an experiment has no participants, the "filterMode" should be set to "excludeAll". This works as expected when an experiment is created without participants. However, once the "filterMode" is set to "includeAll" (by adding an "All" row to the Include table), it doesn't revert back to "excludeAll" after removing the "All" row from the Include table. I believe this issue should be addressed as a hotfix for v6.0 since it's crucial.
To Reproduce
Steps to reproduce the behavior:
/api/experiments/single/{experimentId}
endpoint/api/experiments/single/{experimentId}
endpoint again/api/experiments/single/{experimentId}
endpoint again/api/v5/init
and/api/v5/assign
requests with any user ID to confirm that users are not being excludedExpected behavior
The experiment's "filterMode" should update from "includeAll" to "excludeAll" when the "All" row is removed from the Include table.
Screen recording
filterMode.bug.720p.mov
The text was updated successfully, but these errors were encountered: