Skip to content
Edit this page

Project Measurement and Metrics

Following Practical Software Measurement and ISO/IEC 15939, this page tracks commit velocity, code churn, and contributor workload across repository history.

Measurement scope and filters

Measurements cover repository commits starting on 2026-12-02 through HEAD:

Contributor Visual Identifier Graph Series Commit History
BeyondMagic avatar BeyondMagic #e91e63 Series 1 (Pink) View Commits
github-actions[bot] avatar github-actions[bot] #2563eb Series 2 (Blue) View Commits

Code activity and churn

These charts track weekly commit counts and line volume changes across milestones.

Commit velocity

Counts commits submitted per contributor per ISO week.

%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#e91e63, #2563eb"}}}}%%
xychart-beta
    title "Commits per Contributor over Timeline"
    x-axis ["2026-W49", "2026-W50", "2026-W51"]
    y-axis "Commits" 0 --> 20
    line [14, 0, 0]
    line [6, 0, 0]

Code additions

Tracks lines added per author across commits.

%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#e91e63, #2563eb"}}}}%%
xychart-beta
    title "Lines Added per Contributor over Timeline"
    x-axis ["2026-W49", "2026-W50", "2026-W51"]
    y-axis "Lines Added" 0 --> 23600
    line [23492, 0, 0]
    line [52, 0, 0]

Code deletions

Tracks lines removed per author to measure refactoring and cleanup.

%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#e91e63, #2563eb"}}}}%%
xychart-beta
    title "Lines Removed per Contributor over Timeline"
    x-axis ["2026-W49", "2026-W50", "2026-W51"]
    y-axis "Lines Removed" 0 --> 1200
    line [1173, 0, 0]
    line [52, 0, 0]

Workload and responsibility

This chart counts open and closed GitHub issues assigned to each contributor.

Assigned issues by contributor

Displays active and closed issue counts per contributor.

%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#e91e63, #2563eb"}}}}%%
xychart-beta
    title "Issues Assigned per Contributor"
    x-axis ["BeyondMagic", "github-actions[bot]"]
    y-axis "Issues" 0 --> 5
    bar [0, 0]
    bar [0, 0]

Automation strategy

GitHub Actions regenerates all Mermaid snippets under documentation/snippets/management/ via .github/scripts/update_metrics.py:

  1. Git history extraction parses git log --numstat to aggregate weekly commit counts and line diffs per author.
  2. A deterministic color map binds each tracked handle to a fixed hex color across every chart.
  3. On pushes to master or main and manual dispatch, .github/workflows/metrics.yml runs the script and commits updated snippets.