Skip to content

Annotate the new bivariate_dist yfinance read — main is red without it - #94

Merged
mmcky merged 1 commit into
mainfrom
records/annotate-bivariate-dist-yfinance
Aug 17, 2026
Merged

Annotate the new bivariate_dist yfinance read — main is red without it#94
mmcky merged 1 commit into
mainfrom
records/annotate-bivariate-dist-yfinance

Conversation

@mmcky

@mmcky mmcky commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

main has been failing since lecture-python-intro#837 added lectures/bivariate_dist.md, which downloads AMZN and COST monthly closes through yfinance. The strict audit fails on any live-API read with no api: annotation — by design, so a new fetch in a lecture repo cannot land here silently.

Run 31984234688's only warning was missing_api_annotations: lecture-python-intro:bivariate_dist:yfinance; every other bucket was empty, so this is unrelated to wave C1 which merged just before it.

Worth recording how the timing hid this. This repo's audit reads the consuming repos, so a merge in a lecture repo can turn main red here with no change to this repo at all — and nothing on the lecture-repo side reports it. A local run against a clone that predated the new lecture passed; the failure only appeared once CI cloned intro fresh. Anyone diagnosing a red main here should check what landed in the lecture repos, not just what landed here.

pedagogy: incidental matches the sibling yfinance reads: the lecture explicitly points at observed_distributions for the same workflow, so the download is the illustration's input rather than its lesson.

Verified: strict audit exits 0 with all five problem buckets empty; CATALOG.md regenerates unchanged, since api: annotations do not feed the generated catalog.

🤖 Generated with Claude Code

lecture-python-intro#837 added lectures/bivariate_dist.md, which downloads
AMZN and COST monthly closes through yfinance in a solved exercise. The
strict audit fails on any live-API read with no `api:` annotation — by
design, so a new fetch in a lecture repo cannot appear here silently — so
the audit-dashboard build on main has been failing since that lecture landed
(run 31984234688, the sole warning being
`missing_api_annotations: lecture-python-intro:bivariate_dist:yfinance`).

Nothing to do with wave C1, which merged shortly before: the same run
reported zero problems in every other bucket, and re-running the scan here
with the annotation added exits 0 with all five buckets empty.

Worth noting how the timing hid it. This repo's audit reads the CONSUMING
repos, so a lecture-repo merge can turn main red here with no change to this
repo at all, and nothing in lecture-python-intro reports it. The local run
against a clone that predated the new lecture passed; it only failed once CI
cloned intro fresh.

`pedagogy: incidental` follows the sibling reads — the lecture points at
observed_distributions for the same workflow, so the download is the
illustration's input rather than its lesson. CATALOG.md is unaffected; api
annotations do not feed the generated catalog.

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

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

Adds a missing strict-audit annotation for a newly introduced live API call (yfinance) in lecture-python-intro so this repository’s audit passes again and main returns to green.

Changes:

  • Adds an api: annotation for lecture-python-intro:bivariate_dist:yfinance, documenting the series (AMZN, COST), pedagogy classification, and rationale.

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

@mmcky
mmcky merged commit 7f3a639 into main Aug 17, 2026
5 checks passed
@mmcky
mmcky deleted the records/annotate-bivariate-dist-yfinance branch August 17, 2026 01:17
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