{{ sport.short_name }} SCRAPER REPORT
================================

Season: {{ season_display }}
Status: {{ job.status|upper }}
Duration: {{ job.duration_display }}

{% if job.status == 'completed' %}
SUMMARY
-------
Games Found:    {{ job.games_found }}
New:            {{ job.games_new }}
Updated:        {{ job.games_updated }}
Unchanged:      {{ job.games_unchanged }}
{% if job.games_errors %}Errors:         {{ job.games_errors }}{% endif %}

{% if job.review_items_created > 0 %}
REVIEW QUEUE ({{ job.review_items_created }} items)
-------------------------------------------------
{% for item in review_items %}
- {{ item.item_type }}: "{{ item.raw_value }}" -> {{ item.suggested_id|default:"None" }} ({{ item.confidence|floatformat:0 }}%)
{% endfor %}
{% if job.review_items_created > 10 %}
... and {{ job.review_items_created|add:"-10" }} more items
{% endif %}
{% endif %}

{% else %}
ERROR
-----
{{ job.error_message }}
{% endif %}

{% if suggested_actions %}
SUGGESTED ACTIONS
-----------------
{% for action in suggested_actions %}
- {{ action }}
{% endfor %}
{% endif %}

---
SportsTime Scraper | Job #{{ job.id }} | {{ job.finished_at|date:"Y-m-d H:i" }} UTC
