{% extends "base.html" %} {% block title %}LLM Evaluations - Admin - craft-dashboard{% endblock %} {% block head %} {% endblock %} {% block content %}
Token consumption by the LLM evaluation pipeline.
| 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" }} |
| 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" }} |
Status of the continuous evaluate worker, and its recent output.
{{ 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 %}{{ llm_service_status.last_poll_at | local_datetime("Never") }}
{{ llm_service_status.last_result_at | local_datetime("Never") }}
| 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) }} |
| Date | Evaluations |
|---|---|
| {{ day.date }} | {{ "{:,}".format(day.count) }} |
No evaluations recorded yet.
{% endif %}
Pending issues waiting for evaluation, sampled when workers poll
/api/eval/next. Only records data while an evaluation worker is actively running.
No queue depth samples recorded yet.
{% endif %}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 %}No commit scan runs recorded yet.
{% endif %}Registered API tokens used for evaluation workers and background runs.
{% if eval_tokens %}| 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 %} |
No evaluation tokens found.
{% endif %}