Repository navigation
fix: point_source/start_here composes PointSolved, matching its own prose - #461
Merged
Merged
Conversation
…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>
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.
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: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:
Evidence it is a regression
scripts/point_source/start_here.pyFailing 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 regeneratednotebooks/point_source/start_here.ipynb. Regeneration touched only that notebook;llms-full.txtandworkspace_index.jsonare unchanged.🤖 Generated with Claude Code