HF RL Explorer

Write a command-line tool stream ranker that reads a UTF-8 encoded file where each non-empty line is a…

Write a command-line tool stream ranker that reads a UTF-8 encoded file where each non-empty line is a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input file format: - UTF-8 text file with LF ( \n ) line endings (no CRLF). - Each line is one of: - Empty line…

The task

**Input file format:** - UTF-8 text file with LF (`\n`) line endings (no CRLF). - Each line is one of: - Empty line (skip it) - A comment line starting with `#` (skip it; the `#` must be the very first character) - A data record: `id,name,score` where `id` is an integer, `name` is a non-empty string of printable…

Part of ai-and/termgrade-environments.