Skip to content

docs: Fix typos in docstrings and README - #816

Merged
ValerianRey merged 2 commits into
mainfrom
docs/fix-typos
Oct 7, 2026
Merged

ValerianRey merged 2 commits into
mainfrom
docs/fix-typos

Conversation

@ValerianRey

@ValerianRey ValerianRey commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Fixes 22 typos and small grammar mistakes, found by reading the codebase and running codespell:

  • Public docs: "utilitary" → "utility" (linalg), stray ) and "it's interface" → "its interface" (autogram), "a Dropout layers are" → "Dropout layers are" and "Transformers, which use …, has to be used" → "have to be used" (Engine), "sums of the rows" → "sums the rows" (Sum), "shows train" → "shows how to train" (UW), "diection" → "direction" (SDMGradWeighting, also rewrapped since the line was over 100 characters), missing periods (CRMOGMWeighting, jac_to_grad), and double spaces (AlignedMTL, UPGrad).
  • README: "insteads of" → "instead of".
  • Error message: FairGrad's install hint says "Install them with" (it lists 2 dependencies), like the 3 other hints.
  • Internal docstrings and comments: "to computes" and :params module: (JacobianComputer), "a AutogramNode", "inputs keys" (RequirementError), half_shape + half_shape[::-1] (reshape), the gramian parameter of movedim, and a missing verb in a comment of accumulate_jacs.
  • Skills: "implmentation" → "implementation".

Apart from the wording of the FairGrad error message, nothing changes at runtime. The unit tests, docs build and doctests pass.

🤖 Generated with Claude Code

Fixes 22 typos and small grammar mistakes, found by reading the codebase and
running codespell.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ValerianRey ValerianRey added the cc: docs Conventional commit type for changes to the documentation. label Oct 7, 2026
@github-actions github-actions Bot changed the title Fix typos in docstrings and README docs: Fix typos in docstrings and README Oct 7, 2026
@github-actions github-actions Bot changed the title Fix typos in docstrings and README docs: Fix typos in docstrings and README Oct 7, 2026
@ValerianRey
ValerianRey marked this pull request as ready for review October 7, 2026 16:20
@ValerianRey
ValerianRey enabled auto-merge (squash) October 7, 2026 16:20
@ValerianRey
ValerianRey merged commit 292d15c into main Oct 7, 2026
18 checks passed
@ValerianRey
ValerianRey deleted the docs/fix-typos branch October 7, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: docs Conventional commit type for changes to the documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants