Repository navigation
maintenance: rebuild to the autolens_workspace_test shape; retire legacy/ + imaging_ci/ via Gut (cti-upkeep 3b) - #27
Merged
Conversation
…uling R3) Both trees are pre-resurrection Euclid VIS heritage written against the pre-2025 API and not runnable (139 + 43 files). Recoverable through the transit window from PyAutoGut refs/heads/archive/condemned/autocti-workspace-test-legacy @ 72970e7 (also this repo's history at that SHA); ledger entry in PyAutoMind condemned.md. Refs #26 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…arness (cti-upkeep 3b)
- scripts/{dataset_1d,imaging_ci}/recover_input.py: truth fits noise-free data (chi2 = 0),
offsets are worse, a density likelihood scan peaks at the truth (2D: parallel, serial, both)
- scripts/{dataset_1d,imaging_ci}/remove_cti.py: remove_cti(add_cti(x)) = x, residual shrinks
with iterations; parallel+serial corner plateau (~0.2 e-, row 0 col 29) measured and bounded
- scripts/imaging_ci/cosmic_ray_flagging.py: seeded cosmic rays flagged; the buffered mask covers
every pixel the cosmic rays + CTI trails contaminate (measured by clocking with/without them)
- model_fit.py (1D + 2D): aggregator round trip asserts the database CTI equals the search result
(imaging_ci had no round trip before)
- run_all_scripts.sh, config/build/no_run.yaml, config/build/profile_release.yaml
- smoke_tests.txt 5 -> 10 (every script); AGENTS.md + README describe the design
Every new assertion was checked to fail when its premise is broken.
Refs #26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…NGs are written) 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
Rebuilds autocti_workspace_test to the autolens_workspace_test shape and retires its two pre-resurrection trees through PyAutoGut. Closes #26 (cti-upkeep phase 3b).
imaging_ci/):legacy/(139 files) and the top-levelimaging_ci/(43 files), both Euclid VIS heritage on the pre-2025 API that nothing ran. Recoverable from PyAutoGutrefs/heads/archive/condemned/autocti-workspace-test-legacy@72970e78(this repo's pre-purge main); listed in PyAutoMindcondemned.md(sweep-after 2026-12-06).dataset_1d/recover_input.pyimaging_ci/recover_input.pydataset_1d/remove_cti.pyremove_cti(add_cti(x))is within 0.1% of the 78.8 e⁻ trail (measured 1.3e-5 e⁻); more iterations reduce the residualimaging_ci/remove_cti.pyimaging_ci/cosmic_ray_flagging.py{dataset_1d,imaging_ci}/model_fit.pyimaging_cihad no round trip before; 1D also checks one CTI per dataset.run_all_scripts.sh(from autolens_workspace_test),config/build/no_run.yaml(empty, with the SLOW/NEEDS_FIX conventions),config/build/profile_release.yaml(from autocti_workspace, plus a real-plotting override forplot/subplots.py, which asserts its PNGs exist),smoke_tests.txt5 → 10 (every script),.gitignorefailed/, AGENTS.md and README rewritten for the design.Design change from the plan: the plan had a short real search under
profile_releaserecover the density within 10%. That profile caps the sampler (PYAUTO_TEST_MODE=1), so that check would be flaky. The recover-input scripts instead do a deterministic likelihood scan over density, which recovers the input exactly under every profile. The sampler path stays covered bymodel_fit.py.Findings (recorded in the scripts, not changed here)
Scripts Changed
scripts/dataset_1d/{recover_input,remove_cti}.py,scripts/imaging_ci/{recover_input,remove_cti,cosmic_ray_flagging}.py,run_all_scripts.sh,config/build/{no_run,profile_release}.yamlscripts/{dataset_1d,imaging_ci}/model_fit.py(aggregator assertions),smoke_tests.txt,AGENTS.md,README.md,.gitignorelegacy/(139 files),imaging_ci/(43 files)Upstream PR
None (workspace only; no library change).
Test Plan
profile_smoke: 10/10 passed in 142 sprofile_release: 9/10, thenplot/subplots.pygiven its real-plotting override (7ee8733), re-run passedbash run_all_scripts.sh: no failuresHeart: STALE at ship time for one reason, "release validation incomplete: no rehearsal for current source", acknowledged by the human.
Tier: judge. Merge mode: human
/prm.🤖 Generated with Claude Code