Skip to content

docs: log Codacy backlog real numbers to tech-debt - #34

Merged
petercorke merged 3 commits into
mainfrom
docs/log-codacy-backlog
Aug 2, 2026
Merged

docs: log Codacy backlog real numbers to tech-debt#34
petercorke merged 3 commits into
mainfrom
docs/log-codacy-backlog

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

No code changes — tech-debt.md only.

Raised 2026-07-29 when comparing Codacy's 443-issue dashboard against
the mixin-hygiene work happening the same day -- only the bare-except
finding genuinely overlapped (since fixed). Logging the real numbers
now instead of re-deriving them from scratch later.

Reproduced with `ruff check --select F` against clean origin/main:
883 hits, categorized (F405 469, F401 240, F841 49, F403 47, F811 43,
F821 29, F541 6). Confirmed Codacy's Python engine is Prospector
(Pylint+Pyflakes+Bandit+pycodestyle+pydocstyle+mccabe) via the
dashboard's own docs tab and Pylint/Bandit-style pattern names.

Called out the 29 F821 (undefined name) hits specifically -- a
real-bug class, not style, since an undefined name raises NameError if
that code path ever actually executes -- with full locations
(BundleAdjust.py, ImageSpatial.py, VisualServo.py, blocks/camera.py,
tests/test_camera.py) so a future session can triage directly instead
of re-running the sweep.
Concrete instances found while those PRs were in review: type shadows
the builtin at both Histogram.plot's signature (#32) and
_compute_plot_series (#33, copied from plot's signature during
extraction). Deliberately not renamed in either PR -- public API,
needs a real deprecation cycle. Documented the fix path (mirror the
existing bar=/filled= deprecated-alias pattern already used in this
same method) and the sequencing constraint (do it after #32/#33 merge,
not before, to avoid a guaranteed conflict on the same lines).

Also logged 3 more Codacy findings from PR #33's __getitem__
extraction, all pre-existing/already-covered: max as a parameter name
(carried over verbatim from the original nested closure) and two more
F405 star-import-ambiguity hits already covered by the existing F405
entry above.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@petercorke
petercorke merged commit 6cdaa01 into main Aug 2, 2026
16 checks passed
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.

1 participant