Skip to content

Fix backend meshgrid and JPDAF warning handling#2179

Merged
FlorianPfaff merged 3 commits into
mainfrom
codex/pyrecest-backend-jpdaf-bugfixes-20260523-0738
May 23, 2026
Merged

Fix backend meshgrid and JPDAF warning handling#2179
FlorianPfaff merged 3 commits into
mainfrom
codex/pyrecest-backend-jpdaf-bugfixes-20260523-0738

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • coerce backend meshgrid axes for stricter JAX/PyTorch backends
  • harden wrapped-normal and hypertoroidal wrapped-normal query/shift handling
  • use Python built-in any for JPDAF warning checks while preserving backend array checks

Validation

  • git diff --check
  • rg -n "<<<<<<<|=======|>>>>>>>" src tests
  • python -m py_compile src/pyrecest/_backend/__init__.py src/pyrecest/distributions/circle/wrapped_normal_distribution.py src/pyrecest/distributions/hypertorus/hypertoroidal_wrapped_normal_distribution.py src/pyrecest/filters/joint_probabilistic_data_association_filter.py tests/distributions/test_hypertoroidal_wrapped_normal_distribution.py tests/distributions/test_wrapped_normal_distribution.py tests/filters/test_joint_probabilistic_data_association_filter.py tests/test_backend_meshgrid_contract.py

Per request, I did not run the test suite.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 23, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 35.3s
✅ PYTHON black 10 2 0 0 2.37s
✅ PYTHON isort 10 3 0 0 0.57s
✅ REPOSITORY checkov yes no no 31.73s
✅ REPOSITORY gitleaks yes no no 16.84s
✅ REPOSITORY git_diff yes no no 0.06s
✅ REPOSITORY secretlint yes no no 13.9s
✅ REPOSITORY syft yes no no 2.24s
✅ REPOSITORY trivy-sbom yes no no 3.73s
✅ REPOSITORY trufflehog yes no no 22.77s

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 force-pushed the codex/pyrecest-backend-jpdaf-bugfixes-20260523-0738 branch from 28c4550 to 3d95675 Compare May 23, 2026 05:44
@FlorianPfaff FlorianPfaff merged commit c5f46d3 into main May 23, 2026
41 of 42 checks passed
@FlorianPfaff FlorianPfaff deleted the codex/pyrecest-backend-jpdaf-bugfixes-20260523-0738 branch May 23, 2026 07:24
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