HF RL Explorer

You are given a broken Python script compute metrics.py that reads a CSV file of sensor readings and outputs…

You are given a broken Python script compute metrics.py that reads a CSV file of sensor readings and outputs…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The script must output a single JSON object with these keys: - "sensor count" : total number of distinct…

The task

The script must output a single JSON object with these keys: - `"sensor_count"`: total number of distinct sensor_ids in the input - `"readings_count"`: total number of rows in the input (excluding header) - `"range_by_sensor"`: a JSON object mapping each sensor_id (as a string) to an object with keys `"min"` and…

Part of ai-and/termgrade-environments.