Goal: Given a binary file of Type-Length-Value (TLV) records using Protocol Buffers-style unsigned varint…
Goal: Given a binary file of Type-Length-Value (TLV) records using Protocol Buffers-style unsigned varint…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Exact I/O contract: - Input: A binary file path passed as…
The task
Exact I/O contract: - Input: A binary file path passed as first CLI argument. - Output: Write to stdout a single JSON object with key "records" mapping to an array of objects. - Each TLV record consists of: 1. `type`: an unsigned varint (variable-length encoding where each byte's MSB=1 means "more bytes follow",…