Repository navigation
feat(cc-700): report per-reviewer participation and finding yield in gate stats - #795
Open
screenleon wants to merge 1 commit into
Open
screenleon wants to merge 1 commit into
screenleon wants to merge 1 commit into
Conversation
…gate stats
Add by_reviewer.<r>.participation {runs, finding_evidence_runs,
runs_with_findings} to `pmctl gate stats`, and print
`runs=N with-findings=a/b` in the text report. Gates whose findings are
unreadable count toward runs only, never as silent reviews.
Open CC-700 for the follow-up: tag findings that could become
deterministic checks, aggregate recurrences, and use the yield data
when reviewing tier reviewer defaults.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ESW7P7nxSS5m89Ug8qLBqJ
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.
摘要
pmctl gate stats的每個by_reviewer.<name>新增participation:runsfinding_evidence_runsruns_with_findings文字輸出多印
runs=N with-findings=a/b。分母是 evidence 數而不是runs:發現降級成unavailable的 gate 算「未知」,不算「沒發現」。欄位是 additive,既有verdicts、findings不變,gate stats仍是 experimental。這只是資料,不改任何政策:不會因此跳過 reviewer。另開 CC-700 記錄後續(finding 加
rule_candidate、聚合重複發現作為開 lint 票的輸入、有樣本後才檢討 tier 預設名單;hard-gate reviewer 不因低比例被移除)。驗證
tests/shell/test-pmctl-gate-stats.sh:25 passed、1 skipped(root 下的既有 skip)。新案例case_by_reviewer_participation_yield涵蓋有發現、空發現、無區塊、malformed 區塊四種 gate,並檢查 JSON 與文字輸出一致。$p.n > 0改成永遠成立、(2) evidence 計數不加 1,兩者都讓新案例失敗。lint-shellcheck(0.11.0 pinned)OK;run-ci-lints.sh18 passed,唯一失敗lint-readme-surface-lists在 main 上同樣失敗(此環境),與本 PR 無關。/pr-gate:這個環境沒有 codex/claude reviewer executor,請在本機依/ship流程補跑。Generated by Claude Code