Repository navigation
test: pin HilbertSNR + soft S/N adapt images through NumPy, vmap and jit - #374
Merged
Merged
Conversation
…and jit New imaging/jax_likelihood/hilbert_snr.py (in the smoke list): the default adaptive set-up of the workspaces, with the figure of merit pinned and JAX checked against NumPy. Existing Hilbert pins unchanged (autolens_workspace#693). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 3a of making the adapt-mesh-weighting result the default everywhere (PyAutoLabs/autolens_workspace#693; library PRs merged: PyAutoLabs/PyAutoArray#717, #718, PyAutoLabs/PyAutoGalaxy#763, PyAutoLabs/PyAutoLens#897). New
scripts/imaging/jax_likelihood/hilbert_snr.py(added tosmoke_tests.txt):HilbertSNR(pixels=200, edge_pixels=30)drawn from the S/N map,al.soft_snr_maps_fromadapt images, short"source"key,AdaptSplit. Pins the NumPy figure of merit (-443.73145939) and checks JAX vmap (figure of merit) andjax.jit(fit_from)(log likelihood, rtol 1e-8) against NumPy. The 15 existingHilbertscripts and their pins are unchanged.Release-gated: uses
HilbertSNR/AdaptImages.from_result/soft_snr_maps_from, merged to the libraries'mainbut not yet released to PyPI. Do not merge until a release carries PyAutoArray, PyAutoGalaxy and PyAutoLens with those PRs.API Changes
None — workspace content only.
Test Plan
hilbert_snr.pypasses: NumPy log evidence -443.7314594, vmap -443.7314494, jit log likelihood equals NumPy (301.6181047)..github/scripts/run_smoke.py) on this branch against librarymain: 41 passed, 0 failed.Heart
Scoped dev readiness (
--repos HowToLens,HowToGalaxy,autolens_workspace_test,autogalaxy_workspace_test) is GREEN. Shown, non-blocking:release validation FAILED (stage integrate)(red),workspace validation not passing (2 failed, 1 timeout, cloud#45815945322: ...)(yellow). The human authorized a development-only Heart RED override for this task ("Override for phase 3"); the scoped gate was GREEN, so it was not needed. Heart remains RED for release purposes.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code