Description
Re-scoped 2026-09-29 to qeld phase Q1. On 2026-08-12 D11 retired the host cutover this body was written for, so its proposal no longer applies; the current scope and evidence are in this comment.
Flagged during the 2026-08-10 step-3 gate work and noted as "untracked as of today" — still untracked until this issue. Filing it now because it becomes load-bearing at the Phase 4 cutover (#15).
classify_url in scripts/build_audit.py recognizes only the six GitHub-host URL forms. A read from the final hosting — data.quantecon.org/lectures/<file> or its interim Pages equivalent quantecon.github.io/data-lectures/lectures/<file> — classifies as external-web, so migrated comes out false. Two consequences:
migration.yml'sfinalstatus is a state the audit must currently report as broken: the moment any consumer flips interim → final, the strict audit sees an external-web read where it expects a data-lectures one.- The host and resolvability assertions from Audit: assert on the media host, and on data-lectures URL resolvability #55 stop applying at exactly the cutover they were built to protect, because the URLs leave the recognized set.
Fix shape: teach classify_url the final host(s) as a first-class data-lectures classification (both data.quantecon.org and the quantecon.github.io/data-lectures form), and add a test that a final-status record with a final-host read audits green while an interim-host read under final status warns. Should land before the first consumer flips to a final URL, i.e. it gates the #15 cutover, not this week's Track C work.
See #15 (cutover runbook) and #55 (the assertions this preserves).
Activity
[-]classify_url does not recognize the final data.quantecon.org host — the audit breaks at the Phase 4 cutover[/-][+]qeld Q1: build_audit.py must learn the qeld.url() call form before any lecture adopts it[/+]mmcky commentedon Sep 29, 2026
Re-scoped on 2026-09-29 to qeld phase Q1, and kept open. Decided in the close-out of the datasets migration.
What this issue asked. Filed on 2026-08-14:
classify_urlinscripts/build_audit.pyknows only the six GitHub URL forms, so a read fromdata.quantecon.org/lectures/<file>orquantecon.github.io/data-lectures/lectures/<file>classifies asexternal-web, and afinalrecord would fail the strict audit. It proposed counting both hosts asdata-lecturesbefore the first consumer moved to the final URL in the #15 cutover.D11 had already retired that cutover. D11 (PLAN-QELD-PACKAGE.md §2.2, recorded in #76 on 2026-08-12) deferred
data.quantecon.orgindefinitely and made theqeldpackage the stable interface instead. #15 closed as not planned the same day, two days before this issue was filed. The audit should learn neither host. The domain is deferred, andquantecon.github.iois not a consumer form: AGENTS.md allows only the two raw forms for code reads, and D11 rules it out as qeld's base because attaching a custom domain to the Pages site would start redirecting it. Counting it as migrated would let a lecture adopt it with the audit green. If #37 is ever revived, the change is one minor qeld release, not an edit to the lecture code this audit scans.What still holds, measured 2026-09-29. This issue's structural point survives D11 in a new form: the audit has to learn the terminal form before any consumer adopts it (PLAN-QELD-PACKAGE.md §7). The terminal form is now a call, not a host, and the audit does not know it. I ran a copy of
scripts/build_audit.pyfrom ab9d24d (mainon 2026-09-29) over the reallong_run_growth.mdfrom QuantEcon/lecture-python-intro@2a15be2 and QuantEcon/lecture-wasm@669c65f, against this repo's manifests andmigration.yml, wherempd2020.xlsxisrepointed. The qeld variants change one line per lecture, in place as §4.1 prescribes, todata_url = qeld.url('mpd2020.xlsx'). It ran offline on copies; no lecture repo changed.long_run_growth.mdreadsmpd2020.xlsxviampd2020.xlsxmain(control)data-lecturesin both reposqeld.url('mpd2020.xlsx')in intro onlylocal-pathin intro,data-lecturesin wasmqeld.url('mpd2020.xlsx')in both reposlocal-pathin both reposThe call never reaches
classify_url:scan_repopicks up the quoted filename as a candidate and records any candidate that is not anhttp(s)URL aslocal-path(build_audit.py:250-286). A dataset is fully migrated only when every read isdata-lectures(:401-403), so the first lecture to adopt qeld would take its dataset out of the migrated count and turn the strictaudit-dashboardbuild red (:441-448): the Pages deploy is skipped and the workflow opens its audit-drift issue.Scope now: qeld Q1, as PLAN-QELD-PACKAGE.md §7 has worded it since D11:
build_audit.pylearnsqeld.url('X')as patternqeld, counted as migrated and terminal. Since the call never reachesclassify_url, the change goes intoscan_repo's candidate handling.qeld, the audit asserts that the key exists inlectures/and is not deprecated. The assertions Audit: fail strict on wasm reads via the github.com/*/raw/ URL form #48 and Audit: assert on the media host, and on data-lectures URL resolvability #55 added (:465-522) all work on a parsed URL, which a qeld call does not have.migration.yml,finalcomes to mean that every code read goes through qeld, with the §4.1 carve-outs terminal on the direct form. At ab9d24d,finalandrepointedshare one check (:441), sofinalasserts nothing beyondrepointed.audit.jsonstatsandproblemscome out unchanged.Why it stays open, and where it belongs. It is the prerequisite that stops qeld adoption from turning the strict audit red, so it has to land before the first lecture adopts qeld. It is not a datasets-migration item: the static migration finished on 2026-08-18 with all 40 datasets repointed, and PLAN-QELD-PACKAGE.md says the migration completes with or without qeld. It belongs to qeld, which was also ruled on 2026-09-29 to become its own proposed project,
qeld-package, in QuantEcon's project registry, shown on the projects dashboard, beside #66 (qeld's open decisions) and #37 (the deferred domain). Nothing is scheduled yet: the project has no tracker, and at 05:42 UTC on 2026-09-29 there was no qeld repository,packages/directory or PyPI release.The body is kept as written, as the record of the original proposal, with a one-line note at the top pointing here.