Skip to content

Refresh business_cycle_data.csv: 2023 → 2025 - #112

Merged
mmcky merged 2 commits into
mainfrom
refresh/business_cycle_data
Sep 1, 2026
Merged

Refresh business_cycle_data.csv: 2023 → 2025#112
mmcky merged 2 commits into
mainfrom
refresh/business_cycle_data

Conversation

@mmcky

@mmcky mmcky commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Scheduled refresh of business_cycle_data.csv (class: dynamic-snapshot, cadence: annual) by builders/business_cycle.py on 2026-09-01. The builder fetched the live source, validated the result against the published contract, and wrote it; the manifest is stamped to match (retrieved, integrity.sha256, integrity.upstream: verified, schema.date_range.end) and CATALOG.md is regenerated. Review this PR through the overlap summary below — it is the one place a revision is a decision rather than a diff.

Shape 5 rows × 67 columns
Date range 1960 to 2025 (was 2023)
Overlap window YR1960..YR2023: 236 of 320 cells revised, max change 1.5002
New columns YR2024, YR2025

Consumers (from the manifest; AGENTS.md "Refresh, break, or schema change"):

  • none recorded — nothing to rebuild or notify.

Opened automatically by .github/workflows/refresh-snapshots.yml. A later run of the same refresh updates this branch and PR rather than opening another.

Why now: integrity.upstream.status is diverged — known to be behind the source. Bytes changed: true. Run: https://github.com/QuantEcon/data-lectures/actions/runs/33464878272

Scheduled refresh. integrity.upstream.status is `diverged` — known to be behind the source. Run: https://github.com/QuantEcon/data-lectures/actions/runs/33464878272
Copilot AI lite review requested due to automatic review settings September 1, 2026 03:05

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

Refreshes the business_cycle_data.csv dynamic snapshot from the live World Bank WDI source, updating the published bytes and associated provenance/manifest metadata so the dataset remains current and auditable within the lectures/ published tree.

Changes:

  • Updated lectures/business_cycle_data.csv to extend the series through 2025 (adds YR2024 and YR2025; revises historical values per upstream revisions).
  • Stamped lectures/business_cycle_data.csv.yml for the refresh (retrieved, integrity.sha256, integrity.upstream.status, schema.date_range.end).
  • Updated provenance dump and regenerated CATALOG.md to reflect verified integrity status for the refreshed snapshot.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
provenance/business_cycle_metadata.md Updated WDI series metadata dump captured during refresh.
lectures/business_cycle_data.csv.yml Refreshed manifest stamps (retrieval date, integrity, date range).
lectures/business_cycle_data.csv Refreshed snapshot data; includes 2024–2025 columns and upstream revisions.
CATALOG.md Regenerated catalog entry (integrity now “verified”, size updated).

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

Comment thread lectures/business_cycle_data.csv.yml
Comment thread provenance/business_cycle_metadata.md Outdated
…ce dumps

The pattern column's description said "YR2023 in the committed bytes" and
quoted an observed range — prose the refresh stamp never touches, so the
first refresh shipped it stale. Reworded to point at schema.date_range.end
and validate()'s bounds instead, and the rule is now in _template.py and
AGENTS.md: no prose in a dynamic snapshot's manifest may embed a fact a
refresh can change.

The World Bank's metadata text carries runs of blank lines up to ten deep;
the builder now collapses them to one before writing both dumps, and the
committed dump is normalised the same way (83 -> 43 lines, no content
change), so a refresh diff shows what the source said.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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