HF RL Explorer

Task: Sort a List in Jinja2 Template

Task: Sort a List in Jinja2 Template: a task in Terminal-Lego-15k (Harbor dataset). You are working with Jinja2 templates in Python and need to sort a list of objects by a specific attribute. Given a list of movies with ratings, you need to create a Jinja2 template that correctly sorts the movies…

The task

You are working with Jinja2 templates in Python and need to sort a list of objects by a specific attribute. Given a list of movies with ratings, you need to create a Jinja2 template that correctly sorts the movies by their rating.

Part of PrimeIntellect/Terminal-Lego-15k.