Goal
Goal: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Write a Python script /app/decode tlv.py that reads a binary file from the path given as the first command-line argument, parses it as a sequence of…
The task
Write a Python script `/app/decode_tlv.py` that reads a binary file from the path given as the first command-line argument, parses it as a sequence of **Tag-Length-Value (TLV) records using unsigned LEB128 variable-length integer encoding for both Tag and Length**, and outputs a single JSON object to stdout.