Skip to content

epic: expand autogalaxy_workspace_test to mirror autolens_workspace_test coverage #5

@Jammy2211

Description

@Jammy2211

Overview

autogalaxy_workspace_test is currently very sparse — only scripts/aggregator/ exists, and there
is no GitHub Actions CI. This epic tracks nine discrete sub-tasks that together bring it up to the
coverage autolens_workspace_test already provides: a smoke-test CI, model_composition/,
jax_likelihood_functions/{imaging,interferometer,multi}/, jax_grad/{imaging,interferometer,multi}/,
and a minimal imaging/ suite. Each sub-task has a prompt file in
admin_jammy/prompt/autogalaxy/ and ships as its own PR.

Sub-tasks

Key cross-cutting risk

Tasks 3–9 depend on pytree registration on PyAutoGalaxy's analysis classes. Today,
autogalaxy/imaging/model/analysis.py and autogalaxy/interferometer/model/analysis.py have
no _register_fit_imaging_pytrees / equivalent — autolens has these, autogalaxy does not.
The JAX sub-tasks will need library PRs on PyAutoGalaxy before their workspace PRs can land.
Each sub-prompt flags this as a spawn-off.

Exclusions across all sub-tasks: no *_dspl.py ports (double-source-plane is lens-specific).

Original prompt

Click to expand starting prompt

The autogalaxy_workspace_test is very light compared to autolens_workspacd_test in terms of its script
and it does not have a .github actions continuous integration. Therefore, plan the following work as a series
of prompts in this folder, run them one after another as seaprate agent tasks:

  • Set up contiuous integration server on autogalaxy_workspace_test
  • Set up folder `scripts/model_composition` and set up autogalaxy version of existing scripts.
  • Set up folder `scripts/jax_likelihood_functions/imaging` and set up autogalaxy versions of all examples (dont do dspl). This will likely require some spawn-off tasks which do pytree registration so make sure this prompt looks at our recent pytree work).
  • Do same for `scripts/jax_likelihood_functions/interferometer`.
  • Do same for `scripts/jax_likelihood_functions/multi`.
  • Set up folder `scripts/jax_grad/imaging` and set up autogalaxy versions of all examples (dont do dspl). This will likely require some spawn-off tasks which do pytree registration so make sure this prompt looks at our recent pytree work).
  • Do same for `scripts/jax_grad/interferometer`.
  • Do same for `scripts/jax_grad/multi`.
  • Set up a `scripts/imaging` folder like autolens_workspace_test's, but only include model_fit.py, modeling_visualization_jit.py, visualization.py, visualization_jax.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions