Implement a function called deep assign that uses glom to deep-assign a value to a nested dictionary path…
Implement a function called deep assign that uses glom to deep-assign a value to a nested dictionary path…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Requirements: 1. Use glom 's assign() function to deep-set values in the target dictionary 2. The missing callable must be passed to…
The task
Requirements: 1. Use `glom`'s `assign()` function to deep-set values in the target dictionary 2. The `missing` callable must be passed to wrap path segments that don't exist 3. The function should modify the dictionary in-place and return it 4. Must raise `ValueError` when path is empty
Part of Essacheez/r2e-code-instruct-qwen3.5.