Repository navigation
feat(#1067): investigation(qa): seeded-defect ground truth — reconstruct the n=27 second-look study as data, build a planted-defect fixture, add recall AND precision graders - #1308
Merged
admarble merged 9 commits intoOct 5, 2026
Conversation
Entire-Checkpoint: 6a8ea55121d5
Entire-Checkpoint: 954aaeb4e5f6
Entire-Checkpoint: 1fba470f09cd
Entire-Checkpoint: 34617ba0e16a
…sion graders Entire-Checkpoint: ac0162b1c6d9
…ation-qa-seeded-defect-ground-truth-recons
…ndings, PARTIALLY_MET counts, recall reads findings only)
1 task
…s not read Risk Assessment Entire-Checkpoint: 88d9f097ad26
admarble
deleted the
feature/1067-investigation-qa-seeded-defect-ground-truth-recons
branch
October 18, 2026 23:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/investigations/qa-second-look-dataset.mdrebuilds the study from the localentire/checkpoints/v1branch.qa <N>sessions on the branch, so they aren't in the table.docs/investigations/qa-seeded-fixture/holds:base/) anddefects.patchwith 5 planted defects;ground-truth.json, the draft issue (fixture-issue.md) and a provisioning README.scripts/analytics/qa-seeded-grade.tsprintsrecall 0.60 (3/5)andprecision 0.60 (3/5)on the hand-written sample verdict. The rule for what counts as a finding is written down and tested, and precision with 0 findings isn/a, not NaN.scripts/analytics/qa-second-look-mine.tspulls the mechanical signals from each transcript (verdicts, the "any gaps?" turn, edits and commits before and after it, prior QA markers).metrics.costUSD) as marked placeholders.qa-seeded-grade.test.ts;grep -c= 1 for each of the 5 identifiersMutation-verified: AC-5 — removed the
parseSinceDateentry fromground-truth.json, and the grader output changed from recall 0.60 (3/5) to recall 0.50 (2/4). The recall test failed, along with the other tests that read the same file (3 at first; 5 after the runner's real-template tests were added). Restored.Mutation-verified: AC-3 — added a second line naming
readNotesFiletodefects.patch. Only the uniqueness test failed. Restored. A third mutation, relabeling one defect class asvacuous-test, failed only the dataset-class test.Both markers parse with
parseMutationMarkers.Checks: the targeted vitest tests (14 after the runner's fixes) pass.
tsc --noEmit(both configs), eslint on the new scripts andlint:skill-callsare clean, and the tautology check is OK. The fullnpm testwas not run, per the runner instructions; CI runs it. No CHANGELOG entry: this is internal research with no user-facing change.Pre-PR Confidence Check
ghcalls are only exercised by the real run, not by tests. Its signal rules (mineLines) are unit-tested.Runner notes (after QA)
QA's verdict was NEEDS_VERIFICATION. The runner checked the dataset rows, the attribution counts and the fixture integrity tests, then fixed QA's findings in
a5465f95and57a876f6:/qatemplate. Risk Assessment is no longer a finding section, because every review fills it in. APARTIALLY_METrow now counts as a finding. Before this fix, a template-shaped verdict scored precision 0.00.METrow that mentionsformatNotesis not a catch.graders read sequant's real /qa template, pins both fixes. Mutation-checked: re-addingrisks?to the section heading rule failed both of its cases, and reverting recall to the whole verdict failed the neutral-mention case. Both restored. The sample verdict still scores 0.60/0.60. The AC-5 mutation, re-run after the fix, still moves recall from 0.60 (3/5) to 0.50 (2/4).This PR delivers deliverables A to C. Deliverable D (AC-6, AC-7, AC-8) needs a live fixture issue and five
sequant run --phases qaruns, which the runner does after merge. So this PR does not close the issue.Part of #1067
🤖 Generated by
sequant run