Skip to content

add JET static analysis to test suite - #20

Merged
tobydriscoll merged 1 commit into
masterfrom
add-jet-checks
Jun 30, 2026
Merged

add JET static analysis to test suite#20
tobydriscoll merged 1 commit into
masterfrom
add-jet-checks

Conversation

@tobydriscoll

Copy link
Copy Markdown
Member

Add JET as a test-only dependency and run report_package in an informational (non-blocking) testset, so JET surfaces regressions without failing CI on inference-limitation false positives.

Fix three genuine latent bugs JET caught in untested code paths:

  • Rectangle negation called verices (typo for vertices).
  • discretize(::ExteriorRegion) referenced a nonexistent ConnectedRegion; dispatch to the generic AbstractConnectedRegion method via invoke (ExteriorRegion already has outerboundary == nothing).
  • refine_discretization used z after its while loop without binding it outside the loop body.

Add JET as a test-only dependency and run report_package in an
informational (non-blocking) testset, so JET surfaces regressions
without failing CI on inference-limitation false positives.

Fix three genuine latent bugs JET caught in untested code paths:
- Rectangle negation called `verices` (typo for `vertices`).
- discretize(::ExteriorRegion) referenced a nonexistent
  `ConnectedRegion`; dispatch to the generic AbstractConnectedRegion
  method via invoke (ExteriorRegion already has outerboundary == nothing).
- refine_discretization used `z` after its while loop without binding it
  outside the loop body.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tobydriscoll
tobydriscoll merged commit 959775f into master Jun 30, 2026
5 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