From dd5ab17e073217a65184bb3bea6edd891f31a554 Mon Sep 17 00:00:00 2001 From: John Stachurski Date: Mon, 3 Aug 2026 18:01:27 +1000 Subject: [PATCH 1/2] migration.yml: mark the P5 datasets repointed QuantEcon/lecture-python-intro#811 merged, so all three datasets landed in #27 are now read from this repo's interim raw URL by lecture-python-intro: ames_house_prices.csv and japan_deaths_by_age.csv by the new observed_distributions lecture, and us_adult_heights.csv by that lecture and by prob_dist, which dropped its _static/ copy in the same PR. The audit reconciles this file against a scan of the lecture repos, so leaving the records at `landed` while the consumers read the URL would fail the strict build. Also drops a stale comment that told the reader to flip these records once the lecture PR merged. Co-Authored-By: Claude Opus 5 (1M context) --- migration.yml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/migration.yml b/migration.yml index 0e2f8cb..7b725e7 100644 --- a/migration.yml +++ b/migration.yml @@ -82,31 +82,37 @@ datasets: ames_house_prices.csv: pilot: P5 - status: landed + status: repointed # A new dataset, not a migration: these bytes have never lived in a lecture - # repo, so there is no prior pattern to move away from. The consuming - # lecture is new too and lands with the interim raw URL already in place; - # flip to `repointed` when QuantEcon/lecture-python-intro#XXX merges. + # repo, so there is no prior pattern to move away from. It landed together + # with its consuming lecture, which is new and read the interim raw URL + # from its first commit. prior_pattern: none landed: pr: QuantEcon/data-lectures#27 date: 2026-08-03 - repoints: [] + repoints: + - repo: QuantEcon/lecture-python-intro + pr: QuantEcon/lecture-python-intro#811 + date: 2026-08-03 cutover: null japan_deaths_by_age.csv: pilot: P5 - status: landed + status: repointed prior_pattern: none landed: pr: QuantEcon/data-lectures#27 date: 2026-08-03 - repoints: [] + repoints: + - repo: QuantEcon/lecture-python-intro + pr: QuantEcon/lecture-python-intro#811 + date: 2026-08-03 cutover: null us_adult_heights.csv: pilot: P5 - status: landed + status: repointed # Migrated out of lecture-python-intro, where it was added by #790 with no # committed builder. The builder was recovered during this migration and # reproduces the file byte for byte, so it lands as `committed` rather than @@ -115,7 +121,10 @@ datasets: landed: pr: QuantEcon/data-lectures#27 date: 2026-08-03 - repoints: [] + repoints: + - repo: QuantEcon/lecture-python-intro + pr: QuantEcon/lecture-python-intro#811 + date: 2026-08-03 cutover: null # Planned waves that have not landed anything here yet. `datasets` names the From b8257791991befaf99d2d8e4b16257636ea7329c Mon Sep 17 00:00:00 2001 From: John Stachurski Date: Mon, 3 Aug 2026 19:37:08 +1000 Subject: [PATCH 2/2] audit_annotations: follow yfinance to observed_distributions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The strict scan flagged lecture-python-intro:observed_distributions:yfinance as unannotated. The reference is not new to the series — #811 split the observed-data half of prob_dist into the new lecture, and the AMZN/COST downloads went with it. So this moves the existing annotation rather than adding one, and drops the prob_dist key, which now describes a call that lecture no longer makes. Co-Authored-By: Claude Opus 5 (1M context) --- scripts/audit_annotations.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/audit_annotations.yml b/scripts/audit_annotations.yml index d6d7f79..08d8ca8 100644 --- a/scripts/audit_annotations.yml +++ b/scripts/audit_annotations.yml @@ -179,9 +179,13 @@ api: series: SI.POV.GINI, NY.GDP.PCAP.KD pedagogy: mixed note: demonstrates searching for the Gini series ID with wbgapi - lecture-python-intro:prob_dist:yfinance: + lecture-python-intro:observed_distributions:yfinance: series: AMZN, COST pedagogy: incidental + note: > + moved here from prob_dist by lecture-python-intro#811, which split the + observed-data half of that lecture into observed_distributions; prob_dist + no longer calls yfinance lecture-python-programming:pandas:wbgapi: series: GC.DOD.TOTL.GD.ZS pedagogy: lesson