Source support: dashboard buckets, evidence drill-down and flag-a-finding

Abierto
#106 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

This is blocked: it depends on #429, #432, #443 and a go decision on #446, and it says not to enable the layout before that decision. The only docs file named is content/docs/product/knowledge-base.mdx, and the tests and build to run are pnpm test and pnpm build. Work out the scope with a maintainer before starting, since the sources panel and drill-down it extends come from #432.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement frontend help wanted

Copied from DeadantCo/answerLoops#96 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/447 — originally opened by @NathanTarbert on 2026-10-23

Part of #437. Depends on #429, #432, #443, and a "go" on #446. Start the layout earlier against fixture data if useful, but do not enable it for customers before that decision.

Problem

Writers need to see, beside each article's supplied count, what the evaluator found, with the evidence and the limits visible, and be able to say when it is wrong.

Scope

  • Buckets beside the count. For a chosen time range and surface filter, the same answer/article population for every bucket: Supplied as context, Supporting evidence found, No supporting evidence found, Inconclusive, Not assessed. They sum to the supplied total. A support rate shows its denominator (completed assessments) and inconclusive separately. Never show "unused", a percentage without a denominator, or an extrapolation from a sample.
  • Legacy period. Aggregate counts from before answer records exist are a separately labeled period with no per-answer states.
  • Drill-down. Extends the sources panel and recent-answers list from #432 instead of adding second ones. From an article to its recent answers and from an answer to its sources, showing the claim, the supporting or conflicting passage where retained, or "evidence expired" or "evidence unavailable". Current article text is never substituted for the generation-time text.
  • Shared support and reasons. When two supplied articles carry equivalent support, show both with a note that they are redundant; never say which one the model relied on. For articles with no supporting evidence, show the reason: "article is about something else" (off_topic) or "another article says the same thing" (redundant). Never show a "preferred" reason.
  • Sources panel and claim view. The #432 Sources panel gains a per-article finding column and a side-by-side claim view opened from a row; no separate all-sources page. Every supplied article's finding for an answer is reachable there, so a claim contradicted by several articles shows all of them.
  • Excerpts opt-in. Where excerpts were not stored (workspace opt-in off), show "evidence unavailable". The setting itself is built in #445; this page only links to it.
  • Context shown with each finding. Method and rubric version, assessment time, whether the article changed since, and the wording "evaluator's assessment", not a statement about what the model did. Reason labels may overlap and are never shown as additive outcomes.
  • Flag a wrong finding. Owners and admins can mark a finding as incorrect with an optional short note. Human flags display separately from automated findings and never change the automated row.
  • High exposure with little support suggests a look at the article. Nothing is deleted, unpublished or penalized automatically.

Acceptance criteria

  • The 100-answer example renders as 100 = 20 + 35 + 5 + 40 with the denominators stated.
  • Failed, pending, disabled and over-budget answers appear under Not assessed.
  • Shared support renders both articles with a redundancy note; off-topic and redundant reasons render distinctly; no "preferred" copy exists.
  • The claim view shows every supplied article's finding for an answer.
  • Copy never uses "used", "ignored" or "unused" for these buckets.
  • Drill-down, tooltips and the flag control work by keyboard and touch; layout checked at 375px.
  • Component tests cover each bucket, the legacy period, expired evidence, a changed article and flagging; a query test covers workspace scoping.
  • content/docs/product/knowledge-base.mdx documents the buckets, their meaning and their limits.
  • pnpm test and pnpm build pass.

The question-level view (recurring questions with no supporting article) is tracked in #452.

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DeadantCo/answerLoopsdev

Todos los issues de DeadantCo/answerLoopsdev

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.