HF RL Explorer

Task: Understanding Shallow Copy Behavior in Python Dictionaries

Task: Understanding Shallow Copy Behavior in Python Dictionaries: a task in Terminal-Lego-15k (Harbor dataset). There is a common misconception about how dict.copy() works in Python. When reading documentation about shallow copies, developers sometimes expect that modifying a shallow copy will…

The task

There is a common misconception about how `dict.copy()` works in Python. When reading documentation about shallow copies, developers sometimes expect that modifying a shallow copy will affect the original dictionary. This task requires you to demonstrate and explain the correct behavior of shallow copies for…

Part of PrimeIntellect/Terminal-Lego-15k.