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-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Where: - <K is a positive integer ( =1) specifying how many…
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).