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

未关闭
#106 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
12/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DeadantCo/answerLoopsdev 的其他 Issue

查看 DeadantCo/answerLoopsdev 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。