HF RL Explorer

Write a command-line tool that reads a binary file of tagged records and writes valid JSON to stdout.

Write a command-line tool that reads a binary file of tagged records and writes valid JSON to stdout.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format A file of concatenated records. Each record has: - 1 byte: tag (unsigned 8-bit integer) -…

The task

**Input format** A file of concatenated records. Each record has: - 1 byte: tag (unsigned 8-bit integer) - varint-encoded length: the number of data bytes that follow - exactly that many bytes of data

Part of ai-and/termgrade-environments.