Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/data-processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
# Install R packages for contributor analysis and visualization
#========================================
- name: Install tenzing R dependencies
run: Rscript -e 'install.packages(c("rmarkdown","ggplot2", "readxl", "dplyr", "googlesheets4", "stringr", "gridExtra", "glue", "tidygraph", "ggraph", "igraph", "visNetwork"))'
run: Rscript -e 'install.packages(c("rmarkdown", "ggplot2", "dplyr", "tidyr", "readr", "googlesheets4", "stringr", "here", "sysfonts", "showtext", "treemapify", "igraph", "visNetwork"))'

#==============================
# Contributor Analysis (Monthly)
Expand All @@ -124,7 +124,7 @@ jobs:

# Clean old files from content/contributor-analysis and partials
rm -rf content/contributor-analysis/*.png content/contributor-analysis/*.html content/contributor-analysis/htmlwidgets_libs
rm -f layouts/partials/network-graph.html
rm -f static/partials/network-graph.html

# Run index.Rmd to generate contributor analysis content and plots
echo "📊 Rendering contributor analysis..."
Expand All @@ -134,9 +134,9 @@ jobs:
echo "🕸️ Rendering network visualization..."
Rscript -e "rmarkdown::render('content/contributor-analysis/network-graph.Rmd')"

# Move generated HTML file to layouts/partials
echo "📁 Moving network graph to partials..."
mv content/contributor-analysis/network-graph.html layouts/partials/
# Move generated HTML file to static/partials (served via iframe)
echo "📁 Moving network graph to static/partials..."
mv content/contributor-analysis/network-graph.html static/partials/
Comment on lines 129 to 139
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The contributor analysis now reads from scripts/forrt_contribs/contributors_cache.csv (generated by tenzing.py), but this workflow renders index.Rmd/network-graph.Rmd before running the Tenzing script. That means the monthly report will use a stale cache (from the repo) instead of the freshly generated data for that run. Reorder the workflow so tenzing.py runs (and updates contributors_cache.csv) before rendering the contributor-analysis Rmd files, at least for the monthly path.

Copilot uses AI. Check for mistakes.

# Clean up HTML artifacts from index.md if any
sed -i.bak -e '/^```{=html}$/d' -e '/^```$/d' content/contributor-analysis/index.md && rm content/contributor-analysis/index.md.bak
Expand Down Expand Up @@ -359,6 +359,7 @@ jobs:
content/glossary/
data/
static/data/
static/partials/
content/contributor-analysis/
content/publications/citation_chart.webp
retention-days: 7
Expand Down
290 changes: 133 additions & 157 deletions content/contributor-analysis/index.Rmd

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions content/contributor-analysis/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ title: "FORRT Contributor Analyses"
always_allow_html: true
output:
md_document:
variant: markdown_github
variant: gfm
preserve_yaml: true
toc: false
type: contributors_analysis
---

As of 14 September 2025, FORRT has a total of 91 completed or ongoing
projects and support teams, with a total of 587 contributors. There is
an average (mean) of 2.45 contributions per person across all FORRT
projects, and the average number of contributors per project is 15.54.
You can see the full list of FORRT contributors and their individual
As of 12 February 2026, FORRT has a total of 98 completed or ongoing
projects and support teams, with a total of 627 contributors. There is
an average (mean) of 2.4 contributions per person across all FORRT
projects, and the average number of contributors per project is 15. You
can see the full list of FORRT contributors and their individual
contributions [here](https://forrt.org/contributors/).

<img src="projects-plot-1.png" alt="Bar chart of contributors per project" />

<img src="treemap-plot-1.png" alt="Treemap of number of projects per contributor" />

<img src="roles-plot-1.png" alt="Bar chart of contributions by Tenzing role" />
Loading