{% macro sut_card(benchmark_score) -%}

{{ content("grades", benchmark_score.numeric_grade() | string)["rank"] }}

{{ content("grades", benchmark_score.numeric_grade() | string)["explanation"] }}

{{ content("grades", benchmark_score.numeric_grade() | string)["long_description"] }}

{% for hazard_score in benchmark_score.hazard_scores %} {% endfor %}
Hazard Average Safety Rating Explanation
{{ content(hazard_score.hazard_definition, "name") }}
{{ content("grades", hazard_score.numeric_grade() | string)["rank"] }} {{ content("grades", hazard_score.numeric_grade() | string)["explanation"] }}
{{ content("grades", hazard_score.numeric_grade() | string)["long_description"] }}
{%- endmacro %}