Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Rename "health" references in code and HTML to neutral "activity trends" language

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html, javascript, python
Ambito
full-stack

Direzione di ricerca

Start with health.py and its compute_project_health() function, then trace the related references in site/index.html and site/project.html. Rename the writer, HTML IDs and classes, JavaScript variables, and project_health.json consistently; done means the Python writer and HTML fetchers use the new activity-trends names without remaining health references.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

The docs and user-visible HTML headings have been updated to use "Activity Trends" instead of "Health" — the word "health" implies a judgment call, but we're just measuring metrics and trends.

However, there are still internal references to "health" in:

Python code
  • health.py filename and module
  • compute_project_health() function name
  • Output file: project_health.json
HTML/JS (element IDs and variable names)
  • site/index.html: element IDs like health-title, health-window, health-methodology, health-method-detail, CSS classes like health-ml-header, health-git-header
  • site/index.html: JS variables healthData, healthResp, healthErr, function fillHealthTable()
  • site/project.html: fetches data/_cache/project_health.json
Proposed renames
  • health.py → trends.py (or activity_trends.py)
  • compute_project_health() → compute_activity_trends()
  • project_health.json → activity_trends.json (needs coordinated update in HTML fetchers)
  • HTML element IDs: health-* → trends-*
  • JS variables: healthData → trendData, etc.

This is a coordinated rename — the JSON filename change means both the Python writer and the JS readers need to update together.

Lingua principale
Python
Stelle
1
Fork
2
Merge medio
9h 37m
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/comdev-metrics

Tutte le issue di apache/comdev-metrics

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.