HF RL Explorer

Write a Python script /app/render.py that reads a template from stdin and renders it to stdout.

Write a Python script /app/render.py that reads a template from stdin and renders it to stdout.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: The template is a UTF-8 text file containing literal text mixed with placeholders. A placeholder has the…

The task

**Input contract:** The template is a UTF-8 text file containing literal text mixed with placeholders. A placeholder has the form `{{ key }}` (double curly braces, spaces required immediately inside the braces). `key` is a non-empty string matching `[a-z][a-z0-9_]*` (lowercase start, then lowercase…

Part of ai-and/termgrade-environments.