HF RL Explorer

Model.objects.all().delete() subquery usage performance regression Description

Model.objects.all().delete() subquery usage performance regression Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Lock tests are failing with Django-MySQL on Django 3.1: ​https://github.com/adamchainz/django-mysql/pull/660 . The tests run Model.objects.all().delete(). Django…

The task

Lock tests are failing with Django-MySQL on Django 3.1: ​https://github.com/adamchainz/django-mysql/pull/660 . The tests run Model.objects.all().delete(). Django 3.0 generates this SQL: DELETE FROM `testapp_alphabet` Django 3.1 generates this SQL: DELETE FROM `testapp_alphabet` WHERE `testapp_alphabet`.`id` IN…

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