HF RL Explorer

Write a command-line tool that reads a file of records and computes a streaming approximation of the top-k…

Write a command-line tool that reads a file of records and computes a streaming approximation of the top-k…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal: Implement a Python script /app/streaming topk.py that reads a file path from the command line and…

The task

**Goal:** Implement a Python script `/app/streaming_topk.py` that reads a file path from the command line and outputs a JSON object to stdout.

Part of ai-and/termgrade-environments.