Implement a streaming top-k and quantile aggregator for a large CSV file of temperature readings.
Implement a streaming top-k and quantile aggregator for a large CSV file of temperature readings.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal: Write a Python script /app/analyze.py that reads a large CSV file ( /data/temperatures.csv ) and computes: 1…
The task
**Goal:** Write a Python script `/app/analyze.py` that reads a large CSV file (`/data/temperatures.csv`) and computes: 1. The top-5 highest temperature readings 2. The median temperature
Part of ai-and/termgrade-environments.