{# LLM-judge verdict fragment (#999) — swapped into the DOM after a POST to /analytics/channels/rate. `error` carries a user-facing failure reason; `rating` is the persisted ChannelRating on success. #} {% if error %} {% else %}

{{ rating.title or ('@' ~ rating.username if rating.username else rating.channel_id) }} (id={{ rating.channel_id }})

Полезность: {{ rating.useful }}   Жанр: {{ rating.genre }}   Уверенность: {{ '%.2f'|format(rating.confidence) }}

{% if rating.reason %}

{{ rating.reason }}

{% endif %}

Постов оценено: {{ rating.n_total }}

{# The list table below is part of the full page render and is not swapped here; offer a reload so the fresh verdict shows up in it (#999 review). #} Обновить список ниже
{% endif %}