Source support: shadow run and calibration against human labels (go/no-go gate)

Open
#105 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
8/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Domain
ai, testing

Research direction

This is a measurement and go/no-go process, not a code change, and no files or entry points are named. Read the targets in #433 and the linked CONTRIBUTING.md first, and do not handle customer excerpts unless you are the workspace owner or an approved maintainer. Done means the acceptance criteria are met: targets recorded before the shadow run, a labeled sample of the agreed minimum size, and a recorded go or no-go decision.

Written by the indexing model from the issue text.

Description

backend enhancement help wanted

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

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

Part of #437. Depends on the runner. This is the gate before anything is shown to a customer.

Problem

Without measured accuracy, an aggregate "supporting evidence found" number is a guess presented as a fact. Targets must be agreed first and met on real behavior before rollout.

Scope

  • Targets are decided in #433 and copied here before the run: the precision target for "supporting", the tolerated false-positive and false-negative rates, abstention behavior, the per-answer cost ceiling and a minimum labeled sample size.
  • Shadow mode. Run on opted-in workspaces with results stored but not displayed. A reviewer samples findings and labels them without seeing the judge's label first.
  • Labeling real customer excerpts is limited to the workspace owner or an approved maintainer, per the access decision in #433.
  • Compare the judge with the human labels on the real distribution, list disagreements by case type, and adjust the rubric, the similarity floor and the sampling plan. Each change is a new method version.
  • Record the outcome: targets met, not met (and what is needed), or drop the feature.

Acceptance criteria

  • Targets are written down before the shadow run starts.
  • The labeled sample meets the minimum size set in #433.
  • Labeled sample size, label agreement between reviewers and the results per label are recorded.
  • A go or no-go decision is recorded. If no-go, #447 and #452 are closed unbuilt.
  • No shadow data is visible to customers.

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DeadantCo/answerLoopsdev

All issues in DeadantCo/answerLoopsdev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.