{# Everything the admin group already computes, rendered once. No number here is calculated by this page. Search quality in particular is the evaluation harness's own report, verbatim: `available: false` means nobody has judged any pairs, which is the truth and is not a score of zero, and `is_evidence: false` means the query set behind the numbers is an example one. Both caveats travel with the numbers rather than beside them. #}{% extends layout %} {% import "macros.html" as m %} {% block content %}
{% if panels.index.ok %}

Documents

{{ panels.index.data.documents }}

Chunks

{{ panels.index.data.chunks }}

{% if panels.index.data.vector_index %} {# The one card here that is about latency rather than about how much is stored. A corpus that has grown past the point where every query scans every vector is invisible in the two counts beside it, which is the gap #261 found. #}

Vector search

{{ panels.index.data.vector_index.lifecycle }}

{% if panels.index.data.vector_index.exact %} exact over {{ panels.index.data.vector_index.rows }} vector(s) {% else %} {{ '%.0f' % (panels.index.data.vector_index.coverage * 100) }}% indexed of {{ panels.index.data.vector_index.rows }} {% endif %} {% if panels.index.data.vector_index.due %} · manicule build-vector-index --yes {% endif %}

{% endif %} {% endif %} {% if panels.queries.ok %}

Queries logged

{{ panels.queries.data.total }}

{% endif %} {% if panels.audit.ok %}

Audit rows

{{ panels.audit.data.total }}

{% endif %}

Search quality

{% if panels.quality.ok %} {% if panels.quality.data.available %}

{{ panels.quality.data.judged }} of {{ panels.quality.data.records }} pairs judged · {{ panels.quality.data.left_label }} against {{ panels.quality.data.right_label }} · query set {{ panels.quality.data.query_set }}

{% if not panels.quality.data.is_evidence %}

{{ panels.quality.data.caveat }}

{% endif %}
{{ panels.quality.data.report }}
{% else %}

Nobody has judged any pairs. That is not a score of zero — it is the absence of a measurement, and the harness refuses to report for a system it cannot distinguish from guessing.

{% if panels.quality.data.caveat %}

{{ panels.quality.data.caveat }}

{% endif %} {% endif %} {% else %}{{ m.failed(panels.quality) }}{% endif %}

Query log

{% if panels.queries.ok %} {% if panels.queries.data.entries %} {% for row in panels.queries.data.entries %} {% endfor %}
WhenQueryProfileChunksConfidenceElapsed
{{ row.created_at }} {{ row.query }} {{ row.profile }} {{ row.chunks }} {{ "%.2f" | format(row.confidence) if row.confidence is not none else '—' }} {{ row.elapsed_ms if row.elapsed_ms is not none else '—' }}
{% else %}{{ m.empty('Nothing has been asked yet.') }}{% endif %} {# Outside the "are there rows" branch, so paging past the end is not a dead end. #} {% else %}{{ m.failed(panels.queries) }}{% endif %}

Audit trail

{% if panels.audit.ok %} {% if not panels.audit.data.enabled %}

Auditing is switched off, so an empty trail here means nothing was recorded rather than that nothing happened. Those are different answers.

{% endif %} {% if panels.audit.data.entries %} {% for row in panels.audit.data.entries %} {% endfor %}
WhenEventActorAddressDetails
{{ row.created_at }} {{ row.event_type }} {{ row.actor or '—' }} {{ row.ip_address or 'unknown' }} {% for key, value in row.details | items %}{{ key }}={{ value }} {% endfor %}
{% else %}{{ m.empty('No audit entries in this page.') }}{% endif %} {% else %}{{ m.failed(panels.audit) }}{% endif %}

Plugin health

{% if panels.plugins.ok %} {% for item in panels.plugins.data.plugins %} {% endfor %}
PluginComponentsStateDetail
{{ item.name }}{{ item.components }}{{ m.state(item.state) }}{{ item.detail }}
{% else %}{{ m.failed(panels.plugins) }}{% endif %}

Connectors

{% if panels.connectors.ok %} {% for item in panels.connectors.data.connectors %} {% endfor %}
NameTypeFull inventoryLast syncOutcomeRetryStatus
{{ item.name }}{{ item.type }}{{ item.full_inventory_authority or '—' }}{{ item.last_synced_at or 'never' }}{{ item.last_outcome or '—' }}{{ 'yes' if item.retry_required else 'no' }}{{ item.status or '—' }}
{% else %}{{ m.failed(panels.connectors) }}{% endif %}
{% endblock %}