Repository navigation
DOC fix split MaxNormLinear reference URLs and moved SAELens links - #1560
Merged
bruAristimunha merged 1 commit intoNov 10, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1560 +/- ##
=======================================
Coverage 91.53% 91.53%
=======================================
Files 171 171
Lines 22580 22580
=======================================
Hits 20669 20669
Misses 1911 1911 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes three links in the docs that point to the wrong place.
Changes
braindecode/modules/linear.py: references [2] and [3] ofMaxNormLineareach split their URL across two docstring lines. Sphinx renders only the first half as the link, so on the API page the PyTorch forum reference goes to.../how-to-correctly-implement-in-place(404), and the TensorFlow reference goes to thetf.keras.constraintsindex instead ofMaxNorm. Each URL is now on one line. Ruff's E501 skips lines that end in a URL, so the line-length check still passes.examples/advanced_training/plot_sae_reve.pyandplot_sae_activation_analysis.py: the SAELens docs moved fromjbloomaus.github.io/SAELens/(404) todecoderesearch.github.io/SAELens/(200), along with the repo, which both examples already link atgithub.com/decoderesearch/SAELens.docs/whats_new.rst: a Bug fixes entry, plus my name in the author list.Testing
ruff check --select=E,W,F,I,D braindecode/modules/linear.py(ruff 0.14.9, as in pre-commit): the same 5 existing D1xx/D413 findings as on master, and nothing new.ruff checkandruff format --checkpass on all three changed Python files.codespellon the added lines: clean.curl, run twice: the two full URLs and the new SAELens URL return 200, and the old SAELens URL and the truncated forum URL return 404.
No code or tests change, so the test suite wasn't run. Docs weren't built locally.
New or changed behavior is covered by relevant regression tests (or N/A with reason): N/A, links only
Style checks recorded, e.g.
pre-commit run --files <changed files>: ruff and codespell abovedocs/whats_new.rstupdated (required by the changelog CI check)Notes for reviewers
The same scan found one dead link I left alone, because the fix is yours to choose:
braindecode/models/eeginception_erp.py:161citesgithub.com/Grifcc/EEG/. That repo is gone and the Wayback Machine has no copy.I drafted this with help from an AI assistant.