Working with deeply nested data structures (dictionaries, lists, or combinations thereof) is a common need…
Working with deeply nested data structures (dictionaries, lists, or combinations thereof) is a common need…: a task in repo2rlenv-swe-flow (Harbor dataset). get in must traverse a nested collection step-by-step using a supplied path (an ordered sequence of keys or indices). At each step it…
The task
`get_in` must traverse a nested collection step-by-step using a supplied path (an ordered sequence of keys or indices). At each step it subscripts the current value with the next key/index. If the path is exhausted successfully, it returns the value found. If any step raises `KeyError` or `IndexError` (i.e., the key…
Part of FineEnvs/repo2rlenv-swe-flow.