HF RL Explorer

Write a command-line tool /usr/local/bin/csvnorm that normalizes CSV files to NDJSON (Newline Delimited…

Write a command-line tool /usr/local/bin/csvnorm that normalizes CSV files to NDJSON (Newline Delimited…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The first argument is the path to a CSV file. - The CSV file may or may not have a header…

The task

**Input contract:** - The first argument is the path to a CSV file. - The CSV file may or may not have a header row. If the first row contains only strings that could be column names (no empty values, all match `[a-zA-Z_][a-zA-Z0-9_]*`), treat it as headers. Otherwise, auto-generate headers as `col0`, `col1`, etc. -…

Part of ai-and/termgrade-environments.