You are working on the python-poetry/tomlkit repository. The source code is checked out at /testbed at…
You are working on the python-poetry/tomlkit repository. The source code is checked out at /testbed at…: a task in SWE-Lego-RL-2699 (Harbor dataset). Context: I was writing a sort of "decorated tree" of config values, specifically to keep track of file/line-number of where a particular config…
The task
Context: I was writing a sort of "decorated tree" of config values, specifically to keep track of file/line-number of where a particular config value was set, to later render those source locations as comments in the toml config file, next to each config value. I ended up writing this horrible custom encoder:
Part of Lego-X/Lego-RL-2699.