{# Summary card component - displays high-level contribution statistics #}

Contribution Summary ({{ since_date }} to {{ until_date }})

{{ total_prs }}
Total PRs
{{ merged_count }}
Merged
{{ open_count }}
Open
{{ closed_count }}
Closed
{{ repo_count }}
Repositories
{% if star_increase is defined %}
{% if star_increase == -1 %}>1000{% else %}+{{ star_increase }}{% endif %}
Stars Gained
{% endif %}
{% if total_additions is defined and total_additions is not none %}
+{{ "{:,}".format(total_additions) }}
Lines Added
{% if total_deletions is defined and total_deletions is not none %}
-{{ "{:,}".format(total_deletions) }}
Lines Deleted
{% endif %} {% if total_changed_files is defined and total_changed_files is not none %}
{{ "{:,}".format(total_changed_files) }}
Files Changed
{% endif %}
{% endif %} {% if language_breakdown is defined and language_breakdown %}

Top Languages

{% set max_percentage = language_breakdown[0][1] if language_breakdown else 100 %} {% for language, percentage in language_breakdown %}
{{ language }} {{ "%.1f"|format(percentage) }}%
{% endfor %}
{% endif %} {% if size_distribution is defined and size_distribution %}

PR Size Distribution

{% set max_count = size_distribution.values()|list|max %} {% for size_category, count in size_distribution.items() %}
{{ count }}
{{ size_category }}
{% endfor %}
{% endif %} {% if cache_age %}

Last updated: {{ cache_age }}

{% endif %}