{% macro rank_tooltip(model_ranges) %}
{% if model_ranges %}
Category aggregation rule: {{model_ranges[0].category_aggregation}}
{% endif %}
{% for range in model_ranges %}
{{range.key if range.key}} - {{range.description}}
Value aggregation rule: {{range.aggregation_mode}}
{{ rank.category.replace("_"," ")|capitalize }} {% if rank.model_ranges %} ? {% endif %} | {% endfor %}
---|
{{ rank.min }} < {{ rank.score }} < {{ rank.max }} | {% endfor %}