Task: Fix Double-Encoded JSON Output in Python
Task: Fix Double-Encoded JSON Output in Python: a task in Terminal-Lego-15k (Harbor dataset). You are working with a Python script that writes data to a JSON file. However, the current implementation produces double-encoded JSON — the entire JSON string is wrapped in additional double quotes, and…
The task
You are working with a Python script that writes data to a JSON file. However, the current implementation produces **double-encoded JSON** — the entire JSON string is wrapped in additional double quotes, and all internal quotes are escaped with backslashes.
Part of PrimeIntellect/Terminal-Lego-15k.