HF RL Explorer

Write a Python script /app/quantiles that reads a UTF-8 text file from STDIN and computes a streaming top-K…

Write a Python script /app/quantiles that reads a UTF-8 text file from STDIN and computes a streaming top-K…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Where: - <K is a positive integer ( =1) specifying how many top values to track. - <quantile1 ...<quantileN…

The task

Where: - `<K>` is a positive integer (>=1) specifying how many top values to track. - `<quantile1>...<quantileN>` are floating-point numbers in [0.0, 1.0] representing quantiles to compute (at least one quantile required).

Part of ai-and/termgrade-environments.