HF RL Explorer

Write a Python script topk quantile.py that reads a large text file where each line contains a timestamp…

Write a Python script topk quantile.py that reads a large text file where each line contains a timestamp…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: The script receives three arguments: <input file <K <memory limit . The input file is ASCII or…

The task

Input contract: The script receives three arguments: `<input_file> <K> <memory_limit>`. The input file is ASCII or UTF-8 encoded, lines separated by LF (`\n`). Each valid line is `timestamp<tab>value` where timestamp is ISO 8601 (e.g., `2024-01-01T00:00:00Z`, `2024-01-01T00:00:00+00:00`,…

Part of ai-and/termgrade-environments.