Tracking: source support, explain how well articles support generated answers
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 8/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
This is a tracking issue, so there is no single change to make. Start with the Plan and Architecture principles sections, and with content/docs/product/knowledge-base.mdx, which each child issue updates. Pick up a child issue only after its listed dependencies, such as #442 for segmentation, have landed. Done means that child's own acceptance criteria and regression tests pass.
由索引模型根据 Issue 内容生成。
描述
Copied from DeadantCo/answerLoops#90 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/437 — originally opened by
@NathanTarberton 2026-10-22
Tracking issue. The work is split into the issues below, in the order they should land.
This series builds on the answer-sources records (#430, #431, #432) and the supplied count (#429). Those are dependencies, not checklist items here.
Terminology: answer sources (#429 to #432) record what was supplied to each answer. Source support (this series) assesses whether the answer is supported by what was supplied. #447 extends the views from #432 instead of adding second ones.
Purpose
Help a knowledge-base writer see whether a supplied article supports a generated answer, inspect the evidence, and decide what to investigate or improve. Exposure alone is never presented as article value, and an unexplained remainder never implies wasted retrieval. Textual support is not causal influence and not proof the answer is correct.
Plan
- Decisions on evidence, retention, access, cost and build/defer: #433 (gate for everything below that stores or runs anything)
- Answer references and their call sites: #430, #431
- Deterministic segmentation, validation and count reconciliation (no database, no model): #442
- Assessment storage with separate human flags and evidence expiry: #443
- Judge contract, similarity check and human-labeled evaluation set: #444
- Bounded post-reply assessment runner: #445
- Shadow run and calibration, with a go/no-go decision: #446
- Dashboard buckets, evidence drill-down and flag-a-finding: #447 (also needs #429)
- Recurring questions with no supporting article: #452 (needs #443 and a "go" on #446)
#442 can start now. #444 can start once #442 lands (mocked models, no stored data). #443 waits for #430, #433 and #442. #445 waits for #431, #433 and #442 to #444. #447 and #452 do not ship to customers without a "go" on #446.
Architecture principles
- The model never writes evidence. Code splits the answer into numbered claims and each article into numbered passages. The judge sees only that frozen snapshot, with no tools or retrieval, and returns ids and enum labels. Code copies the quoted text from the snapshot by id, so a fabricated quote cannot exist, and unknown ids are rejected.
- Failures only go downward. Bad output, a timeout, a budget limit or a skip never becomes "supporting" or "no evidence". It becomes inconclusive or stays not assessed.
- A model label is not enough for "supporting". It must also pass an independent similarity check, and the whole method is measured against human labels before any number is shown.
- Article, answer and question text are data, never instructions.
- Generation-time content only. Findings refer to the article revision supplied at the time. Current article text is never substituted, and edits, deletion or evidence expiry never rewrite a finding.
- No durable queue, no stored conversations. Assessment runs after the reply while its inputs are still in memory, and stores only ids and bounded excerpts under the approved retention. If it does not run, the answer is shown as not assessed.
- Execution state and findings are separate. Failed, pending, disabled and budget-limited checks are visibly unassessed, and the five buckets always sum to the supplied total, with explicit denominators.
- Human corrections stay separate from automated findings and never overwrite them.
- No confidence percentages, no extrapolation from samples, and "unused" is never a state. High exposure with little support prompts a look at the article, never automatic deletion or ranking penalties.
- Searches, simulations and failed generations stay separate from completed-answer rates, and historical aggregate counts are a labeled legacy period.
Decisions #433 must record before storage or runner work starts
- Evidence stored: ids and bounded excerpts (proposed up to about 300 characters, about one sentence, never full answers), stored only when the workspace opts in to excerpt storage (off by default, disclosed where enabled), retention (the single window is stated in #433), owners and admins only, deletion on article and workspace removal.
- How recurring unsupported questions (#452) are grouped without stored conversations, and whether any question text is kept under the same opt-in and retention.
- Assessment runs in-process after the reply, with no durable queue (proposed), and what that means for coverage.
- Budget, sampling rate and enabled surfaces per workspace.
- Precision target for "supporting", tolerated false-positive and false-negative rates, abstention behavior and per-answer cost ceiling.
- A build, defer or drop recommendation.
Worked example
Take 100 supplied answer/article pairs in a period. The assessment finds 20 with supporting evidence, 35 with no supporting evidence found, 5 inconclusive, and 40 not assessed (skipped, failed, disabled or over budget). The four buckets sum to 100.
The support rate is stated with its denominator: 20 of 60 completed assessments (20 + 35 + 5), not 20 of 100. The 40 not assessed are shown separately and never counted as "no supporting evidence found" or "unused".
Out of scope
Proving internal model reasoning, automatic removal of articles based on this metric, product-version freshness policy, and counterfactual reruns as a default production cost. Source support complements article authorship and verification history (#423); it replaces neither.
Each issue updates content/docs/product/knowledge-base.mdx and adds regression tests, including keyboard and 375px checks for UI.
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
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DeadantCo/answerLoopsdev 的其他 Issue
-
Widget: match the chat bubble color to the rest of the widget可能已有人在做 @sethr07 今天认领。 未关闭enhancement frontend help wanted
难度 2/5 半天 新手友好度 75/100
DeadantCo/answerLoopsdev#68 · 3 条评论 ·
-
Widget: make the chat window fit on small phones可能已有人在做 @sethr07 今天认领。 未关闭enhancement frontend good first issue help wanted
难度 2/5 1-3 小时 新手友好度 70/100
DeadantCo/answerLoopsdev#67 · 9 条评论 ·
-
Add 'select all' option to Slack channel picker in Settings可能已有人在做 @sethr07 今天认领。 未关闭frontend good first issue
难度 2/5 1-3 小时 新手友好度 68/100
DeadantCo/answerLoopsdev#22 · 5 条评论 ·
-
enhancement frontend help wanted
难度 4/5 3-5 天 新手友好度 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
难度 4/5 3-5 天 新手友好度 45/100
DeadantCo/answerLoopsdev#140 ·
查看 DeadantCo/answerLoopsdev 的全部 Issue
相似的 Issue
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 92/100
lingdojo/kana-dojo#34545 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
blocklist addition
难度 1/5 1 小时以内 新手友好度 82/100
MetaMask/eth-phishing-detect#315455 ·
维护者通常 1 天内回复
-
area: telegram bug
难度 2/5 1-3 小时 新手友好度 76/100
griffinwork40/agent-afk#5275 ·
维护者通常 1 天内回复
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reached未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
getopenscreen/openscreen#1667 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 68/100
erkamyaman/rust-anything#371 ·
维护者通常 1 天内回复