[BUG] Repository health treats unmeasured signals as zero
メンテナーはふだん 1 日以内に返信
@Dhruvdesai793 がすでに取り組んでいます。
2026年12月3日 から。
評価
この issue はまだ評価されていません。
説明
What happened?
On Dashboard → Repository Health, the API reports contributorCount: 0 and documentationScore: 0 for every repository. These are hard-coded in the route, then passed into the health score as if they were measured values. Both signals contribute up to 10 points, so every repo loses up to 20 points and is shown with zero contributors and a zero documentation score even when those signals are simply not collected.
Expected: calculate these signals from GitHub, or mark them unavailable and exclude them from scoring until they can be measured. Unknown data should not be reported as zero.
Source: the route returns both constants; the scorer includes both metrics and adds them to the total at lines 65–72.
Steps to reproduce
- Sign in and open Dashboard → Repository Health.
- Load any repository.
- Inspect GET /api/metrics/repo-health?days=30.
- The response reports contributorCount: 0 and documentationScore: 0 for every repository, and the score uses those values.
Where is it?
Dashboard overview
Where did you see it?
Local development
Browser and device
Not browser-specific; server-side API data.
Screenshots, console errors or logs
No screenshot or runtime log applies. Source-level proof is linked above. I did not run tests for this report to avoid using the shared checkout while another contributor is working. Existing test/repo-health-scoring.test.ts tests the scorer with supplied values; it does not exercise the API route or verify how missing signals are represented. A route test should confirm these values are calculated or treated as unavailable instead of serialized as zero.
Want to fix it?
- I'd like to work on this. A maintainer will assign you; please don't start before that.
- 主要言語
- TypeScript
- スター
- 246
- フォーク
- 436
- 平均マージ
- 9時間 33分
- マージ済み PR(30日)
- 213
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Priyanshu-byte-coder/devtrack のほかの issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Priyanshu-byte-coder/devtrack#4067 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Priyanshu-byte-coder/devtrack#4066 ·
メンテナーはふだん 1 日以内に返信
-
Webhook manager: replace the browser confirm() dialogs with ConfirmModal対応中かも @Nandaninaulaa が 4 日前に担当しました。 オープンgood first issue level 1 level:beginner status:assigned type:design
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
Priyanshu-byte-coder/devtrack#3889 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Goals form: square arcade buttons for recurrence, Create goal and Refresh対応中かも @KartikeyG-world が 4 日前に担当しました。 オープンgood first issue level 1 level:beginner status:assigned type:design
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
Priyanshu-byte-coder/devtrack#3877 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Goals: the error banner and the "No goals yet" hint show at the same time対応中かも @KartikeyG-world が 4 日前に担当しました。 オープンgood first issue level 1 level:beginner status:assigned type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Priyanshu-byte-coder/devtrack#3872 · コメント 6 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
Priyanshu-byte-coder/devtrack の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
makecindy/cindy#15342 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
kwitsch/claude-code-plugin-tooling#219 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
no-repo-link tool-submission
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
BraveOPotato/NoSignups#2618 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100