{% extends "base.html" %} {% block title %}LLM Evaluations - Admin - craft-dashboard{% endblock %} {% block head %} {% endblock %} {% block content %}

Admin

{% include "admin/partials/tabs.html" %}

LLM token usage

Token consumption by the LLM evaluation pipeline.

View issues with no LLM data View issues with incomplete LLM data

Last 7 days

Evaluations Total Tokens Input Tokens Output Tokens Embedding Tokens Avg Tokens per Eval
{{ "{:,}".format(recent_evaluations) }} {{ "{:,}".format(recent_tokens) }} {{ "{:,}".format(recent_prompt_tokens) }} {{ "{:,}".format(recent_completion_tokens) }} {{ "{:,}".format(recent_embedding_tokens) }} {{ "{:,.0f}".format(recent_tokens / recent_evaluations) if recent_evaluations > 0 else "N/A" }}

Lifetime

Evaluations Total Tokens Input Tokens Output Tokens Embedding Tokens Avg Tokens per Eval
{{ "{:,}".format(total_evaluations) }} {{ "{:,}".format(total_tokens) }} {{ "{:,}".format(total_prompt_tokens) }} {{ "{:,}".format(total_completion_tokens) }} {{ "{:,}".format(total_embedding_tokens) }} {{ "{:,.0f}".format(total_tokens / total_evaluations) if total_evaluations > 0 else "N/A" }}

LLM evaluation service

Status of the continuous evaluate worker, and its recent output.

{% set llm_status_labels = { "running": "Running", "stalled": "Stalled", "stalled_quota": "Stalled (quota reached)", "unknown": "Unknown", } %}

Status

{{ llm_status_labels.get(llm_service_status.status, llm_service_status.status) }}

{% if llm_service_status.status == "stalled_quota" %}

Resumes {{ llm_service_status.quota_resume_at | local_datetime }}

{% endif %}

Last poll

{{ llm_service_status.last_poll_at | local_datetime("Never") }}

Last result

{{ llm_service_status.last_result_at | local_datetime("Never") }}

Issues needing evaluations

Never evaluated Eval version outdated Content changed since last eval
{{ "{:,}".format(outdated_evaluation_counts.never_evaluated) }} {{ "{:,}".format(outdated_evaluation_counts.version_outdated) }} {{ "{:,}".format(outdated_evaluation_counts.content_changed) }}

Daily evaluations (last 14 days)

{% if llm_daily_stats %} {% for day in llm_daily_stats %} {% endfor %}
Date Evaluations
{{ day.date }} {{ "{:,}".format(day.count) }}
{% else %}

No evaluations recorded yet.

{% endif %}

Recent evaluations

{% include "admin/_recent_evaluations_rows.html" %}

Eval queue depth over time

Pending issues waiting for evaluation, sampled when workers poll /api/eval/next. Only records data while an evaluation worker is actively running.

{% if llm_queue_depth_history %}
{% else %}

No queue depth samples recorded yet.

{% endif %}

Daily invalidations by signal

{% if commit_scan_summary %} {% if commit_scan_summary.warn %}

Commit scanner invalidated {{ commit_scan_summary.rolling_total }} issues in the last 7 days, above the configured warning threshold of {{ commit_scan_summary.warn_threshold }}. Review the signal mix below and consider lowering K / raising the similarity threshold.

{% else %}

Rolling 7-day total: {{ commit_scan_summary.rolling_total }} invalidations.

{% endif %} {% endif %}

Issues marked for re-evaluation per day by commit scanner signal type. Because an issue can match multiple signals in a single pass, the chart stacks signal matches, while the headline total above counts unique issues.

{% if commit_scan_history %} {% set total_inval = commit_scan_history | sum(attribute="qualified_ref") + commit_scan_history | sum(attribute="path") + commit_scan_history | sum(attribute="semantic") + commit_scan_history | sum(attribute="bare_ref") + commit_scan_history | sum(attribute="launchpad") %} {% if total_inval == 0 %}

No invalidations were triggered across any signals in this period.

{% endif %}
{% else %}

No commit scan runs recorded yet.

{% endif %}

Evaluation API Tokens

Registered API tokens used for evaluation workers and background runs.

{% if eval_tokens %} {% for token in eval_tokens %} {% endfor %}
ID Name Prefix Permissions Status Evaluations Last Used Action
{{ token.id }} {{ token.name }} {{ token.token_prefix }} {{ token.permissions | join(", ") }} {% if token.is_active %} Active {% else %} Revoked {% endif %} {{ "{:,}".format(token_stats.get(token.id, 0)) }} {{ token.last_used_at | local_datetime if token.last_used_at else "Never" }} {% if token.is_active %}
{% else %} — {% endif %}
{% else %}

No evaluation tokens found.

{% endif %}
{% endblock %}