Skip to content

docs: surface Colab entry point on README, rename chapter 3 to chapter_advanced - #54

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/howtofit-colab-and-chapter-advanced
Sep 14, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/howtofit-colab-and-chapter-advanced

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes #53

Warning

Opened while PyAutoHeart readiness is RED for the unrelated reason release validation FAILED (stage integrate), under an explicit live human override. This is not the AUTONOMY.md corrective-PR exception — that covers only a PR repairing the exact defect the RED names, and this repairs none of it (the RED is autolens/autolens_test workspace validation, manifest drift vs repos.yaml, and profiling drift). CI has not been waited on. Recorded in PyAutoMind/active.md under heart-override:.

What this does

HowToFit's front page mentioned Google Colab exactly once, buried mid-README, with no badge and no direct link — and the chapter indexes it deferred to were themselves incomplete.

Colab is now visible

  • Colab badge directly under the # HowToFit title + Start Here on Colab leading the header link row, both pointing at root start_here.ipynb.
  • A Run in Google Colab (nothing to install) subsection now opens Getting Started, ahead of the local-install path, with direct links to start_here and chapter 1 tutorial 1.

Both chapter indexes now tell the truth. Each claimed "Colab links to every tutorial are included". Neither did:

  • Chapter 1 — tutorials 6, 7, 8 and the optional Bayesian formalism used relative ../../notebooks/... paths, which open a raw notebook view on GitHub, not Colab. All four converted.
  • The advanced chapter — its 2 optional tutorials (hierarchical_ep, hierarchical_individual) were not listed at all despite having notebooks. Both added.

Chapter rename — scripts/chapter_3_graphical_models/ → scripts/chapter_advanced/ via git mv (renames tracked as R, history preserved), closing the confusing 1-then-3 gap with no chapter 2. 16 "chapter 3" prose phrasings reworded to "the advanced chapter".

Reviewer notes

  1. Output directories change. Tutorial output moves from output/chapter_3_graphical_models/... to output/chapter_advanced/.... Existing results will not resume; they stay under the old name.
  2. markdown/ was hand-edited, not regenerated. generate_markdown.py executes every curated script for real and is an at-release tool — disproportionate for a URL/prose substring. The edits are byte-equivalent to what a regen emits for those lines, and bump_colab_urls.sh already performs this same class of in-place *.md rewrite.
  3. Colab URLs pin 2026.9.14.1 — the release that landed today, not the 2026.9.11.1 current when this was planned. All 36 are in the canonical .../PyAutoLabs/HowToFit/blob/<tag>/... form that bump_colab_urls.sh rewrites, so the tag stays current automatically.

Verification

  • No chapter_3_graphical_models string anywhere in the repo.
  • No stale "chapter 3" prose anywhere.
  • notebooks/chapter_1_introduction/tutorial_8_scientific_workflow.ipynb — exactly 1 markdown cell, 0 code cells (prose-only by design, no Colab setup cell).
  • Notebooks + catalogue regenerated: Catalogue written: llms-full.txt, workspace_index.json (19 scripts).

Downstream half: PyAutoLabs/autofit_workspace — 3 main-pinned URLs that this rename breaks. Merge that alongside or after this one.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VTWwkw1QRHUauE7vs7ogCw

…r_advanced

Add a Colab badge under the title and a "Run in Google Colab" section so the
one-click entry point is visible on the GitHub front page, and make both chapter
indexes' "Colab links to every tutorial" claim true.

Rename scripts/chapter_3_graphical_models/ to scripts/chapter_advanced/, closing
the confusing 1-then-3 chapter gap.

Closes #53

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VTWwkw1QRHUauE7vs7ogCw
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Sep 14, 2026
@Jammy2211
Jammy2211 merged commit 3a755c5 into main Sep 14, 2026
7 checks passed
@Jammy2211
Jammy2211 deleted the feature/howtofit-colab-and-chapter-advanced branch September 14, 2026 17:19
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 2026
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.

docs: surface Colab entry point on README, rename chapter 3 to chapter_advanced

1 participant