HF RL Explorer

Write a Python script /app/quantile agg.py that reads a file from disk, computes approximate quantiles using…

Write a Python script /app/quantile agg.py that reads a file from disk, computes approximate quantiles using…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The script accepts these positional command-line arguments in order: 1. input path – path to a text file…

The task

The script accepts these positional command-line arguments in order: 1. `input_path` – path to a text file containing one floating-point number per line (lines may be empty or non-numeric; see rules below). 2. `window_size` – integer >= 2, the number of recent values to maintain in a sliding window for local rank…

Part of ai-and/termgrade-environments.