Source support: design and decisions for assessing answer support (research)

オープン
#99 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
領域
ai, documentation

調査の方向性

This is a design write-up, not a code change. Read the state definitions in #437 and #447 first, then the implementation issues #442 to #447 and #452 that depend on the decisions. Done means the five questions and the listed decisions are answered in this issue or a new doc under docs/, with a recorded build, defer or drop recommendation and the linked issues updated to match.

索引モデルが issue の本文から書いたものです。

説明

backend enhancement question

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

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

Part of #422. This is a research and design issue. It does not ship user-facing behavior.

This is the decisions gate for the source-support series tracked in #437. The series says "supported" rather than "contributed", and its states are defined in #437 and #447. The implementation issues (#442 to #447, #452) already exist and wait on the decisions recorded here.

Problem

Supplied-as-context tells a team an article was available to the assistant, not that it shaped the answer. If A, B and C are supplied and the reply only reflects A, all three are counted as supplied. A team may want evidence that an answer is supported by an article, but any such signal is an estimate, so its method and its limits have to be designed before it is built or shown.

Deliverable

A short design written into this issue (or a doc under docs/) that answers:

  1. Method options and trade-offs. For example: passage-level similarity between answer sentences and the supplied article text (handles paraphrase), a model-declared citation list, or a separate judging pass. Include cost per answer and whether it needs an AI provider.
  2. Evidence shape. What is stored and shown per article per answer: the supporting passage from the article and the matching sentence from the answer, plus the method used. Answer text is not stored today, so say how this would work without keeping whole conversations, or what retention applies.
  3. States. States are defined in #437 and #447: supporting evidence found, no supporting evidence found, inconclusive, not assessed.
  4. Evaluation. How accuracy would be measured before shipping: a small labeled set of answers with known supporting articles, the paraphrase cases, and the target precision. Include how errors are surfaced to users.
  5. Recommendation. Build, defer, or drop, with the reason.

Out of scope

Implementing assessment, any UI, and age or freshness weighting in retrieval (a separate design).

Acceptance criteria

  • The five questions above are answered in this issue or a linked doc.
  • The design states what data it would store, for how long, and who can see it.
  • A recommendation is recorded. The existing issues (#442 to #447, #452) stay open pending the decision; if the recommendation is defer or drop, close them with a reference here.
  • Decision recorded: excerpt storage is opt-in and off by default; excerpt length; a single retention window, stated once here (proposed 90 days) and referenced from the other issues; who may toggle it (owners and admins); and what happens to existing excerpts when it is turned off.
  • Decision recorded: the grouping method for recurring unsupported questions (#452), and that any question excerpt lives in a separate opt-in table, not on answer references.
  • Decision recorded: in-process after-reply assessment versus a durable queue, and what that means for coverage.
  • Decision recorded: budget, sampling rate and enabled surfaces per workspace.
  • Decision recorded: precision target for "supporting", tolerated false-positive and false-negative rates, abstention behavior, per-answer cost ceiling and minimum labeled sample size.
  • Decision recorded: who may label shadow-run findings and under what consent, since reviewers would see customer excerpts.
  • Decision recorded: build, defer or drop recommendation.

Decisions added from writer feedback

  • Evidence excerpts are stored only for workspaces that opt in, are short (about one sentence), and never include full answers. The retention period is shown wherever the setting is enabled.
  • Grouping of recurring unsupported questions (#452): record whether a bounded question excerpt is stored under the same opt-in and retention, or only an embedding-based group with a representative excerpt. Default to the option that stores less.
  • Reasons shown for articles without support are limited to "article is about something else" and "another article says the same thing". Which source the model leaned on is unknowable and is never shown.

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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DeadantCo/answerLoopsdev のほかの issue

DeadantCo/answerLoopsdev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。