Task: Convert Python Dictionary to YAML with Proper Nested Structure
Task: Convert Python Dictionary to YAML with Proper Nested Structure: a task in Terminal-Lego-15k (Harbor dataset). When converting a Python dictionary to YAML using the yaml module, nested dictionaries with single key-value pairs are sometimes rendered in inline/flow style (e.g., {sourceImage…
The task
When converting a Python dictionary to YAML using the `yaml` module, nested dictionaries with single key-value pairs are sometimes rendered in inline/flow style (e.g., `{sourceImage: $disks_initializeParams_sourceImage$}`) instead of the block style format.
Part of PrimeIntellect/Terminal-Lego-15k.