HF RL Explorer

Task: Hashing Arrays (Lists) in Python

Task: Hashing Arrays (Lists) in Python: a task in Terminal-Lego-15k (Harbor dataset). In Python, tuples are hashable but lists are not, because lists are mutable. Your task is to write a Python module that provides robust functionality to hash list objects, enabling them to be used in contexts…

The task

In Python, tuples are hashable but lists are not, because lists are mutable. Your task is to write a Python module that provides robust functionality to hash list objects, enabling them to be used in contexts that require hashable types (e.g., as dictionary keys or set members).

Part of PrimeIntellect/Terminal-Lego-15k.