Feedback Dashboard Metrics
The administration dashboards aggregate user-satisfaction and operational-quality signals across two pages:
- Feedback dashboard: P95 latency, the Think Harder funnel, satisfaction trends and content flagging.
- Analytics page: three tabs (queries, activity, costs). The costs tab, visible to the platform owner role only, carries the operational quality charts.
Three features were added to the existing feedback dashboard: a P95 latency comparison card, a Think Harder funnel and a Flag for review action on individual feedback records. Two operations charts (category mismatch trend, diagnostic accuracy trend) live on the Analytics costs tab.
What the dashboard already had
- Satisfaction summary cards (positive and negative share, category distribution)
- Metric cards defined in ADR-0008: Think Harder count, improvement acceptance rate, override count, and counts of automatic triggers
- A satisfaction trend line chart
- An intent distribution chart
- A feedback list with AI investigation and rating-override actions
- An action to add a conversation to the golden evaluation set
P95 latency comparison
Purpose
The card shows end-to-end pipeline latency at the 95th percentile, split by whether the query was escalated through Think Harder. This makes the cost of escalation visible in production terms.
How the figures are computed
An authenticated administrative statistics function accepts a look-back window (default 30 days, range 1 to 365). For every conversation in the window it sums the duration of all recorded pipeline stages, then checks whether the conversation also received a Think Harder feedback event. It then computes the 95th percentile of total latency separately for normal queries, escalated queries and all queries, in a single database pass. A second computation returns the average duration per pipeline stage (generation, re-ranking, retrieval, intent classification and so on).
The result contains the window, the total, normal and escalated query counts, the three P95 values and the per-stage averages. Any latency value is empty when there is no data for that group in the window.
Card layout
The card shows three tiles side by side: P95 normal, P95 escalated and P95 overall. When both normal and escalated values exist, the overall tile shows a relative-difference label, amber when the escalated P95 exceeds 1.5 times the normal P95 and green otherwise.
Data flow
Think Harder funnel
Purpose
The funnel visualises the conversion path from user dissatisfaction to accepted improvement, giving content managers a single-glance view of how well Think Harder recovers poor search experiences.
Data source
The funnel reuses the existing feedback summary; no new backend function was needed. It uses three counts:
| Field | Meaning |
|---|---|
| Negative count | Total thumbs-down feedback events in the period |
| Think Harder count | Escalations triggered from negative feedback |
| Improvement accepted count | Escalated responses accepted by users |
Conversion rates
- Escalation rate: Think Harder count divided by negative count, shown in blue under the Escalated column.
- Acceptance rate: improvement-accepted count divided by Think Harder count, shown in green under the Accepted column.
Each rate is displayed only when its denominator is non-zero.
Layout
Three equal-width columns, Negative, Escalated and Accepted, joined by arrows. The count appears in each column and the conversion percentage sits below it in a smaller contrasting colour.
Flag for review
Purpose
Administrators can mark individual feedback records for follow-up by content teams without leaving the dashboard. The flag is stored as a flexible metadata field on the feedback record, so it survives schema changes and required no migration.
Behaviour
An authenticated administrative function merges a "flagged" marker into the record's metadata and answers with a confirmation; it returns a not-found error if the record does not exist. In the interface, clicking the button disables it while the request is in flight, then shows a success or error notification and re-enables it. The flag is not reflected back in the list: it is a fire-and-forget signal for content-review workflows.
Operations metrics (costs tab)
The costs tab adds two operational quality charts that surface system-quality drift independently of explicit user feedback. Both were added on 2026-05-09 alongside the intent re-ranking rollout.
Category mismatch trend
| What it plots | The per-day mean mismatch rate: the fraction of top-ranked chunks whose content category was outside the set preferred for the classified intent after the intent re-ranking stage. |
| Data source | A telemetry table written on every non-cached query. |
| Why it matters | A persistent rise signals retrieval-steering drift: either the affinity coefficients need retuning, or the corpus has accumulated content the intent classifier does not model. It is the operator's first line of detection for regressions such as a wheelchair passage outranking a cardiology passage. |
Diagnostic accuracy trend
| What it plots | The per-day operator agreement rate: the share of "agree" verdicts among all rated outputs of the second-generation diagnostic investigation. |
| Data source | A table of operator verdicts on voice-call investigations. |
| Why it matters | It closes the calibration loop on the diagnostic runner. The first version had no operator feedback channel, so drift was invisible until the next golden-set evaluation. The second version produces one investigation per voice turn, and operators rate each as agree, partial or disagree; the chart aggregates the verdicts into a daily series. |
Voice diagnostic feedback workflow
Why P95 and not the mean
The latency cards use the 95th percentile rather than the mean because the mean hides tail behaviour: a single 30-second outlier in a thousand queries moves the mean by only 30 ms. Operators care about the tail (the worst one in twenty user experiences). This follows the site-reliability literature; see Beyer et al. 2016 (chapter 4, "Service Level Objectives") for why latency objectives are written at the tail.
Related
- ADR-0008: User Feedback and Think Harder, the rationale for the Think Harder escalation design
- Query Processing Pipeline, whose stages are recorded in the pipeline telemetry
- Storage Architecture, which describes the telemetry and verdict tables