Commit a496c36
docs(chapter_1): restore truncated tutorials + add completeness CI check
tutorial_1_grids_and_galaxies and tutorial_2_ray_tracing were cut off
mid-generation during the workspace bootstrap, each ending on a docstring that
promised a plot with no code following and no Wrap Up (frozen at the truncated
length since bootstrap commit #1; the original workspace source no longer
exists).
Restore the lost content:
- tutorial_1: log10 image + __Galaxies__ + __Units__ + __Wrap Up__ + advanced
topics, adapted from the complete HowToGalaxy sibling to the autolens API and
lens framing (429 -> 672 lines).
- tutorial_2: log-space convergence/potential + __Ray Tracing Grids__ (lens
equation) + __Ray Tracing Images__ + __Galaxies__ + __Tracer__ + __Mappings__
+ __Wrap Up__, sourced from guides/tracer.py (214 -> 391 lines).
Both validated end-to-end and via the curated smoke suite (6/6).
Prevent recurrence: add .github/scripts/check_tutorials_complete.py + a CI
workflow that fails when any tutorial lacks a terminal __Wrap Up__/__Summary__
section — a truncated script never reaches its wrap-up, so absence of the marker
reliably flags lost content. Normalize five complete-but-unmarked tutorials
(tutorial_4_dealing_with_failure, tutorial_4_bayesian_regularization,
tutorial_6_slam, tutorial_8_model_fit, tutorial_searches) with the terminal
marker so they pass.
Regenerate notebooks + navigator catalogue.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KExk2jkn2ya21b6NZLALpB1 parent 93b520a commit a496c36
18 files changed
Lines changed: 1284 additions & 12 deletions
File tree
- .github
- scripts
- workflows
- notebooks
- chapter_1_introduction
- chapter_2_lens_modeling
- chapter_3_search_chaining
- chapter_4_pixelizations
- chapter_optional
- scripts
- chapter_1_introduction
- chapter_2_lens_modeling
- chapter_3_search_chaining
- chapter_4_pixelizations
- chapter_optional
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments