Task: Fix Python CSV Writer to Prevent Extra Carriage Returns
Task: Fix Python CSV Writer to Prevent Extra Carriage Returns: a task in Terminal-Lego-15k (Harbor dataset). You are given a Python script at /app/task file/generate csv.py that writes data to a CSV file. This script has a known bug: when run on Windows, it produces files with double carriage…
The task
You are given a Python script at `/app/task_file/generate_csv.py` that writes data to a CSV file. This script has a known bug: when run on Windows, it produces files with double carriage returns (`\r\r\n`) at the end of each line instead of the expected single carriage return and newline (`\r\n`).
Part of PrimeIntellect/Terminal-Lego-15k.