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

Aberta
#99 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
15/100
Tipo de issue
Documentação
Clareza
Razoavelmente clara
Status de atividade
Ativa
Domínio
ai, documentation

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DeadantCo/answerLoopsdev

Todas as issues de DeadantCo/answerLoopsdev

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.