diff --git a/scripts/audit_annotations.yml b/scripts/audit_annotations.yml index 8266c6d..ba87584 100644 --- a/scripts/audit_annotations.yml +++ b/scripts/audit_annotations.yml @@ -28,17 +28,6 @@ datasets: A migration candidate — it is read from lecture-python.myst main by raw URL, and the lecture documents every transformation and rebuilds the post-2000Q4 continuation from FRED - SCF_plus_mini.csv: - description: SCF+ wealth/income survey extract - provenance: constructed-committed - note: built by generating_mini.md (executable MyST) in high_dim_data from SCF_plus.dta - SCF_plus_mini_no_weights.csv: - description: SCF+ extract, no survey weights - provenance: constructed-committed - note: > - variant of the SCF_plus_mini pipeline. Was pinned to feature branch - update_scf_noweights (critical flag in the 2026-07-15 audit); reads - high_dim_data main since lecture-python-intro#793 acs_data_summary.csv: description: ACS occupation summary provenance: constructed-lost @@ -62,14 +51,6 @@ datasets: description: Hyperinflation tables, Sargent "Ends of Four Big Inflations" provenance: author-assembled note: hand-transcribed by authors - cities_brazil.csv: - description: Brazilian city populations - provenance: author-assembled - note: manual download from worldpopulationreview.com, documented in high_dim_data README - cities_us.csv: - description: US city populations - provenance: author-assembled - note: manual download from worldpopulationreview.com, documented in high_dim_data README dataBHS.mat: description: US consumption/income series, MATLAB replication bundle provenance: verbatim @@ -80,14 +61,6 @@ datasets: fig_3.xlsx: description: French Revolution fiscal data provenance: author-assembled - forbes-billionaires.csv: - description: Forbes billionaires list - provenance: constructed-committed - note: webscrape_forbes.ipynb in high_dim_data (Forbes API) - forbes-global2000.csv: - description: Forbes Global 2000 firm size - provenance: constructed-committed - note: webscrape_forbes.ipynb in high_dim_data (Forbes API) fp.dta: description: Treisman (2016) Russia billionaires replication data provenance: verbatim diff --git a/scripts/render_audit.py b/scripts/render_audit.py index ee0c677..3116d32 100644 --- a/scripts/render_audit.py +++ b/scripts/render_audit.py @@ -26,7 +26,12 @@ "own-repo": ("p-own", "own-repo URL", "fetches a file committed in its own repo via a GitHub raw URL"), "local-path": ("p-local", "local path", "pd.read_csv('…') relative path — no URL; breaks in Colab/download"), "sibling": ("p-sib", "sibling repo URL", "fetches another lecture repo's committed copy by URL"), - "external": ("p-ext", "external data repo", "QuantEcon/high_dim_data via raw and media (LFS) hosts"), + # `external` is defined by what it EXCLUDES, and classify_url reaches it by + # two routes: a non-QuantEcon org (build_audit.py:180-181) and a QuantEcon + # repo that is none of this repo, the consuming repo, a legacy name or a + # scanned sibling (:190-191). Describe the exclusion, not whichever repo + # happens to be using it — this label has now been too narrow twice. + "external": ("p-ext", "external data repo", "reads a data file by URL from a GitHub repo outside the audited lecture set — any org"), "external-web": ("p-ext", "external web host", "fetches a data file from a non-GitHub host by URL"), "legacy": ("p-legacy", "legacy-repo URL", "fetches from the retired pre-MyST lecture-python repo"), "embedded": ("p-embed", "%%file embedded", "written by the lecture itself, then read back"), @@ -428,7 +433,9 @@ def what_changed(audit: dict) -> str: (lecture-python-programming#576, lecture-python.myst#968) removed every live reference.

Branch-pinned refs: 1 → 0.

The critical flag on SCF_plus_mini_no_weights.csv — pinned to a feature branch of -high_dim_data — was fixed by lecture-python-intro#793; it now reads main.

+the external repo it then lived in — was fixed by lecture-python-intro#793. That file has since been +folded into this repo (data-lectures#62) and every consumer repointed here, so the pin is doubly +retired.

lecture-wasm joined the audit — and changed one fact.

The WASM mirror carries its own copies of intro's data files (all unread — its lectures fetch intro's copies by URL), and its short_path fetches intro's committed