Skip to content

Record the fitting_distributions lecture as a consumer - #32

Merged
jstac merged 1 commit into
mainfrom
fitting-lecture-repoint
Aug 3, 2026
Merged

Record the fitting_distributions lecture as a consumer#32
jstac merged 1 commit into
mainfrom
fitting-lecture-repoint

Conversation

@jstac

@jstac jstac commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

QuantEcon/lecture-python-intro#814 merged, adding a lecture that reads five datasets from this repo.

dataset change
epl_match_goals.csv first consumer; landedrepointed
japan_earthquakes.csv first consumer; landedrepointed
ames_house_prices.csv second consumer
japan_deaths_by_age.csv second consumer
us_adult_heights.csv third consumer

The two that landed in #31 had empty consumers because the lecture was still being written; they now have it.

The other three keep their existing migration.yml records. They were already repointed by #811, and #814 did not repoint anything — the new lecture read the canonical URL from its first commit — so adding a repoints entry would misdescribe what happened. Only the consumers lists change, which is what a correction needs in order to know what to rebuild.

The yfinance annotation

The lecture downloads AMZN for the section showing that a normal fit to monthly returns fails in the tails, so it gets an api entry in audit_annotations.yml. Without it the strict scan fails on an unannotated live-API reference — exactly what happened to observed_distributions in #30, so this time it goes in with the repoint rather than after it.

CATALOG.md regenerated; the "Used by" column now shows the new lecture against all five.

Part of QuantEcon/meta#336

🤖 Generated with Claude Code

QuantEcon/lecture-python-intro#814 merged, adding a lecture that reads five
datasets from this repo.

- epl_match_goals.csv and japan_earthquakes.csv landed in #31 with empty
  consumers because the lecture was still being written. They now have their
  consumer, and their migration records move from `landed` to `repointed`.

- ames_house_prices.csv, japan_deaths_by_age.csv and us_adult_heights.csv
  gain a second (third, for heights) consumer. Their migration records are
  unchanged: they were already `repointed` by #811, and #814 did not repoint
  anything -- the new lecture read the canonical URL from its first commit.

The lecture also downloads AMZN through yfinance, for the section showing
that a normal fit to monthly returns fails in the tails, so it gets an entry
in the api section of audit_annotations.yml. Without it the strict scan fails
on an unannotated live-API reference, as it did for observed_distributions in
data-lectures#30.

CATALOG.md regenerated.

Part of QuantEcon/meta#336

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jstac
jstac merged commit 0c91a18 into main Aug 3, 2026
4 checks passed
@jstac
jstac deleted the fitting-lecture-repoint branch August 3, 2026 19:43
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.

1 participant