HF RL Explorer

Template Renderer with HTML Escaping

Template Renderer with HTML Escaping: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Create a command-line tool /app/render.py that reads a JSON data file and a template file, then renders the template to stdout by replacing {{key}} placeholders with values from…

The task

Create a command-line tool `/app/render.py` that reads a JSON data file and a template file, then renders the template to stdout by replacing `{{key}}` placeholders with values from the JSON data.

Part of ai-and/termgrade-environments.