Skip to content

Improve code credit workflow - #14120

Merged
larsoner merged 3 commits into
mne-tools:mainfrom
larsoner:credit-refactor
Aug 4, 2026
Merged

Improve code credit workflow#14120
larsoner merged 3 commits into
mne-tools:mainfrom
larsoner:credit-refactor

Conversation

@larsoner

@larsoner larsoner commented Aug 2, 2026

Copy link
Copy Markdown
Member

Our code credit attribution code should be cleaner, and the process should be better (see #14119 (comment)). I worked with Claude Fable 5 to clean it up. Plan:

  1. Merge this
  2. Close MAINT: Update code credit #14119
  3. Workflow-dispatch a new credit job, which opens a new PR
  4. Run the credit-JSON-backfill code to fill in names in old JSONs
  5. Remove temporary sphinx workarounds here for those missing names

Then in the future, these credit PRs should be much simpler: names are routed through .mailmap like in sympy, and the PR when it's opened already has best-guess names in it, and we just need to spot-check and merge.

@@ -0,0 +1,53 @@
"""Backfill GitHub logins and noreply emails in doc/sphinxext/prs/*.json.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

FYI this file is temporary, and will just be used to backfill old .json files as needed. Future files will get filled in by the dev script as needed automatically.

@larsoner

larsoner commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

Okay let's see if this works 🤞

@larsoner
larsoner merged commit 49bd32b into mne-tools:main Aug 4, 2026
29 checks passed
@larsoner
larsoner deleted the credit-refactor branch August 4, 2026 12:26
larsoner added a commit to larsoner/mne-python that referenced this pull request Aug 4, 2026
* upstream/main: (35 commits)
  Fix bug with coreg scaling (mne-tools#14132)
  MAINT: Update code credit (mne-tools#14131)
  Fix bugs with dark mode panels (mne-tools#14109)
  Improve code credit workflow (mne-tools#14120)
  Align _AbstractRenderer.tube with the PyVista implementation (mne-tools#14125)
  Assign instead of compare when marking explicit zeros in spatio_temporal_dist_adjacency (mne-tools#14124)
  MAINT: Update pre-commit hook versions (mne-tools#14122)
  MAINT: Update dependency specifiers (mne-tools#14121)
  fix: correct typo in comment (mne-tools#14117)
  [dependabot]: Bump the actions group with 2 updates (mne-tools#14123)
  Fix` read_raw_eyelink()` failure when recording blocks are empty or starting with empty values (mne-tools#13571)
  ENH: Add `event_key` parameter to `read_raw_egi` for MFF event metadata (mne-tools#14086)
  fix for scipy sparse deprecations (mne-tools#14118)
  Fix notch spectrum fit (mne-tools#14116)
  Speed up notch filter spectrum fit (mne-tools#14114)
  fix MNE-RT links and update roadmap (mne-tools#14096)
  Clarify `docdict["filter_length_notch"]` (mne-tools#14113)
  Refactor test_plot_alignment_basic() (mne-tools#13472)
  BUG: Cleanup cHPI filtering using smooth interpolation (mne-tools#14112)
  Use redirector app (mne-tools#14111)
  ...

# Conflicts:
#	mne/tests/test_filter.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant