HF RL Explorer

Using exclude on annotated FilteredRelation doesn't work Description

Using exclude on annotated FilteredRelation doesn't work Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). It looks like using exclude on queryset with annotated FilteredRelation give a FieldError on the annotation name. For exemple, in Django tests (django/tests/filtered…

The task

It looks like using exclude on queryset with annotated FilteredRelation give a FieldError on the annotation name. For exemple, in Django tests (django/tests/filtered_relation/tests.py) if we change this : def test_with_join(self): self.assertSequenceEqual( Author.objects.annotate( book_alice=FilteredRelation('book',…

Part of Lego-X/Lego-RL-SWE-Bench-Verified.