HF RL Explorer

Q(...) & Exists(...) raises a TypeError Description

Q(...) & Exists(...) raises a TypeError Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Exists(...) & Q(...) works, but Q(...) & Exists(...) raise a TypeError Here's a minimal example: In 3 : Exists(Product.objects.all()) & Q() Out 3 : <Q: (AND…

The task

Exists(...) & Q(...) works, but Q(...) & Exists(...) raise a TypeError Here's a minimal example: In [3]: Exists(Product.objects.all()) & Q() Out[3]: <Q: (AND: <django.db.models.expressions.Exists object at 0x7fc18dd0ed90>, (AND: ))> In [4]: Q() & Exists(Product.objects.all())…

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