HF RL Explorer

Write a command-line tool /app/decode binary that reads a binary file from a given path and outputs a single…

Write a command-line tool /app/decode binary that reads a binary file from a given path and outputs a single…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The output must be a JSON object where keys are the type values as decimal strings (e.g., "1", "255") and…

The task

The output must be a JSON object where keys are the type values as decimal strings (e.g., "1", "255") and each value is a JSON array of all values for that type. Each value must be hex-encoded (lowercase, no prefix like "0x", two hex digits per byte). The arrays must preserve the original order of appearance for each…

Part of ai-and/termgrade-environments.