{% macro finding(f) %}
{% if f.marker %}{{ f.marker }}{% endif %} {{ f.message }} {% if f.details.source == "llm" %}AI{% endif %}
{% if f.selector %}
{{ f.selector }}
{% endif %} {% if f.details.other %}
and {{ f.details.other }}
{% endif %} {% if f.details.url %}
{{ f.details.url }}
{% endif %} {% if f.details.href %}
{{ f.details.href }}
{% endif %} {% if f.details.src %}
{{ f.details.src }}
{% endif %} {% if f.details.review %}
AI {{ verdict_labels.get(f.details.review.verdict, f.details.review.verdict) }}{% if f.details.review.reason %}: {{ f.details.review.reason }}{% endif %}
{% endif %} {% if f.details.help_url %}
{{ f.details.rule }}{% if f.details.total_nodes > 1 %} · {{ f.details.total_nodes }} elements on the page{% endif %}
{% endif %}
{% endmacro %}