Skip to content

feat: clearer COSMOS-Web introductions using source-library plotting - #169

Merged
Jammy2211 merged 7 commits into
mainfrom
feature/cosmos-web-ring-intro-visuals
Oct 29, 2026
Merged

Jammy2211 merged 7 commits into
mainfrom
feature/cosmos-web-ring-intro-visuals

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Make the COSMOS-Web introduction show four panels—image, noise map, signal-to-noise map and PSF—using the configured PyAutoLens colormap, fonts, titles, arcsecond ticks and colorbars. The image stretch reveals the ring beside the bright lens. Greeting guidance and the executed Colab explain the four dataset panels. The notebook presents each introductory figure once and compares two infrared bands.

All plotting customization now lives in the source libraries. The temporary assistant renderer and its notebook embedding are removed. Band comparisons use their native pixel scales (F150W 0.03″; F444W 0.06″). Numerical lens fitting and oversampling remain intact.

Addresses #168.

Upstream PR

Release gate: do not merge this assistant adoption until the three library changes are merged and available in the installed/PyPI stack. The standard notebook uses released-package setup; a separate human-review copy installs exact feature commits. No merge or release is authorized here.

Scripts Changed

  • docs/colab/cosmos_web_ring_colab.py and generated executed notebook: source-library intro API, clear panel explanations, one output per introductory view, and a two-band comparison. Remove the distracting customization section.
  • docs/colab/make_colab_figures.py and three introductory illustrations: standard library rendering. Illustration URLs pinned to commit deba4e4.
  • Greeting/preparation/style skills: four-panel newcomer recipe with ordinary library configuration.
  • autoassistant/to_notebook.py: remove special-case helper embedding; delete duplicated assistant plotting code/tests now covered in Array.

Test Plan

  • Full source-library suites: Array 2,155 passed/69 skipped/4 xfailed; Galaxy 1,442 passed/6 skipped; Lens 998 passed/1 xfailed.
  • Focused shared plotting/export checks: 58 passed.
  • Notebook/greeting/context checks: 24 passed after regeneration, including updated two-band and non-duplicate figure expectations.
  • API audit: 155 symbols, none missing.
  • Complete notebook: 9/9 code cells executed; fit score 3717.19 preserved; rendered figures visually inspected.
  • Human inspection in hosted Colab/Gemini (review copy provided locally).

Broader assistant suite: 255 passed, 1 skipped, 1 xfailed; nine setup errors in the unchanged historical-reference module, which explicitly requires 2026.9.27.2 wheels rather than this runtime's 2026.10.26.1. Those scientific reference pins are unchanged; that suite is not claimed green on this environment.

Development-only Heart override

The human authorized “Authorize development-only shipping for #168”, then approved the library revision and concurrent plotting-only work in PyAutoArray. No merge or release is authorized.

Current Heart RED reasons:

  • PyAutoArray: 4 uncommitted source change(s)
  • PyAutoGalaxy: 9 commit(s) behind origin
  • PyAutoLens: 7 commit(s) behind origin

Additional stale reasons: release validation incomplete: no rehearsal for current source; release push credential check stale (pyautolabs-bot, 49h old).

This change does not repair Heart. Required CI and the library-first release gate remain in force.

Generated by the PyAutoLabs agent workflow.

@Jammy2211 Jammy2211 changed the title feat: clarify COSMOS-Web assistant figures feat: clearer COSMOS-Web introductions using source-library plotting Oct 29, 2026

Copy link
Copy Markdown
Collaborator Author

Human authorized merge and cleanup on 2026-10-29. All 11 source-library CI jobs passed; freeze clear. Confirmed merged in dependency order: PyAutoArray#661 (d59c6dde), PyAutoGalaxy#679 (f8ae3a8c), PyAutoLens#809 (a2320aa8).

This assistant PR remains open and release-gated. At head 3583697, clone-boundary and colab-contexts pass; wiki-currency fails at Run wiki-currency checks: Symbol audit (--scope all) reports missing/broken: 1 against released stack 2026.10.26.1. Verified that release does not expose subplot_imaging_dataset_intro. Saved job log and drift-report artifact locally. No failed check bypassed or rerun; no release attempted.

Next: publish the matched library release through the release workflow, then obtain green assistant CI and run /prm again. Issue/task/worktree retained because the assistant adoption is not merged. No close-out or branch deletion on partial completion.

@Jammy2211
Jammy2211 merged commit 402dabb into main Oct 29, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/cosmos-web-ring-intro-visuals branch October 29, 2026 20:53
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