You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@community.apache.org by "rbowen (via GitHub)" <gi...@apache.org> on 2026/09/17 16:57:27 UTC

[I] Rename "health" references in code and HTML to neutral "activity trends" language [comdev-metrics]

rbowen opened a new issue, #5:
URL: https://github.com/apache/comdev-metrics/issues/5

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@community.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org