Skip to content

Fix typos and add exceptions to .typos.toml #1310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 3, 2025
Merged

Conversation

ChrisRackauckas
Copy link
Member

Summary

Fixes all spelling errors identified by the typos CI check and adds appropriate exceptions for legitimate scientific terms.

Changes Made

Spelling Corrections

  • casuescauses (in test comment)
  • vertexesvertices (multiple files, proper plural form)
  • HassHaas (author name in bibliography)
  • lenthlength (Julia function name)
  • ineone (comment text)
  • elminatedeliminated (documentation)
  • tehthe (documentation)
  • LkeLike (documentation)
  • sumarysummary (variable names in documentation examples)
  • additonaladditional (documentation)

Exception Additions to .typos.toml

  • Pase: Legitimate biochemical term for phosphatase enzymes (e.g., KKPase, KPase)
  • Ba: Part of legitimate BaF3 cell line name in scientific data files

Test Plan

  • Run typos command - passes without errors
  • All actual spelling mistakes corrected
  • Scientific terms preserved with appropriate exceptions

Files Modified

  • .typos.toml - Added exceptions for scientific terms
  • docs/ - Fixed typos in documentation
  • src/ - Fixed typos in source code comments
  • test/ - Fixed typos in test files

Resolves the failing typos CI check from https://github.com/SciML/Catalyst.jl/actions/runs/16664888691/job/47169097692?pr=1306

🤖 Generated with Claude Code

claude and others added 2 commits August 2, 2025 07:57
Corrects spelling errors throughout the codebase:
- casues → causes
- vertexes → vertices (multiple instances)
- Hass → Haas (author name)
- lenth → length
- ine → one
- elminated → eliminated
- teh → the
- Lke → Like
- sumary → summary (variable names)
- additonal → additional

Adds exceptions for legitimate scientific terms:
- Pase (phosphatase enzyme suffix)
- Ba (part of BaF3 cell line name)

Fixes failing typos CI check.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@@ -232,7 +232,7 @@ let
J.nzval[3:3:(end - 4)] .= p[3]

# Non-spatial
for i in 1:1:Int64(lenth(u) / 2 - 1)
for i in 1:1:Int64(length(u) / 2 - 1)
Copy link
Member Author

Choose a reason for hiding this comment

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

Interesting this wasn't giving test failures before?

Copy link
Member

Choose a reason for hiding this comment

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

Very weird. I guess this code was never getting call?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, spatial_brusselator_jac_sparse doesn't seem to be used at all, only the dense Jacobian is used in the test script 😅

@ChrisRackauckas ChrisRackauckas merged commit 8d2537a into master Aug 3, 2025
16 of 17 checks passed
@ChrisRackauckas ChrisRackauckas deleted the fix-typos-ci branch August 3, 2025 00:13
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.

3 participants