{% extends "base.html" %} {% block title %}{{ username }} - User Profile - 20min.ch Comment Analysis{% endblock %} {% block last_updated %}{{ now }}{% endblock %} {% block content %}

{{ username }}

{% if user_metrics and user_metrics.bot_score is defined %} Bot Score: {{ user_metrics.bot_score }} {% else %} Bot Score: N/A {% endif %}

User Statistics

Total Comments: {{ user_metrics.comments_count if user_metrics and user_metrics.comments_count is defined else 'N/A' }}
Total Articles: {{ user_metrics.articles_count if user_metrics and user_metrics.articles_count is defined else 'N/A' }}
Comments per Day: {{ user_metrics.comments_per_day|round(1) if user_metrics and user_metrics.comments_per_day is defined else 'N/A' }}
Active Hours: {{ user_metrics.hour_distribution|length if user_metrics and user_metrics.hour_distribution is defined else 'N/A' }}
First Seen: {% if user_metrics and user_metrics.first_seen is defined %} {% else %} N/A {% endif %}
Last Seen: {% if user_metrics and user_metrics.last_seen is defined %} {% else %} N/A {% endif %}

Activity Summary

{{ user_metrics.top_comments_count if user_metrics and user_metrics.top_comments_count is defined else '0' }}
Top-level Comments
{{ user_metrics.reply_count if user_metrics and user_metrics.reply_count is defined else '0' }}
Replies
{{ user_metrics.reactions_received if user_metrics and user_metrics.reactions_received is defined else '0' }}
Reactions Received
{{ user_metrics.reactions_given if user_metrics and user_metrics.reactions_given is defined else '0' }}
Reactions Given
{% if user_metrics and user_metrics.bot_score is defined and user_metrics.bot_score >= 70 %}
Potential Bot Activity

This user's activity patterns suggest potential automated behavior or coordinated activity.


Factors: {% if user_metrics.comments_per_day > 50 %} High Frequency {% endif %} {% if user_metrics and user_metrics.similar_comments_count is defined and user_metrics.similar_comments_count > 0 %} Similar Comments {% endif %} {% if user_metrics.hour_distribution|length < 3 %} Limited Activity Hours {% endif %} {% if user_metrics.comment_interval_consistency > 70 %} Consistent Timing {% endif %}

{% endif %}
Activity by Hour of Day
Reactions Received
Activity Timeline
{% for comment in user_comments %}
{{ comment.article_title }} {% if comment.is_reply %} replying to {{ comment.parent_author }} {% endif %}

{{ comment.text }}

{% for reaction_type, count in comment.reactions.items() %} {% if count > 0 %} {{ reaction_type }}: {{ count }} {% endif %} {% endfor %}
View in Article
{% endfor %} {% if user_comments|length == 0 %}

No comments found for this user.

{% endif %}
Most Replied To
Replies Received
Similar Users
{% if similar_users is defined and similar_users|length > 0 %}
{% for similar in similar_users %} {% endfor %}
Username Similarity Score Common Articles Bot Score Actions
{{ similar.username }} {{ similar.similarity_score }}% {{ similar.common_articles }} {{ similar.bot_score }} View
{% else %}

No similar users found.

{% endif %}
{% if coordination_group is defined and coordination_group %}
Potential Coordination Group

This user may be part of a coordinated group with the following users:

{% for member in coordination_group.members %} {% endfor %}
Username Coordination Score Bot Score Common Articles Actions
{{ member.username }} {{ member.coordination_score }}% {{ member.bot_score }} {{ member.common_articles }} View
Coordination indicators:
  • Similar commenting patterns ({{ coordination_group.pattern_similarity }}%)
  • Temporal proximity of comments ({{ coordination_group.temporal_proximity }}%)
  • Content similarity ({{ coordination_group.content_similarity }}%)
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}