Copilot コードレビューコメント種類の使用状況メトリクス API が追加されました
本文の状態
日本語全文を表示中
詳細モードで約2分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
GitHub Changelog
GitHub は、Copilot のコードレビュー機能に関するユーザー活動の理解を深めるため、企業および組織レポートのプルリクエストセクションに、コメントタイプ別の提案数を集計した新しい配列を追加しました。これにより、各自動生成されたレビューコメントがどの種類の分類に属するかを詳細に把握できるようになります。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Copilot コードレビューのアクティビティを理解していただくために、Copilot 使用状況メトリクス API は、Copilot コードレビューの提案をコメントタイプ別に内訳するようになりました。エンタープライズレポートと組織レポートの両方で、pull_requests の下に新しい copilot_suggestions_by_comment_type 配列が利用可能になりました。
新機能
各 Copilot コードレビューの提案(つまり、Copilot によって自動的に生成された行アンカー付きレビューコメント)について、この新しい配列は、Copilot がその提案に割り当てたコメントタイプ(セキュリティや bug_risk など)ごとの集計数を報告します。
comment_type: レビュー提案に対して Copilot が割り当てたカテゴリ。
total_copilot_suggestions: 報告期間中に投稿された、そのコメントタイプの Copilot コードレビュー提案の総数。
total_copilot_applied_suggestions: その中で開発者によって適用された提案の数。
この内訳は、エンタープライズレベルと組織レベルの両方で、1 日単位のレポートおよび 28 日間のローリングウィンドウレポートで利用可能です。現時点ではリポジトリレベルへの詳細な分析はできませんが、将来的には調査が進められています。
これが重要な理由
Copilot が何を検出しているかを理解する: Copilot コードレビューがプルリクエスト内で最も頻繁に表面化させる問題のカテゴリを確認できます。
開発者が対応したフィードバックを測定する: 提案数とタイプごとの適用数を比較することで、Copilot コードレビューがどの分野で最大の価値を提供しているかを把握できます。
コードレビューの全体像を完成させる:既存のコパイロットコードレビューユーザー数やプルリクエストメトリクスと組み合わせることで、コパイロットコードレビューがどの程度利用されているかだけでなく、どのようなフィードバックを提供し、それがどれほど採用されているかも把握できるようになります。
重要な注意点
これらのメトリクスは、REST API を通じてコパイロット使用状況のメトリクスにアクセス権限を持つエンタープライズ管理者および組織オーナーのみが利用可能です。
含まれるのはコパイロットコードレビューによって投稿された提案のみです。内訳は、各提案が投稿された時点でコパイロットが割り当てたコメントタイプに基づいています。
GitHub コミュニティ内のディスカッションに参加してください。
「Copilot code review comment types now in usage metrics API」という記事は、最初に The GitHub Blog で公開されました。
原文を表示
To help you understand the activity generated by Copilot code review users, the Copilot usage metrics API now breaks down Copilot code review suggestions by comment type. A new copilot_suggestions_by_comment_type array is available under pull_requests in both enterprise and organization reports.
What’s new
For each Copilot code review suggestion (i.e., a line-anchored review comment generated automatically by Copilot), the new array reports aggregated counts by the comment types Copilot assigned to the suggestion (e.g., security or bug_risk):
comment_type: The category Copilot assigned to the review suggestion.
total_copilot_suggestions: The total number of Copilot code review suggestions of that comment type posted during the reporting period.
total_copilot_applied_suggestions: The number of those suggestions that were applied by a developer.
The breakdown is available in single-day and 28-day rolling window reports at both the enterprise and organization levels. You cannot currently drill down to the repository level, though this is being investigated for the future.
Why this matters
Understand what Copilot is catching: See which categories of issues Copilot code review surfaces most often in your pull requests.
Measure which feedback developers act on: Compare suggestion volume to applied suggestions per type to see where Copilot code review delivers the most value.
Complete the code review picture: Combined with the existing Copilot code review user counts and pull request metrics, you now have visibility into not just how much Copilot code review is used, but what kinds of feedback it produces and how often it’s adopted.
Important notes
These metrics are available to enterprise administrators and organization owners who have access to Copilot usage metrics through the REST API.
Only suggestions posted by Copilot code review are included. The breakdown reflects the comment type Copilot assigned to each suggestion at the time it was posted.
Join the discussion within GitHub Community.
The post Copilot code review comment types now in usage metrics API appeared first on The GitHub Blog.
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み