Skip to content

Add impact numbers + agentic/software directions to home page - #32

Merged
mdenolle merged 3 commits into
gh-pagesfrom
add-impact-numbers
Nov 5, 2026
Merged

mdenolle merged 3 commits into
gh-pagesfrom
add-impact-numbers

Conversation

@mdenolle

Copy link
Copy Markdown
Member

What this adds

A data-driven impact strip on the home page plus the new agentic-research / digital-twin directions and an open-source software philosophy note.

Home page

  • Impact strip (replaces the hardcoded 80/12/4 bar): Citations · h-index · Publications · Team · GitHub Stars · Merged PRs · Open Repos, with the existing count-up animation and a source caption.
  • Recent papers list rendered live from publist.yml.
  • Copy: agentic scientific research + physics-grounded digital twins (Gaia HazLab, AgentSeismo, Gaia multi-agent, FrugalMind), and a software note featuring CodaMeter.

Data + automation

  • scripts/build_impact.py — stdlib-only generator. Citations/h-index from OpenAlex (author A5027819799); stars/forks/repos/merged-PRs/contributors from GitHub REST/Search across Denolle-Lab, gaia-hazlab, mdenolle. Writes _data/impact.yml; keeps previous values if a source is down.
  • .github/workflows/impact-sync.yml — monthly (1st, 06:00 UTC) + on-demand; regenerates the data and opens a refresh PR, mirroring the publications-sync workflow.

Notes

  • Citations (3,112) / h-index (24) currently reflect Marine's OpenAlex works. Add members' IDs to OPENALEX_AUTHOR_IDS to make it a true group aggregate.
  • Publications (68) intentionally uses the curated publist.yml, not OpenAlex's 249.
  • The monthly Action needs "Allow GitHub Actions to create and approve pull requests" enabled.

🤖 Generated with Claude Code

- Data-driven impact strip (citations, h-index, GitHub stars/PRs/repos)
  replacing the hardcoded stats bar; numbers from _data/impact.yml
- scripts/build_impact.py: stdlib-only generator pulling OpenAlex
  (citations/h-index) + GitHub REST/Search (stars/forks/repos/PRs/
  contributors) across Denolle-Lab, gaia-hazlab, mdenolle
- Monthly impact-sync GitHub Action opens a PR to refresh the data
- Recent-papers list rendered live from publist.yml
- Home-page copy: agentic research + digital-twin directions and an
  open-source software philosophy note (CodaMeter example)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 16, 2026 10:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds an automated, data-driven “impact strip” and a live “Recent papers” section to the Jekyll home page, backed by a stdlib-only Python generator and a scheduled GitHub Actions workflow that refreshes _data/impact.yml via PR.

Changes:

  • Add scripts/build_impact.py to generate _data/impact.yml from OpenAlex + GitHub APIs with fallback behavior.
  • Add .github/workflows/impact-sync.yml to refresh impact numbers monthly and via manual dispatch by opening a PR.
  • Update the home page layout/content to render the new impact/recent-papers UI via _includes/impact_stats.html.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
scripts/build_impact.py New generator for _data/impact.yml (OpenAlex + GitHub aggregation).
.github/workflows/impact-sync.yml Scheduled + manual workflow to regenerate impact data and open a PR.
_pages/home.md Adds new “agentic research / digital twin” and software direction copy.
_layouts/homelay.html Replaces hardcoded stats bar with {% include impact_stats.html %}.
_includes/impact_stats.html New impact strip + recent papers rendering from _data/impact.yml and publist.yml.
_data/impact.yml New generated impact data committed to the repo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/build_impact.py
Comment on lines +233 to +236
k, _, v = line.partition(":")
v = v.strip().strip('"')
if k in ("citations", "publications", "h_index"):
prev[k] = int(v)
Comment thread scripts/build_impact.py Outdated
Comment on lines +244 to +262
today = date.today().isoformat()
data = {
"updated": today,
"citations": prev.get("citations", 0),
"publications": prev.get("publications", 0),
"h_index": prev.get("h_index", 0),
"github": prev.get("github", {}) or {},
}

try:
data.update(openalex_metrics(OPENALEX_AUTHOR_IDS))
print(f"OpenAlex: {data['citations']} citations, "
f"{data['publications']} works, h={data['h_index']}")
except Exception as e: # noqa: BLE001
print(f"WARN OpenAlex failed, keeping previous values: {e}", file=sys.stderr)

try:
data["github"] = github_metrics(GITHUB_SCOPES)
print(f"GitHub: {data['github']}")
Comment thread scripts/build_impact.py Resolved
Comment thread _data/impact.yml Resolved
Comment on lines +71 to +74
<li>
<a href="{{ p.url | default: p.doi }}" target="_blank" rel="noopener">{{ p.title }}</a>
<span class="rp-meta">{{ p.authors | truncatewords: 12 }}{% if p.journal %} · <em>{{ p.journal | split: "," | first }}</em>{% endif %}{% if p.year %} · {{ p.year }}{% endif %}</span>
</li>
mdenolle and others added 2 commits November 4, 2026 12:30
- Add Charlotte Parry (undergraduate) and Sangwoo Han (postdoc,
  Paros Geohazards Center) with their own text and photos
- Maleen Kidiwela now Postdoctoral Researcher; Alex Rose incoming
  graduate student
- Move Yiyu Ni, Lydia Kelley, Hiroto Bito to _data/former_members.yml
  and a new /alumni/ page
- Collaborators list on /people/ from _data/collaborators.yml
- Flex member grid and alumni/collaborator styles in custom.css

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- build_impact.py: read the previous `updated` date and only move it
  when OpenAlex or GitHub actually answered
- Drop the OpenAlex `publications` key (249 works) from the generator
  and _data/impact.yml; the home page counts curated publist.yml (68)
- Recent papers: link url, else https://doi.org/<doi> for a bare DOI,
  else render the title unlinked (no more href="XX")

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mdenolle
mdenolle merged commit 0605932 into gh-pages Nov 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants