Skip to content

Implement JAX positive-definite matrix check#2190

Merged
FlorianPfaff merged 3 commits into
mainfrom
codex/fix-jax-pd-check-20260523
May 23, 2026
Merged

Implement JAX positive-definite matrix check#2190
FlorianPfaff merged 3 commits into
mainfrom
codex/fix-jax-pd-check-20260523

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • implement a JAX-native backend.linalg.is_single_matrix_pd instead of routing it to NotImplementedError
  • remove is_single_matrix_pd from the JAX linalg unsupported-capability metadata
  • add subprocess regression coverage for real, complex Hermitian, indefinite, non-square, and non-Hermitian inputs under the JAX backend

Validation

  • connector compare shows the changes are limited to src/pyrecest/_backend/jax/linalg.py, src/pyrecest/_backend/capabilities.py, and tests/backend_support/test_jax_linalg_contract.py
  • local checkout/test execution was not possible in this sandbox because DNS resolution for github.com fails; PR CI should run the full matrix

@github-actions
Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 26.0s
✅ PYTHON black 3 1 0 0 1.4s
✅ PYTHON isort 3 2 0 0 0.34s
✅ REPOSITORY checkov yes no no 26.51s
✅ REPOSITORY gitleaks yes no no 13.26s
✅ REPOSITORY git_diff yes no no 0.04s
✅ REPOSITORY secretlint yes no no 11.25s
✅ REPOSITORY syft yes no no 1.61s
✅ REPOSITORY trivy-sbom yes no no 2.67s
✅ REPOSITORY trufflehog yes no no 17.12s

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 20b8bbd into main May 23, 2026
26 checks passed
@FlorianPfaff FlorianPfaff deleted the codex/fix-jax-pd-check-20260523 branch May 23, 2026 11:33
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