[BUG] Repository health treats unmeasured signals as zero
Los mantenedores suelen responder en 1 día
@Dhruvdesai793 ya está trabajando en esto.
Desde el 3/12/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 246
- Forks
- 436
- Merge medio
- 9 h 33 min
- PR fusionados (30 d)
- 213
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Priyanshu-byte-coder/devtrack
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Priyanshu-byte-coder/devtrack#4067 ·
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Priyanshu-byte-coder/devtrack#4066 ·
Los mantenedores suelen responder en 1 día
-
Webhook manager: replace the browser confirm() dialogs with ConfirmModalPosiblemente ocupada @Nandaninaulaa la tomó hace 4 días. Abiertogood first issue level 1 level:beginner status:assigned type:design
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Priyanshu-byte-coder/devtrack#3889 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Goals form: square arcade buttons for recurrence, Create goal and RefreshPosiblemente ocupada @KartikeyG-world la tomó hace 4 días. Abiertogood first issue level 1 level:beginner status:assigned type:design
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Priyanshu-byte-coder/devtrack#3877 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Goals: the error banner and the "No goals yet" hint show at the same timePosiblemente ocupada @KartikeyG-world la tomó hace 4 días. Abiertogood first issue level 1 level:beginner status:assigned type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Priyanshu-byte-coder/devtrack#3872 · 6 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de Priyanshu-byte-coder/devtrack
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
makecindy/cindy#15342 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
kwitsch/claude-code-plugin-tooling#219 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
no-repo-link tool-submission
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
BraveOPotato/NoSignups#2618 ·
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100