mutation — why your code mysteriously breaks5 / 9
shallow copy, deep copy, and the nested-dict bug
Cursor wrote a snippet that needs an independent copy of a nested dict.
The copy module is imported. Fill in the function name on line 4.
Function name:
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _