Tracking: source support, explain how well articles support generated answers
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 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 ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 件 ·
メンテナーはふだん 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 日以内に返信