HF RL Explorer

RenameIndex() crashes when unnamed index is moving backward and forward. Description

RenameIndex() crashes when unnamed index is moving backward and forward. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). RenameIndex() should restore the old auto-generated name when an unnamed index for unique together is moving backward. Now re-applying RenameIndex() crashes…

The task

RenameIndex() should restore the old auto-generated name when an unnamed index for unique_together is moving backward. Now re-applying RenameIndex() crashes. For example: tests/migrations/test_operations.py diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index…

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