HF RL Explorer

Implement a command-line tool /app/topk that reads a file of records, computes a streaming top-k percentile…

Implement a command-line tool /app/topk that reads a file of records, computes a streaming top-k percentile…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input: - A text file where each line is a record with 3 pipe-separated fields: id timestamp value - id : a…

The task

**Input:** - A text file where each line is a record with 3 pipe-separated fields: `id|timestamp|value` - `id`: a non-empty string of ASCII letters, digits, and hyphens (no pipes) - `timestamp`: an ISO-8601 datetime string (may or may not include timezone offset) - `value`: a floating-point number in decimal notation…

Part of ai-and/termgrade-environments.