HF RL Explorer

Create a custom Jinja2 Extension named Jinja2TestValidator that validates values during template rendering…

Create a custom Jinja2 Extension named Jinja2TestValidator that validates values during template rendering…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Expected behavior: - Input: Jinja2TestValidator() with values to validate - Output: True if iterable, False otherwise (using…

The task

Expected behavior: - Input: `Jinja2TestValidator()` with values to validate - Output: `True` if iterable, `False` otherwise (using `jinja2.tests.test_iterable`) - Error: `TemplateError` raised if `validate()` called before `enable()`

Part of Essacheez/r2e-code-instruct-qwen3.5.