Skip to content

Retune quality precision false positives - #87

Merged
alxxjohn merged 9 commits into
mainfrom
fix/naming-precision-followup
Jul 28, 2026
Merged

Retune quality precision false positives#87
alxxjohn merged 9 commits into
mainfrom
fix/naming-precision-followup

Conversation

@alxxjohn

Copy link
Copy Markdown
Contributor

Summary

  • retune UI boolean/cardinality naming precision for inferred UI booleans and common collection names
  • raise multiple-responsibilities threshold only for React/UI boundaries while keeping routes/server functions visible
  • treat local Date/URL/FileReader/Image/canvas/HMAC builders, Object.assign into local patches, and local collection aliases as local mutation
  • allow UI-only command helper names such as confirm/pick/disarm without suppressing server positives

Legal Nest dogfood

  • published v1.3.7 baseline: 2204 findings
  • local branch scan after retune: 1961 findings
  • net: -243 findings
  • biggest movements: boolean-not-predicate -87, multiple-responsibilities -75, hidden-mutation -34, command-query-mix -21, cardinality-mismatch -16

Tests

  • env -u GOROOT GOCACHE=/private/tmp/codeguard-go-cache go test ./tests/checks

@alxxjohn
alxxjohn merged commit 58e7ef6 into main Jul 28, 2026
16 checks passed
@alxxjohn
alxxjohn deleted the fix/naming-precision-followup branch July 28, 2026 21:04
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