HF RL Explorer

ModelChoiceIteratorValue is not hashable. Description

ModelChoiceIteratorValue is not hashable. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Recently I migrated from Django 3.0 to Django 3.1. In my code, I add custom data- attributes to the select widget options. After the upgrade some of those options broke. Error is…

The task

Recently I migrated from Django 3.0 to Django 3.1. In my code, I add custom data-* attributes to the select widget options. After the upgrade some of those options broke. Error is {TypeError}unhashable type: 'ModelChoiceIteratorValue'. Example (this one breaks): def create_option(self, name, value, label, selected,…

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