Implement a command-line template renderer at /app/render.py that processes a template file containing…
Implement a command-line template renderer at /app/render.py that processes a template file containing…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Template syntax: - Placeholders are written as {{ key }} where key is a string (may contain letters, digits…
The task
**Template syntax:** - Placeholders are written as `{{ key }}` where key is a string (may contain letters, digits, underscores, hyphens). - The renderer reads a JSON data file for placeholder values. - Keys missing from the JSON data must raise an error. - Keys present but with `null` value must produce an empty…
Part of ai-and/termgrade-environments.