Flip the five wave B1' datasets to repointed - #80
Merged
Conversation
Every consumer now reads this repo. The lecture repoints merged today: lecture-python.myst#1034 (7 code reads + the mle.md prose link), lecture-python.zh-cn#249 (the generated translation sync, hand-diffed), and lecture-stats#61 (the mle.md download link only). This PR is the wave's acceptance test, not bookkeeping after it. The audit has no green state for a partially-repointed dataset, so the run on this push is what proves reality and the tracker agree. `consumers` records lecture-python.zh-cn and lecture-stats, both of which are outside the audit's SCAN_REPOS — they are recorded here or nowhere. The generated notebook mirrors (lecture-python.notebooks, lecture-stats.notebooks) are deliberately not listed: they self-heal after their repo's publish tag and are not repos anyone repoints. That follows the wave A4 precedent. lecture-stats is listed with a caveat worth reading, because its relationship is unusual: its code read still points at the archived QuantEcon/lecture-python blob, so it does not execute against this file. What it reads from here is the reader-facing download link. It is recorded because the question `consumers` answers is "what breaks if this file is renamed or deleted", and that link is part of the answer. Dry-run, both directions, against the sibling clones at their post-merge main: | migration.yml says | build_audit.py --strict | result | | --- | --- | --- | | repointed (as committed) | exit 0 | 0 migration inconsistencies | | landed (reverted locally) | exit 1 | "marked landed but some consumer already reads data-lectures" | Do not merge this on a stale check — let its own audit-dashboard run finish. Part of QuantEcon/workspace-lectures#39. Data landed in #79. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR completes wave B1′ step 4 by flipping five migrated datasets from landed to repointed, recording the lecture-repo PRs that performed the repoints and populating per-dataset consumers so downstream impact is traceable.
Changes:
- Update
migration.ymlstatuses for the five wave B1′ datasets torepointedand record the repoint PRs (including the lecture-stats prose-link repoint forfp.dta). - Populate
consumers:in the five affected sidecar manifests to capture all repos that would break on rename/delete (including repos outside the audit’sSCAN_REPOS). - Regenerate
CATALOG.mdso the “Used by” column and headline counts reflect the repointed state.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| migration.yml | Marks the five wave B1′ datasets as repointed and records repoint provenance (repo/PR/date). |
| lectures/NEWQDATA.csv.yml | Adds consumers entries for the repointed lecture repos and updates guidance about the formerly wrapped URL form. |
| lectures/maketable1.dta.yml | Adds consumers entries for the repointed lecture repos. |
| lectures/maketable2.dta.yml | Adds consumers entries for the repointed lecture repos. |
| lectures/maketable4.dta.yml | Adds consumers entries for the repointed lecture repos. |
| lectures/fp.dta.yml | Adds consumers entries including lecture-stats (download link only) and clarifies the prose-link dependency. |
| CATALOG.md | Regenerated catalog reflecting the now-populated “Used by” rows and updated headline. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wave B1′ step 4. Every consumer of the five datasets now reads this repo, so the tracker moves from
landedtorepointedandconsumersis populated.This PR is the wave's acceptance test, not bookkeeping after it. The strict audit has no green state for a partially-repointed dataset —
landedfails once any consumer reads data-lectures, andrepointedfails while any consumer still does not. The audit run on this push is what proves reality and the tracker agree.The repoints that landed today
lecture-python.mystmle.mdprose download link; addsdata-url-guard.ymllecture-python.zh-cnlecture-statsmle.mddownload link onlyDry-run, both directions
Run against the sibling clones at their post-merge
mainbefore pushing.migration.ymlsaysbuild_audit.py scan --strictrepointed(as committed here)landed(reverted locally, then restored)marked landed but some consumer already reads data-lectures, all fiveOn the consumer lists
lecture-python.zh-cnandlecture-statsare both outside the audit'sSCAN_REPOS— they are recorded in these manifests or nowhere. That is the whole reason the field exists.The generated mirrors (
lecture-python.notebooks,lecture-stats.notebooks) are deliberately not listed. They self-heal after their repo's publish tag and are not repos anyone repoints, which follows the wave A4 precedent set bylife-expectancy-vs-gdp-per-capita.csv.yml.lecture-statsis listed with a caveat, because its relationship is unusual enough to mislead a future reader. Itsmle.mdcode read still points at the archivedQuantEcon/lecture-pythonblob — a separate byte-identical copy this migration does not touch — so it never executes against this file. What it reads from here is the reader-facing download link. It is recorded because the questionconsumersexists to answer is "what breaks if this file is renamed or deleted", and that link is part of the answer. The manifest says so in a comment rather than leaving it to be inferred.Verification
check_consumed_files.py— 31 manifests, 33 files hash-checked, 0 errorsbuild_catalog.pyregenerated; headline moves from 26 read by lectures today, 5 awaiting repoint to 31 read by lectures today, and the Used by column fills in for all fiveWhat this does NOT do
It does not delete anything. The committed
_staticcopies stay inlecture-python.mystuntil a follow-up PR, gated on the publish —python.quantecon.orgserved its pre-wave build until today'spublish-2026aug13tag, and the notebook mirrors regenerate only at that moment.Three deletion blockers are recorded now while they are fresh, since the sweep that found them was expensive:
lecture-python.notebooksandlecture-stats.notebookscarry the old URLs until each repo publishes.NEWQDATA.csv.yml, the file it bit.)Do not merge this on a stale check — let its own
audit-dashboardrun finish.strict_required_status_checks_policyisfalsehere, so a branch need not be up to date withmainfor its checks to count.Part of QuantEcon/workspace-lectures#39. Data landed in #79.
🤖 Generated with Claude Code