# [Enhancement] Make Repository Health Scores Interactive and Explainable
メンテナーはふだん 4 日以内に返信
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript
調査の方向性
Start in the Repository Explorer and trace the existing health score calculation and data flow, including the related work in issue #222. Confirm which component scores and metrics are available before defining the side panel views. Done means the primary Breakdown interaction is aligned with the existing score, with supporting views and tests scoped to the available data.
索引モデルが issue の本文から書いたものです。
説明
Feature and its Use Cases
Overview
I propose improving the Repository Explorer's health score experience by allowing users to click on a repository's health score and view detailed information about it.
Currently, an overall score such as 71 provides a quick summary, but users may not understand what contributes to that score or which areas need attention.
The goal is to make the health score more transparent, understandable, and actionable through an interactive details panel.
Proposed UI
When a user clicks on a repository's health score, a side panel opens with three views:
- Breakdown — Understand why the repository has its score.
- Recommendations — Identify potential areas for improvement.
- Raw Metrics — Explore the data behind the score.
1. Breakdown View (Primary Focus)
The Breakdown view is the main focus of this proposal.
Instead of displaying only the overall score, this view would explain the individual factors contributing to the repository's health score.
Proposed Information
- Individual health categories.
- Component scores.
- Contribution or weight, if supported by the scoring system.
- Visual indicators.
- Short explanations of each category.
Example Categories
- Activity Health
- Issue Health
- Pull Request Health
- Contributor Health
- Maintenance
The categories should be based on the actual scoring system used by the project.
UI Reference
The proposed design shows how users can understand the factors contributing to the overall repository health score.
Why This Matters
A user should be able to answer:
Why does this repository have a health score of 71?
The Breakdown view should provide that explanation without requiring users to inspect multiple separate sections.
2. Recommendations View
The Recommendations view would provide actionable suggestions based on the repository's available health metrics.
Example Recommendations
- Review stale issues.
- Address long-running pull requests.
- Improve repository documentation.
- Review maintenance-related gaps.
Recommendations should be based on actual repository data and clearly defined rules.
UI Reference
The proposed design shows how improvement suggestions could be presented in a dedicated view.
3. Raw Metrics View
The Raw Metrics view would show the underlying repository metrics used in the health score calculation.
Example Metrics
Activity
- Commit activity.
- Recent development activity.
Issues
- Open issues.
- Closed issues.
- Stale issues.
Pull Requests
- Open pull requests.
- Merged pull requests.
- Long-running pull requests.
Contributors
- Contributor statistics.
- Active contributors, if available.
Maintenance
- Repository documentation checks.
- License availability, if used by the scoring system.
The final metrics should be based on the data actually used by the existing scoring implementation.
UI Reference
The proposed design shows how users could inspect the data behind the health score.
4. User Interaction Flow
The proposed interaction would work as follows:
- User opens the Repository Explorer.
- User clicks on a repository's health score.
- A health details side panel opens.
- The Breakdown view is displayed by default.
- User can switch between Breakdown, Recommendations, and Raw Metrics.
- User can understand the score and explore its supporting information.
Complete UI Reference
This screenshot demonstrates the proposed health score interaction and details panel.
5. Technical Considerations
This proposal focuses on improving how users explore and understand health score information. It does not propose creating a separate scoring system.
Before implementation, the existing health score calculation and data flow should be investigated.
Proposed Technical Approach
- Reuse the existing health score calculation and repository data.
- Identify whether component-level scores and weights are already available.
- Avoid duplicating scoring logic inside the UI.
- Ensure the displayed Breakdown is consistent with the actual overall score.
- Handle missing metrics, loading states, and errors.
- Add appropriate tests for the new functionality.
If the current scoring implementation only returns an overall score, it may need to expose additional component-level information for the Breakdown view.
The implementation should follow the existing project architecture and design system.
6. Scope and Priority
Primary Focus: Breakdown
The initial focus would be the interactive Breakdown view:
- Clickable repository health score.
- Health details side panel.
- Component-level score information.
- Explanation of factors contributing to the score.
Supporting Views
- Recommendations.
- Raw Metrics.
These supporting views can be implemented based on available data, project requirements, and maintainer feedback.
7. Relationship to Existing Health Scorecard Work
I understand that Issue #222 proposes a Repository Health & Risk Scorecard.
This proposal focuses on the interactive user experience for exploring an individual repository's health score within the Repository Explorer.
The intention is to complement the existing scoring work by providing a clear way for users to understand the score and inspect its supporting information.
The proposed UI and implementation scope can be adjusted to align with the existing health score architecture.
8. Expected Outcome
The proposed feature would help users move from:
Overall Score → Breakdown → Supporting Metrics → Potential Improvements
This would make repository health scores easier to understand and provide users with more context about the factors affecting repository health.
Questions for Maintainers
- Does the existing health score implementation expose the data required for a detailed Breakdown view?
- Can this interaction be integrated into the current Repository Explorer?
- Which component-level scores and metrics are currently available?
- Would this be suitable as a complementary enhancement to the existing health scorecard work?
Additional Context
No response
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- 主要言語
- JavaScript
- スター
- 45
- フォーク
- 148
- 平均マージ
- 5日 14時間
- マージ済み PR(30日)
- 30
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/OrgExplorer のほかの issue
-
[BUG]: Overview "Language Distribution" percentages are relative to the top-7 languages, not all repos対応中かも @Rohit270406 が 2 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AOSSIE-Org/OrgExplorer#402 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
[BUG]: "Delete" PAT button is gated on the input field, so a saved token can't be removed when the field is empty対応中かも @riyanshbhosale が 1 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
AOSSIE-Org/OrgExplorer#401 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
[BUG]: Overview wrongly lists a successfully-loaded org as "could not be loaded" (case / duplicate)対応中かも @dhruvbit が 2 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/OrgExplorer#400 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AOSSIE-Org/OrgExplorer#399 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
[BUG]: Governance "Issue Resolution Rate" counts pull requests as issues対応中かも @amangupta-12 が 1 日前に担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
AOSSIE-Org/OrgExplorer#398 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
AOSSIE-Org/OrgExplorer の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
bigcapitalhq/bigcapital#1544 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
help wanted kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
meshery/meshery.io#3112 ·
メンテナーはふだん 2 日以内に返信
-
area:docs type:chore
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
bulkhead-labs/tailsuite#31 ·
-
dependencies javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
gems-uff/noworkflow#470 ·
メンテナーはふだん 3 日以内に返信
-
product / auth product / console product / sites product / storage
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信