Skip to content

promote: re-accept intermediate's toc and copy it into its site (Information Geometry part) - #94

Merged
mmcky merged 1 commit into
mainfrom
toc/intermediate-information-geometry
Nov 23, 2026
Merged

mmcky merged 1 commit into
mainfrom
toc/intermediate-information-geometry

Conversation

@mmcky

@mmcky mmcky commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

What this does

Intermediate's lectures/_toc.yml at the pin 0dc4fe7 moves five lectures (exponential_families, information_projections, approximation_errors, specification_tests and turbulence_inference) out of the part that opens with divergence_measures into a new numbered part, "Information Geometry", placed after gallant_tauchen and before "Linear Programming" (QuantEcon/lecture-python.myst#1144). No lecture is added or dropped. This PR brings the pool's records and the intermediate site into step with it, which settles the two drift issues the nightly run opened, #91 and #92.

  • sync/toc.yml: intermediate's toc re-accepted at 0dc4fe7 with tools/drift-check --accept-toc intermediate (digest c7951dd…).
  • sites/intermediate/_toc.yml: intermediate's file copied verbatim (the site's copy has no # site addition lines); its sha256 equals the accepted digest.
  • sync/ledger.yml: tools/promote --toc intermediate promoted nothing (0 promoted, 157 unchanged, 4 skipped: intro, troubleshooting, zreferences, status). Its one change records intermediate's copy of pandas_panel at its current digest, which now equals programming's canonical copy, and moves that copy's promoted_at from eb2ba52 to 0dc4fe7. This clears the drift-check's "converged" note for pandas_panel. No lecture file changes.

Checks run locally

In a fresh clone of main at 54762ba (after #93): tools/sync (6 ok), then the two tools above. On main, tools/drift-check reports two DRIFT findings (the two issues) and one INFO (pandas_panel converged); with this change it is clean. tools/pool-check is clean (335 lectures, 6 sites), and the tool tests pass (330 passed, 1 skipped).

For the review

This changes the parts and order the intermediate site publishes, so it needs a person's review before it merges. The site-build workflow doesn't build intermediate yet, so CI doesn't exercise this toc; the change only regroups lectures the site already lists. After the merge, the next nightly drift-check finds both findings cleared and shuts the two issues itself.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMZxoF4m8xKRb8BcHnG

…rmation Geometry part)

Intermediate's lectures/_toc.yml at the pin 0dc4fe7 moves five lectures
(exponential_families, information_projections, approximation_errors,
specification_tests, turbulence_inference) out of their part into a new
numbered part, "Information Geometry" (QuantEcon/lecture-python.myst#1144).
No lecture is added or dropped.

tools/promote --toc intermediate promotes nothing (0 promoted, 157
unchanged); its one ledger change records intermediate's copy of
pandas_panel at its current digest, which now equals programming's
canonical copy (the drift-check's "converged" note). tools/drift-check
--accept-toc intermediate records the toc at 0dc4fe7, and
sites/intermediate/_toc.yml takes intermediate's file verbatim (it has no
site additions). The drift-check is clean afterwards, so the nightly run
closes #91 and #92.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMZxoF4m8xKRb8BcHnG
Copilot AI adaptive review requested due to automatic review settings November 23, 2026 06:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The PR reorders and regroups the published intermediate curriculum without CI building that site, so the intended Information Geometry placement and rendered navigation require human verification.

No open issues 🎉

What changed in this PR

This PR reconciles the intermediate series’ accepted table of contents, site copy, and promotion ledger after five lectures were regrouped into a new Information Geometry section.

Changes:

  • Re-accepts intermediate’s TOC at commit 0dc4fe7.
  • Synchronizes the intermediate site with the new section and lecture order.
  • Updates the pandas_panel ledger provenance and promotion pin.
File Description
sync/​toc.yml Records the updated intermediate TOC digest, source pin, and acceptance metadata.
sync/​ledger.yml Updates the intermediate pandas_panel digest and promotion provenance.
sites/​intermediate/​_toc.yml Mirrors the upstream TOC with the new Information Geometry section and lecture ordering.

Review effort: Lite (adaptive)

@mmcky
mmcky merged commit 90ba55b into main Nov 23, 2026
10 checks passed
@mmcky
mmcky deleted the toc/intermediate-information-geometry branch November 23, 2026 07:12
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.

2 participants