Tracking: source support, explain how well articles support generated answers
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 8/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetPossibly taken @sethr07 claimed this today. Openenhancement frontend help wanted
Difficulty 2/5 Half a day Newbie friendliness 75/100
DeadantCo/answerLoopsdev#68 · 3 comments ·
-
Widget: make the chat window fit on small phonesPossibly taken @sethr07 claimed this today. Openenhancement frontend good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DeadantCo/answerLoopsdev#67 · 9 comments ·
-
Add 'select all' option to Slack channel picker in SettingsPossibly taken @sethr07 claimed this today. Openfrontend good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DeadantCo/answerLoopsdev#22 · 5 comments ·
-
enhancement frontend help wanted
Difficulty 4/5 3-5 days Newbie friendliness 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Difficulty 4/5 3-5 days Newbie friendliness 45/100
DeadantCo/answerLoopsdev#140 ·
All issues in DeadantCo/answerLoopsdev
Similar issues
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100
lingdojo/kana-dojo#34545 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
blocklist addition
Difficulty 1/5 Under an hour Newbie friendliness 82/100
MetaMask/eth-phishing-detect#315455 ·
Maintainers usually reply within 1 day
-
area: telegram bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
griffinwork40/agent-afk#5275 ·
Maintainers usually reply within 1 day
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reachedOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getopenscreen/openscreen#1667 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
erkamyaman/rust-anything#371 ·
Maintainers usually reply within 1 day