Skip to content

test: JAX Matern-regularization parity assertion (guards PyAutoArray#386)#70

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/matern-tfp-jax-compat
Jul 13, 2026
Merged

test: JAX Matern-regularization parity assertion (guards PyAutoArray#386)#70
Jammy2211 merged 1 commit into
mainfrom
feature/matern-tfp-jax-compat

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Regression guard for the Matern-kernel JAX crash fixed in PyAutoArray#386 (release-validation run 29266305445). Adds scripts/jax_assertions/matern_regularization.py: builds the MaternKernel regularization matrix with xp=np and xp=jnp (jitted) and asserts parity, exercising the tfp bessel_kve path that was crashing. Covers nu=0.5 and nu=1.7 (nu is a continuous Uniform(0.5,5.5) prior).

Belongs here, not in test_autoarray/ — library unit tests are NumPy-only by convention.

Library-first gate

Merge after PyAutoArray#386 (the dependency-pin fix). Verified passing against that branch.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TDCsgNCXacXqiWAPTswWCt

Regression guard for the release-validation Matern crash (PyAutoArray #385):
np-vs-JAX parity of the Matern regularization matrix (matern_cov_matrix_from +
inv_via_cholesky + MaternKernel.regularization_matrix_from), jitted, at nu=0.5
and nu=1.7 (continuous free prior). Lives in jax_assertions/, not test_autoarray
(library unit tests are NumPy-only).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TDCsgNCXacXqiWAPTswWCt
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 13, 2026
@Jammy2211
Jammy2211 merged commit d35cef1 into main Jul 13, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/matern-tfp-jax-compat branch July 13, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant