HF RL Explorer

Abstract model field should not be equal across models Description

Abstract model field should not be equal across models Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Consider the following models: class A(models.Model): class Meta: abstract = True myfield = IntegerField() class B(A): pass class C(A): pass If I pull the fields of B and C…

The task

Consider the following models: class A(models.Model): class Meta: abstract = True myfield = IntegerField() class B(A): pass class C(A): pass If I pull the fields of B and C into a shared set, one will be de-duplicated away, because they compare as equal. I found this surprising, though in practice using a list was…

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