Skip to content

chore: regenerate notebooks + catalogue (fix global drift) #255

Description

@Jammy2211

Overview

Regenerate the autolens_workspace notebooks and catalogue, which have drifted globally from the scripts/ source of truth. Discovered during PyAutoLens#592: running the sanctioned generator rebuilt/added ~30 notebooks (missing weak/, cluster/lenstool/, guides/point_source_pairing; content drift in imaging/, group/) plus llms-full.txt / workspace_index.json. That PR committed only the two notebooks matching its two edited scripts; this task is the dedicated cleanup.

Filed from PyAutoMind/maintenance/autolens_workspace/regenerate_notebooks_catalogue.md. Run under --auto at effective level safe (maintenance cap) — generated-artifact-only, no scripts/ source edits.

Plan

  • From autolens_workspace/, run PYTHONPATH=../PyAutoBuild/autobuild python3 ../PyAutoBuild/autobuild/generate.py autolens to regenerate every notebook + the catalogue.
  • Commit ALL regenerated notebooks/**, llms-full.txt, workspace_index.json in one "regenerate notebooks + catalogue" commit — no scripts/ changes.
  • Validate: notebooks are valid JSON; .script_sizes.json guard unaffected (no script edits); the navigator/catalogue is equal to the notebook set by construction.
  • Ship as a pending-release PR ending at PR-open.
Detailed notes

Key files

  • Generator: PyAutoBuild/autobuild/generate.py (regenerates notebooks/** from scripts/**, writes llms-full.txt + workspace_index.json).
  • Guard: autolens_workspace/scripts/check_sizes.sh (scripts only; untouched here).

Validation

  • Docs/generated-artifact only; no unit-test or library surface. Confirm all regenerated .ipynb parse as JSON; confirm no scripts/** file appears in the diff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions