{% extends "base.html" %} {% block extra_head %} {% endblock %} {% block content %}
← Back

Contributions

🔥 {{ streak.current }} day streak · Longest {{ streak.longest }}
{% for month in heatmap_months %}{{ month }}{% endfor %}
{% for week in heatmap %}
{% for day in week %} {% endfor %}
{% endfor %}
{% if is_admin(user) %}

AI usage (last 24h)

{% if ai_quota %}
{% if ai_quota.unlimited %}No daily spend cap{% else %}{{ ai_quota.used_pct }}% of daily quota used{% endif %} ${{ '%.4f'|format(ai_quota.spent_usd) }} / {% if ai_quota.unlimited %}no cap{% else %}${{ '%.2f'|format(ai_quota.limit_usd) }}{% endif %} · {{ ai_quota.turns }} Devii turns
{% endif %}

Loading...

{% elif is_self(user, profile_user['uid']) %}

AI quota

{% if ai_quota %}
{% if ai_quota.unlimited %}No daily AI spend cap{% else %}{{ ai_quota.used_pct }}% of your daily AI quota used{% endif %}
{% else %}

Quota unavailable.

{% endif %}
{% endif %} {% if correction_usage and correction_usage.calls %}

AI correction usage

{% if correction_usage.last_used %}{{ format_date(correction_usage.last_used) }}{% endif %}
{{ "{:,}".format(correction_usage.calls) }} Corrections
{{ "{:,}".format(correction_usage.total_tokens) }} Total tokens
{{ "{:,}".format(correction_usage.prompt_tokens) }} Prompt tokens
{{ "{:,}".format(correction_usage.completion_tokens) }} Completion tokens
{{ "%.0f"|format(correction_usage.avg_tokens) }} Avg tokens/call
{{ "%.0f"|format(correction_usage.avg_latency_ms) }} ms Avg latency
{{ "%.1f"|format(correction_usage.avg_tokens_per_second) }}/s Avg speed
{{ "%.1f"|format(correction_usage.total_time_s) }} s Total time
{% if correction_usage.cost_usd is defined %}
${{ "%.4f"|format(correction_usage.cost_usd) }} Total cost
${{ "%.5f"|format(correction_usage.avg_cost_usd) }} Avg cost/call
{% endif %}
{% endif %} {% if modifier_usage and modifier_usage.calls %}

AI modifier usage

{% if modifier_usage.last_used %}{{ format_date(modifier_usage.last_used) }}{% endif %}
{{ "{:,}".format(modifier_usage.calls) }} Modifications
{{ "{:,}".format(modifier_usage.total_tokens) }} Total tokens
{{ "{:,}".format(modifier_usage.prompt_tokens) }} Prompt tokens
{{ "{:,}".format(modifier_usage.completion_tokens) }} Completion tokens
{{ "%.0f"|format(modifier_usage.avg_tokens) }} Avg tokens/call
{{ "%.0f"|format(modifier_usage.avg_latency_ms) }} ms Avg latency
{{ "%.1f"|format(modifier_usage.avg_tokens_per_second) }}/s Avg speed
{{ "%.1f"|format(modifier_usage.total_time_s) }} s Total time
{% if modifier_usage.cost_usd is defined %}
${{ "%.4f"|format(modifier_usage.cost_usd) }} Total cost
${{ "%.5f"|format(modifier_usage.avg_cost_usd) }} Avg cost/call
{% endif %}
{% endif %}
🏆 Achievements {{ badge_earned }} / {{ badge_total }} {% for group in achievements %}

{{ group['group'] }} {{ group['earned'] }}/{{ group['total'] }}

{% for item in group['items'] %}
{{ item['icon'] }} {{ item['name'] }} {{ item['description'] }}
{% endfor %}
{% endfor %}
{% if current_tab == 'posts' %} {% for item in posts %} {% set _author = profile_user %}{% set _time = item.time_ago %}{% set _show_share = false %}{% set _show_comment_form = false %}{% include "_post_card.html" %} {% else %}
No posts yet.
{% endfor %} {% elif current_tab == 'projects' %} {% for p in projects %}

{{ render_title(p['title']) }}

● {{ p.get('status', 'In Development') }} {{ p.get('project_type', 'software')|replace('_', ' ')|capitalize }}
{{ render_content(p.get('description', '')[:200]) }}
{% if p.get('platforms') %}
{% for plat in p['platforms'].split(',') %} {{ plat.strip() }} {% endfor %}
{% endif %}
{% else %}
No projects yet.
{% endfor %} {% elif current_tab == 'gists' %} {% for entry in gists %} {% set g = entry.gist %}

{{ render_title(g['title']) }}

☆ {{ g.get('stars', 0) }}
📝 {{ language_name(g['language']) }}
{% if g.get('description') %}
{{ g['description'][:200] }}{% if g['description']|length > 200 %}...{% endif %}
{% endif %}
{% else %}
No gists yet.
{% endfor %} {% elif current_tab == 'media' %} {% include "_media_gallery.html" %} {% set pagination = media_pagination %} {% set pagination_query = "tab=media&" %} {% include "_pagination.html" %} {% elif current_tab == 'followers' or current_tab == 'following' %} {% for person in people %} {% else %}
{% if current_tab == 'followers' %}No followers yet.{% else %}Not following anyone yet.{% endif %}
{% endfor %} {% if follow_pagination and follow_pagination.total_pages > 1 %} {% endif %} {% elif current_tab == 'notifications' %} {% if is_owner or viewer_is_admin %}
{% if not is_owner %}

Editing notification settings for {{ profile_user['username'] }}.

{% endif %}

Choose how you want to be notified for each event. In-app shows the notification on DevPlace; Push sends it to your subscribed devices.

{% for pref in notification_prefs %} {% endfor %}
Notification In-app Push
{{ pref.label }} {{ pref.description }}
{% else %}
Not available.
{% endif %} {% else %} {% for act in activities %}
{% if act['type'] == 'post' %}📝{% else %}💬{% endif %} {% if act['type'] == 'post' %}Posted{% else %}Commented{% endif %} {{ dt_ago(act['created_at']) if act['created_at'] else act['time_ago'] }}

{{ act['content'] }}

{% else %}
No activity yet.
{% endfor %} {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}