Open Cy-Fi opened 4 months ago
hi @Cy-Fi ! Have you tried upgrading Argilla to version 1.29.1 or even v2.0.0rc2? We are not able to reproduce it, so it might be an issue that has been already fixed in later versions. Try upgrading and let us know if you're still experiencing this issue.
This issue is stale because it has been open for 90 days with no activity.
Describe the bug When using FeedbackDataset with multiple SpanQuestions, if a span is deleted, all defined spans get removed.
To Reproduce Steps to reproduce the behavior:
Create a feedback Dataset with a sample reccord: dataset = rg.FeedbackDataset( fields=[ rg.TextField( name="text_1", ), rg.TextField( name="text_2", ), ], questions=[ rg.SpanQuestion( name="span_1", labels={"EXPLANATION": "Explanation"}, field="text_1", required=False, allow_overlapping=False, ), rg.SpanQuestion( name="span_2", labels={"EXPLANATION": "Explanation"}, field="text_2", required=False, allow_overlapping=False, ) ], ) record = rg.FeedbackRecord( fields={ "text_1": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.", "text_2": "labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." }, external_id=123 )
Upload records to argilla
Go to labeling tool
label some spans in the two documents
Click on the X to remove one span -->
Expected behavior Only the Span where the X was clicked is removed.
Screenshots
Environment (please complete the following information):
Additional context