Skip to content

feat(#1524): investigation(qa): per-AC status parse coverage over ≥ 60 QA verdict comments, with a hand-labelled fixture — decides parser-now or marker-first (RD-1) - #1554

Merged
admarble merged 8 commits into
mainfrom
feature/1524-investigation-qa-per-ac-status-parse-coverage-over
Oct 19, 2026
Merged

admarble merged 8 commits into
mainfrom
feature/1524-investigation-qa-per-ac-status-parse-coverage-over

Conversation

@admarble

@admarble admarble commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Result: across all 76 QA-marked comments since 2026-08-01, the parser assigned a status to 275 of 343 issue-body ACs (80%). On the 12-comment hand-labelled fixture, precision is 97% and recall is 98%. Almost all of the gap (60 of 68 unread ACs) is in 9 short follow-up comments, such as "All 9 ACs were already MET". These never write a per-AC status, so no parser can recover it. That is the case for adding a marker first.

The proposed line in the report is:
RD-1: marker-first — coverage 80% on 76 comments, precision 97%
It is a proposal until you confirm it on #1523.

Labels came before the parser. The fixture and expected.json are in commit 909f068be; the parser is in the next commit, 04f6142b3. I did the labelling, not you, and I picked the 12 comments to cover different formats rather than at random. The report says both.

False positives are real, not made up. The two in the fixture are #1265 AC-2 and AC-7, whose rows read MET (locally) / PENDING (CI). The parser reads the first word, MET, but the AC is not done. This is the "stray MET near an AC id" case the issue asked for.

Pre-PR AC Verification

AC Source Status Evidence
AC-1 Original ✅ Implemented 12 verbatim comments in __tests__/fixtures/qa-comments/; expected.json has 75 labels (53 met, 7 not_met, 8 pending, 7 unknown). Both Evidence commands print 12 and ok.
AC-2 Original ✅ Implemented --since 2026-08-01 --json gives comments: 76, acs: 343, classified: 275, coverage: 0.80. Evidence prints ok. Needs gh auth.
AC-3 Original ✅ Implemented --fixture --json gives precision 0.97 and recall 0.98, with the #1265 rows counted as false positives. Evidence prints ok.
AC-4 Original ✅ Implemented docs/evidence/review-surface/ac-parse-coverage.md; the grep returns 1.
AC-5 Original (owner step, delegated) ✅ Done by the runner Re-read: 8 of 8 agreed. The owner delegated the blind re-label to the runner session, a second labeller. 6 of 6 fully blind fixtures agree; see the evidence file §5 for the two that were not fully blind.

Mutation records (AC-1, AC-3).

Both markers parse with parseMutationMarkers.

Mutation-verified: AC-1 — deleted the 892-5180081102.md entry from expected.json; scripts/qa/ac-status-parse-coverage.test.ts > qa-comments fixture (AC-1) > pairs every fixture file with an expected.json entry, and back failed; restored.
Mutation-verified: AC-3 — removed the 1265 AC-2 and AC-7 false-positive labels from expected.json, precision read 100%; scripts/qa/ac-status-parse-coverage.test.ts > scoreFixture precision (AC-3) > counts the real stray MET in 1265's 'MET (locally) / PENDING (CI)' rows as false positives failed; restored.

Files changed

  • scripts/qa/ac-status-parse-coverage.ts (new): the parser, fixture scoring and live corpus measurement.
  • `scripts/qa/a

Fixes #1524

QA verdict: NEEDS_VERIFICATION — acceptance criteria met, pending external verification (e.g. CI or a manual test). See the QA review comment.

Runner verification (2026-10-19)

After merging main (through #1557), the runner re-ran AC-1..AC-5 verbatim at c4f5cda; lint green, lint:health no rise, the coverage tests 9 passed:

  • AC-1: 12, ok
  • AC-2: ok; 78 comments today (76 at exec time, plus today's verdict comments), coverage 79%
  • AC-3: ok; precision 0.97, recall 0.98
  • AC-4: 1
  • AC-5: 1

The runner reproduced both gate mutations:

  • Deleting the 892 entry from expected.json fails "pairs every fixture file with an expected.json entry, and back".
  • Removing 1265's AC-2 and AC-7 labels makes precision read 1 and fails "counts the real stray MET in 1265's 'MET (locally) / PENDING (CI)' rows as false positives".

What RD-1 = marker-first means for the graph: #1523 records RD-1 as "parser-now if ≥ 90% … otherwise marker-first after the freeze." Coverage is 80%, below that bar, so the per-AC status producer is marker-first and is scheduled after the plugin freeze lifts.

Corpus count (49 at planning vs 76 at exec): the selector counts every comment with a QA Verdict heading since 2026-08-01, including orchestrator verdict comments. This is disclosed in the evidence file §1, and the numbers are reproducible from the stated selector.


🤖 Generated with Claude Code

…, committed before the parser

Labels: 75 issue-body ACs (53 met, 7 not_met, 8 pending, 7 unknown). Rule: the status the comment asserts for that AC, per row or by an explicit collective claim; PARTIALLY_MET reads not_met; MET-locally/PENDING-CI reads pending; no claim reads unknown.
Entire-Checkpoint: 3c233a3790d5
…s parse, fixture precision/recall, live corpus coverage

Entire-Checkpoint: 11ac952f9b5b
… owner re-read pending

Entire-Checkpoint: 78488561c98d
…er-delegated; 6 of 6 fully blind)

Entire-Checkpoint: 9256e4a44369
…1521 line from the union merge

Entire-Checkpoint: 289a9d4cff0f
@admarble
admarble merged commit 23a60b3 into main Oct 19, 2026
9 of 10 checks passed
@admarble
admarble deleted the feature/1524-investigation-qa-per-ac-status-parse-coverage-over branch October 19, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant