Skip to content

[BUG-python/deployment] filter_by returning unexpected results for response_status #5318

@bertozzivill

Description

@bertozzivill

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.
Screenshot 2024-07-26 at 1 33 40 PM

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

Metadata

Metadata

Labels

type: bugIndicates an unexpected problem or unintended behaviorv1

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions