Skip to content

Repoint the mle.md download link to data-lectures - #61

Merged
mmcky merged 1 commit into
mainfrom
datasets/track-b1
Aug 13, 2026
Merged

Repoint the mle.md download link to data-lectures#61
mmcky merged 1 commit into
mainfrom
datasets/track-b1

Conversation

@mmcky

@mmcky mmcky commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

lectures/mle.md:132 links the fp.dta download at https://python.quantecon.org/_static/lecture_specific/mle/fp.dta — an asset served by lecture-python.myst's published site, not by this repo.

That file is being migrated to QuantEcon/data-lectures (landed in QuantEcon/data-lectures#79) and will be deleted from lecture-python.myst once its repoint publishes, at which point this link 404s. This repo runs linkcheck.yml on cron: '0 12 * * *' — daily — so it would go red within 24 hours of that publish, in a repo that had no part in the migration. Repointing now closes the window rather than waiting for the alarm.

Nothing a reader downloads changes. The migrated copy, the published-site copy, and the archived copy this lecture's own code cell reads all hash to de99b9c0de6fb08cb732e306971ba87a308c5c4ef8ca3ae23fbbb50eabdecd8d — verified by fetching all three today.

The link also named mle/fp.dta inline in the sentence, a path that does not exist in data-lectures' flat published tree, so the filename is corrected alongside the href.

Not changed, deliberately

The code read at mle.md:139 fetches the archived QuantEcon/lecture-python blob:

df = pd.read_stata('https://github.com/QuantEcon/lecture-python/blob/master/source/_static/lecture_specific/mle/fp.dta?raw=true')

That URL still resolves — archived repos serve raw content indefinitely — and is unaffected by this migration, which touches lecture-python.myst, a different repo. Consolidating it onto data-lectures alongside the link above would be a sensible follow-up: it would retire a dependency on an archived repo, and the bytes are identical so the lecture's output would not move. But it changes what this lecture executes, so it is left as the maintainers' call rather than folded into a link fix.

The same applies to lectures/ols.md, whose five read_stata calls also point at the archived repo.

Context

This is one PR of a cross-repo wave. Data landed in QuantEcon/data-lectures#79; lecture-python.myst repoints in QuantEcon/lecture-python.myst#1034. Plan and tracking: QuantEcon/workspace-lectures#39.

🤖 Generated with Claude Code

`mle.md:132` linked the fp.dta download at
python.quantecon.org/_static/lecture_specific/mle/fp.dta — an asset served by
lecture-python.myst's published site, not by this repo.

That file is being migrated to QuantEcon/data-lectures and will be deleted from
lecture-python.myst once its repoint publishes, at which point this link 404s.
This repo runs a daily sphinx linkcheck, so it would go red within 24 hours of
that publish. Repointing now closes the window.

The bytes are identical — the migrated copy, the published-site copy and the
archived copy this lecture's code cell reads all hash to
de99b9c0de6fb08cb732e306971ba87a308c5c4ef8ca3ae23fbbb50eabdecd8d — so nothing
a reader downloads changes.

The link also named `mle/fp.dta` inline, a path that does not exist in
data-lectures' flat published tree, so the filename in the sentence is
corrected alongside the href.

NOT changed: the code read at mle.md:139, which fetches the archived
QuantEcon/lecture-python blob. That URL still resolves (archived repos serve
raw content indefinitely) and is unaffected by this migration. Consolidating it
onto data-lectures would be a sensible follow-up, but it is a change to what
this lecture executes and is left as the maintainers' call.

See QuantEcon/data-lectures#79 and QuantEcon/workspace-lectures#39.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 13, 2026 00:53
@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for timely-seahorse-68815c ready!

Name Link
🔨 Latest commit e2fe084
🔍 Latest deploy log https://app.netlify.com/projects/timely-seahorse-68815c/deploys/6a7d158579fadc0008e3d4e4
😎 Deploy Preview https://deploy-preview-61--timely-seahorse-68815c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Pull request overview

This PR updates the fp.dta dataset download link in the MLE lecture to point to the new canonical hosting location in QuantEcon/data-lectures, preventing an imminent broken link once the old lecture-python.myst asset is removed.

Changes:

  • Repoint fp.dta download URL from python.quantecon.org/_static/... to https://github.com/QuantEcon/data-lectures/raw/main/lectures/fp.dta.
  • Update the inline dataset name from mle/fp.dta to fp.dta to match the new hosting layout.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown

@mmcky
mmcky merged commit 54114b2 into main Aug 13, 2026
7 of 8 checks passed
@mmcky
mmcky deleted the datasets/track-b1 branch August 13, 2026 01:58
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