mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-16 14:42:29 -05:00
[GH-ISSUE #1532] fix(ci): codespell flags valid technical terms -- add .codespellrc ignore list #16313
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Shashank-Tripathi-07 on GitHub (Apr 25, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1532
Problem
The
Check for spelling errorsCI check has been failing on every PR becausecodespellhas no ignore list configured. It flags legitimate technical terms used throughout the codebase as misspellings:Closslides/vol2/03_network_fabrics/FPRslides/vol1/15_responsible_engr/,slides/vol2/16_responsible_ai/RinREADME.mdCurrenREADME.mdfinalYsocratiq/src_shadow/js/foundInsocratiq/src_shadow/js/anssocratiq/src_shadow/js/extit\textittruncated in sourceslides/targetinsocratiq/src_shadow/js/Fix
Add a
.codespellrcat the repo root:The
socratiq/src_shadow/directory contains vendored/compiled JS and should be skipped entirely. The remaining false positives (Clos,FPR,Rin,ans) are genuine domain terms that should be whitelisted.Impact
This check has been failing on every merged PR (e.g. #1527, #1526, #1525) without blocking merges, meaning it provides no signal. Adding the ignore list will make the check meaningful again.
@profvjreddi commented on GitHub (Apr 25, 2026):
Awesome, thanks @Shashank-Tripathi-07 - yea definitely need to fix it. I was going to make a full sweeping pass on it later today.