AOSSIE-Org / AOSSIE-Org/OrgExplorer
[FEATURE]: Automated Health Scorecard & Risk Advisor Dashboard
- 主要語言
- JavaScript
- 星號
- 34
- 分支
- 92
- 平均合併
- 8 天 7 小時
- 30 天內合併 PR
- 12
描述
### Feature and its Use Cases
### What is the feature?
An **Automated Health Scorecard & Risk Advisor** that evaluates an entire GitHub organization and its individual repositories against key open-source sustainability indicators (Bus Factor, Activity Freshness, Community Governance files, and Stale PR/Issue accumulation). It synthesizes existing metrics into an organization-wide **Health Grade (A–F)** and provides maintainers with actionable **Risk Alerts & Remediation Advice**.
### How would users benefit from it?
Organization maintainers, community admins, and GSoC mentors can quickly audit org health at a glance without inspecting individual repos manually. It answers critical maintenance questions:
1. Which repositories are at high risk due to single-maintainer dependency (Bus Factor = 1)?
2. Which active repositories lack essential community standards (`CONTRIBUTING.md`, `LICENSE`, `CODE_OF_CONDUCT`)?
3. Which repos have declining activity or accumulating unreviewed PRs?
### What scenarios would this feature address?
- Preparing open-source organizations for major community events or GSoC applications.
- Identifying single-point-of-failure risks before key maintainers step down or go inactive.
- Tracking health score improvements over time across all repositories.
### Key Capabilities & Components
1. **Organization Health Summary Card**: Aggregate Health Grade (A+, A, B, C, D, F) calculated from normalized repository scores.
2. **Automated Risk Advisor Panel**: Contextual recommendation cards powered by rule engines (e.g. Critical Bus Factor warnings, missing documentation alerts, PR bottleneck flags).
3. **Interactive Health Radar & Filter Table**: Filter repos by risk tier (`High Risk`, `Medium Risk`, `Healthy`).
### Additional Context
### Technical Implementation Guidance
- **Data Services**: Build upon existing calculation functions in `src/services/analytics.js`:
- `computeHealthScore(repo, contributorCount)`
- `computeBusFactor(contributors)`
- `computeActivityClassification(repo)`
- **UI Component Target**: Integrate within `src/pages/GovernancePage.jsx` or as a standalone sub-tab.
### UI Mockup Concept
```
+-----------------------------------------------------------------------+
| 🏥 Org Health Scorecard: 84/100 (Grade: A) |
| [ 2 Critical Risks ] [ 4 Dormant Repos ] [ 12 Healthy Repos ] |
+-----------------------------------------------------------------------+
| 💡 Automated Risk Recommendations |
| • 🔴 High Risk: 'OrgExplorer' bus factor is 1. Invite 1 co-maintainer.|
| • 🟡 Missing Docs: 'repo-b' is missing CONTRIBUTING.md guidelines. |
+-----------------------------------------------------------------------+
```
### Code of Conduct
- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates
貢獻指南
研究方向
Start by reading the existing calculation functions in src/services/analytics.js: computeHealthScore, computeBusFactor, and computeActivityClassification. Then inspect src/pages/GovernancePage.jsx to determine how the scorecard or sub-tab fits the current dashboard. Done means an organization-wide grade, risk recommendations, and a filterable repository health view cover the listed bus-factor, activity, governance-file, and stale-work indicators.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- analytics, frontend
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100