HF RL Explorer

Defining the "through" model in a many-to-many field in another app causes "AttributeError: 'str' object has…

Defining the "through" model in a many-to-many field in another app causes "AttributeError: 'str' object has…: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). I tried migrating my apps into the database, the three relevant apps are called: "fonte", "fonte variavel" and "variavel". fonte and…

The task

I tried migrating my apps into the database, the three relevant apps are called: "fonte", "fonte_variavel" and "variavel". fonte and variavel models have a many-to-many relationship (field being defined on "fonte"). The many-to-many field uses fonte_variavel model as the "through" argument. Below are the models when…

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