HF RL Explorer

Create a command-line tool /app/normalize.py that converts CSV files to NDJSON (Newline Delimited JSON)…

Create a command-line tool /app/normalize.py that converts CSV files to NDJSON (Newline Delimited JSON)…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). EXACT BEHAVIOR: - Read a CSV file from a path given as the first argument - Write NDJSON to stdout (one JSON…

The task

EXACT BEHAVIOR: - Read a CSV file from a path given as the first argument - Write NDJSON to stdout (one JSON object per line, each line representing one row) - The CSV has headers in the first row, which become JSON keys - Apply these normalization transforms to EVERY value: 1. Trim leading/trailing whitespace 2. If…

Part of ai-and/termgrade-environments.