HF RL Explorer

Create a CLI tool /app/render.py that reads a JSON data file and a template file, then writes the rendered…

Create a CLI tool /app/render.py that reads a JSON data file and a template file, then writes the rendered…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Template syntax: - {{ key }} — insert the value from the JSON data for that key, HTML-escaped. - {% include…

The task

**Template syntax:** - `{{ key }}` — insert the value from the JSON data for that key, HTML-escaped. - `{% include "other_template" %}` — inline the content of another template file (relative to the template's directory), recursively processed. - `{# comment #}` — ignored entirely. - `{% if key %}` ... `{% endif %}`…

Part of ai-and/termgrade-environments.