{% extends "base.html" %} {% block title %}My Stats — Claw-ED{% endblock %} {% block content %}

My Stats

{{ stats.total_lessons }} Total Lessons
{{ stats.rated_lessons }} Rated Lessons
{{ stats.total_units }} Units
{{ "%.1f"|format(stats.overall_avg_rating) }}/5 Avg Rating
{{ stats.streak }} Day Streak
{% if stats.rated_lessons > 0 %}

Rating Distribution

{% for star in [5, 4, 3, 2, 1] %} {% set count = stats.rating_distribution.get(star, 0) %} {% set max_count = stats.rating_distribution.values()|max if stats.rating_distribution.values()|list else 1 %} {% set pct = (count / max_count * 100) if max_count else 0 %}
{{ "★" * star }}
{{ count }}
{% endfor %}
{% if stats.by_subject %}

Ratings by Subject

{% for subject, avg in stats.by_subject.items() %} {% endfor %}
Subject Avg Rating
{{ subject }} {{ avg }}/5
{% endif %} {% if stats.top_topics %}

Most Effective Topics

{% for topic in stats.top_topics %} {% endfor %}
Topic Avg Rating Lessons
{{ topic.topic }} {{ topic.avg_rating }}/5 {{ topic.count }}
{% endif %} {% if stats.needs_improvement %}

Needs Improvement

These lessons were rated below 3 stars. They'll be analyzed in the next improvement cycle.

{% for lesson in stats.needs_improvement[:10] %} {% endfor %}
Lesson Rating Date
{{ lesson.title or "Untitled" }} {{ lesson.rating }}/5 {{ (lesson.created_at or "")[:10] }}
{% endif %} {% else %}

No ratings yet.

Generate lessons with Generate or clawed chat, then rate them to see analytics here.

{% endif %} {% endblock %}