HF RL Explorer

Build a command-line tool /app/normalize (Python script) that reads an NDJSON file (one JSON object per…

Build a command-line tool /app/normalize (Python script) that reads an NDJSON file (one JSON object per…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: NDJSON. Each line is a valid JSON object. Keys are fixed: name (string), score (number), tags…

The task

**Input format:** NDJSON. Each line is a valid JSON object. Keys are fixed: `name` (string), `score` (number), `tags` (array of strings), `meta` (object with optional keys `version`, `active`). Some lines may be blank (skip them). Some lines may not parse as JSON (skip them, write a warning to stderr).

Part of ai-and/termgrade-environments.