Skip to content

docs: clarify Tutorial 4 point sources #107

Closed

Description

@Jammy2211

Overview

Apply the human-approved fifteen-block rewrite of Chapter 1 Tutorial 4 on point sources. Keep the existing numerical lens example, connect it to the revised Tutorials 2–3, and lead onward to Tutorial 5: Data.

Plan

  • Apply the reviewed prose and brief iterative triangle explanation with a workspace-guide link.
  • Correct image multiplicity, central-image, flux and time-delay explanations.
  • Add the approved combined positions/magnifications/delays printout.
  • Regenerate the notebook, executed Markdown and catalogue; run scientific and workspace checks.

Tier: judge — merge mode: human /prm.

Detailed implementation

Primary repo: HowToLens, main clean; task branch feature/howtolens-point-sources.
Canonical file: scripts/chapter_1_introduction/tutorial_4_point_sources.py. Preserve grid, mass profile, source centre and solver settings. Add matching contents headings for the fifteen approved narrative blocks, preserving required wrap-up. Use PyAutoHands for derived notebooks and Markdown. Validate real solver results, finite magnifications/time delays, notebook source parity, navigator, tutorial completion and full Heart smoke.

Approval

Human reviewed and approved all fifteen blocks, including the shortened solver explanation, then said: "approve, apply the changes to tutorial 4 and run the checks".

Heart RED development override

Human said: "Yes I approve development on heart red for tutorial 4, show me the first 5 blocks for review".
Reported reasons: release validation FAILED (stage integrate); PyAutoHeart/workflows/Release Integrate: failure; Release readiness: release validation FAILED (stage integrate); autogalaxy: red; Release validation: NOT release_ready — v2026.10.31.1.dev85201 profile=release (2026-10-31T08:04:07+00:00); validation_report/stages/integrate: fail; autolens_profiling: red; Worktree drift: 0 orphan / 0 missing / 1 dirty.
Development only, no release or failed-check bypass.

Activity

  1. Jammy2211 commented on Oct 31, 2026

    @Jammy2211
    CollaboratorAuthor

    Implemented the fifteen approved blocks in PR #108 (commit 2843ea7).

    Workspace Passed Failed Total
    HowToLens (official Heart smoke, Python 3.12) 49 0 49

    Actual Tutorial 4 plotting run also passed: four images, finite magnifications/time delays, maximum source-plane residual 0.0005011 arcsec. Notebook format/source parity, executed Markdown/figures, navigator, contents, all 38 tutorial completion checks and whitespace checks pass.

    Human approved development on Heart RED for Tutorial 4. Exact current readiness reason: release validation FAILED (stage integrate). Development commit/push/PR only; no release or failed-check bypass. Merge remains human /prm after required checks pass.

  2. Jammy2211 commented on Oct 31, 2026

    @Jammy2211
    CollaboratorAuthor

    Shipped in PR #108, merged as ebb5b43 after all eight CI jobs passed, including both Python 3.12 and 3.13 smoke legs. Approved Tutorial 4 prose, examples and generated outputs are complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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