Skip to content

Fix wrapped-normal input edge cases#2175

Merged
FlorianPfaff merged 4 commits into
mainfrom
codex/wrapped-normal-input-bugfixes-20260523
May 23, 2026
Merged

Fix wrapped-normal input edge cases#2175
FlorianPfaff merged 4 commits into
mainfrom
codex/wrapped-normal-input-bugfixes-20260523

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • normalize hypertoroidal wrapped-normal query points before checking shape, so Python sequences and scalar 1-D queries are accepted consistently
  • coerce hypertoroidal and circular shift() inputs before inspecting .shape
  • stop the circular wrapped-normal JAX PDF loop based on the latest wrapped contribution instead of accumulated density changes
  • add regression tests for sequence/scalar inputs and scalar shifts

Validation

  • connector diff check: branch is 4 commits ahead of main, 0 behind, with changes limited to the two wrapped-normal implementations and their tests

Note: I could not run the full local test suite in this sandbox because direct GitHub checkout failed due DNS resolution, so validation was limited to connector diff inspection.

@FlorianPfaff FlorianPfaff enabled auto-merge (squash) May 23, 2026 05:06
@github-actions
Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 25.89s
✅ PYTHON black 4 1 0 0 1.66s
✅ PYTHON isort 4 1 0 0 0.49s
✅ REPOSITORY checkov yes no no 28.12s
✅ REPOSITORY gitleaks yes no no 9.8s
✅ REPOSITORY git_diff yes no no 0.25s
✅ REPOSITORY secretlint yes no no 9.23s
✅ REPOSITORY syft yes no no 5.42s
✅ REPOSITORY trivy-sbom yes no no 2.83s
✅ REPOSITORY trufflehog yes no no 13.71s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@FlorianPfaff FlorianPfaff merged commit 1451630 into main May 23, 2026
25 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