-
Notifications
You must be signed in to change notification settings - Fork 475
Description
Describe the bug
I'm working with a RemoteFeedbackDataset from Argilla, and I'm trying to filter by response status, but the filtering system seems to be returning false positives.
As an example, filtering down only to a reference called "quinones1997anopheles" and a record type called "EntomologicalOutcome" returns a dataset with a single record, with one response whose status is "submitted". Filtering on the same values, but adding a response_status filter for "submitted" returns that same record, as expected. However, filtering on the same values while adding a response_status filter for "draft" also returns that same record. I would expect it to return an empty dataset since the filtration shouldn't have captured anything, right? Thanks for your help.

Stacktrace and Code to create the bug
See image above, I apologize that I don't have an easily replicable example but am hoping you could test this on an internal example to recreate the bug.
Expected behavior
I expected to only receive records with at least one "draft" response when using filter_by(response_status=["draft"])
Environment:
│ • Client version: 0.1.0a3 │
│ • Server version: 0.1.0a4 │
│ • ElasticSearch version: 8.5.1