HF RL Explorer

makemigrations produces incorrect path for inner classes Description

makemigrations produces incorrect path for inner classes Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). When you define a subclass from django.db.models.Field as an inner class of some other class, and use this field inside a django.db.models.Model class, then when you run…

The task

When you define a subclass from django.db.models.Field as an inner class of some other class, and use this field inside a django.db.models.Model class, then when you run manage.py makemigrations, a migrations file is created which refers to the inner class as if it were a top-level class of the module it is in. To…

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