[BUG] Personality report and AI Mentor only see the top 6 repos

オープン
#4,049 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

@Sakshamebdev873 がすでに取り組んでいます。

2026年12月3日 から。

  • #4050 @Sakshamebdev873 による — オープン

評価

この issue はまだ評価されていません。

説明

status:assigned

/api/metrics/repos returns only the top 6 repos (for the dashboard widget). The personality report and AI Mentor treat that list as all of the user's repos.

Effects

  • Personality report: repoCount is repos.length, so it is never more than 6. "Open Source Hero" (needs 8+ repos) can't be reached by repo count, and the AI is told "active across 6 repos" even for someone active in 20.
  • AI Mentor: the "X% of your commits are in one repo" figure only counts commits in those 6 repos. Example: 50 commits in one repo + 2 in each of 20 others is really 56%, but the mentor says 83%.

Fix
Also return the total repo count from /api/metrics/repos (no extra API calls; the route already counts every repo before cutting to 6) and use it, plus the total commit count it already returns (sampledCommits), in these two features. Add tests.

主要言語
TypeScript
スター
246
フォーク
436
平均マージ
9時間 33分
マージ済み PR(30日)
213

環境構築

はじめの一歩

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

Priyanshu-byte-coder/devtrack のほかの issue

Priyanshu-byte-coder/devtrack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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