Skip to content

fix: point_source/start_here composes PointSolved, matching its own prose - #461

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/release-validate-correctives
Aug 3, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/release-validate-correctives

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Release-validation corrective. Blocks the current release.

The bug

#453 switched this example to the solved-centre default but updated only one of the two model blocks in scripts/point_source/start_here.py. The prose at the top says:

The source is composed as al.ps.PointSolved ... This is the recommended default

while the code twelve lines below still built af.Model(al.ps.Point). The identical block later in the same file was updated. Prose and code contradicted each other.

Since PyAutoLens#686 made the solved all-to-all pairing the default, that stale line raises at fit time:

PointProfileMismatchException: The point-source profile paired to dataset
'point_0' (Point) has a `centre` attribute, so its free-centre priors would be
sampled by the non-linear search but silently ignored by
FitPositionsImagePairAllSolved ... Use a parameter-free profile
(e.g. ag.ps.PointSolved) with FitPositionsImagePairAllSolved

Evidence it is a regression

Run scripts/point_source/start_here.py
30788224561 (pre-#686) passed — 40.4s
30842349506 (post-#686) failed — 4.5s

Failing in 4.5s rather than 40s is the early raise, not a timeout. Reproduced locally under the release env profile built from config/build/profile_release.yaml, giving the traceback above.

Change

One line — af.Model(al.ps.Point) → af.Model(al.ps.PointSolved) — plus the regenerated notebooks/point_source/start_here.ipynb. Regeneration touched only that notebook; llms-full.txt and workspace_index.json are unchanged.

🤖 Generated with Claude Code

…rose (#678)

#453 switched this example to the solved-centre default but updated only one of
the two model blocks. The prose at the top says "The source is composed as
`al.ps.PointSolved` ... This is the recommended default", while the code twelve
lines below still built `af.Model(al.ps.Point)`; the identical block later in
the same file was updated correctly.

Since PyAutoLens#686 made the solved all-to-all pairing the default, that stale
line raises at fit time:

  PointProfileMismatchException: The point-source profile paired to dataset
  'point_0' (Point) has a `centre` attribute ... Use a parameter-free profile
  (e.g. ag.ps.PointSolved) with FitPositionsImagePairAllSolved

This failed release-validation run 30842349506 (autolens/point_source), having
passed in 40.4s in the prior run 30788224561 — a regression introduced between
them, reproduced locally under the release env profile.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 456007a into main Aug 3, 2026
6 of 8 checks passed
@Jammy2211
Jammy2211 deleted the feature/release-validate-correctives branch August 3, 2026 21:41
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