fix(run): the summary's "N unmet" counts QA gap bullets, not unmet ACs

オープン 初心者向け
#1,689 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
80/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
cli

調査の方向性

src/commands/run-display.ts:130 から始めてください。ここでは summary.unmetCount が failedPhase.summary.gaps.length から設定されています。周囲の関数を読み、どの run-log データがスコープ内にあるかを確認してください。#1525 で追加された AC ごとのステータスが run-log の acs[] でどのような形になっているかを見つけてください。新しいカウントはステータス not_met でフィルタし、pending を無視する必要があるためです。次に npx vitest run src/commands/run-display.test.ts -t "unmet count" を実行してください。これが 2 つ以上のテストで通れば完了です。

索引モデルが issue の本文から書いたものです。

説明

Problem

In the #1655 smoke (2026-11-16, notes-fixture #37), the run summary said AC_NOT_MET (3 unmet). The run log's acs[] for that issue held one not_met, one pending and one met, and QA's comment said "AC coverage: 1/3 met". The count comes from src/commands/run-display.ts:130 (summary.unmetCount = failedPhase.summary.gaps.length), so it counts QA's gap bullets, which include non-AC items such as "branch is stacked on #36". It does not count unmet ACs. Since #1525, the per-AC statuses are in the run log.

Acceptance Criteria

  • AC-1: The summary's unmet count is the number of the issue's ACs with status not_met, and a pending AC is not counted as unmet. Evidence: npx vitest run src/commands/run-display.test.ts -t "unmet count" → ≥ 2 passed, 0 failed

Non-Goals

  • The QA gaps list or its rendering in the issue comment.

Done when

(N unmet) in the run summary counts the not_met ACs.

主要言語
TypeScript
スター
1
フォーク
1
平均マージ
13時間 51分
マージ済み PR(30日)
59

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sequant-io/sequant のほかの issue

sequant-io/sequant の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。