Skip to content

test: pin lazy_sparse_operator off on the interferometer mapping reference fit (R6) - #373

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/likelihood-lifecycle-r6-default-auto
Nov 26, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/likelihood-lifecycle-r6-default-auto

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Part of PyAutoLabs/PyAutoGalaxy#759 (likelihood-lifecycle ruling R6: flip the defaults after the 2026.11.25.1 opt-in release). Same branch feature/likelihood-lifecycle-r6-default-auto in PyAutoArray, PyAutoFit, PyAutoGalaxy, PyAutoLens and autolens_workspace_test. Merge order: Array → Fit → Galaxy → Lens → autolens_workspace_test.

scripts/misc/jax_assertions/fit_interferometer_sparse_operator.py compares the mapping-matrix route with the sparse-operator route. With the R6 default lazy_sparse_operator: "auto", the "un-operated" reference fit builds the sparse operator itself, so the script failed its routing assertion (and would otherwise compare the sparse path with itself). The reference fit now passes al.Settings(..., lazy_sparse_operator="off").

Merge after the library PRs (PyAutoArray/PyAutoFit/PyAutoGalaxy/PyAutoLens on the same branch): lazy_sparse_operator is not an al.Settings argument on released libraries before them.

Test Plan

  • Script passes against the branch libraries (PYAUTO_TEST_MODE=1): all assertions passed, max relative errors ≤ 1.4e-6
  • Was the only failure in pyauto-heart smoke --affected-by PyAutoFit against the task worktree

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

…rence fit (R6)

Part of PyAutoLabs/PyAutoGalaxy#759.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 6a2e17d into main Nov 26, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/likelihood-lifecycle-r6-default-auto branch November 26, 2026 09:46
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