Skip to content

Sync main into pymc6_and_pymcmarketing1_migration (2026-09-26) - #1214

Merged
drbenvincent merged 12 commits into
pymc6_and_pymcmarketing1_migrationfrom
sync/main-into-migration-2026-09-26
Sep 26, 2026
Merged

drbenvincent merged 12 commits into
pymc6_and_pymcmarketing1_migrationfrom
sync/main-into-migration-2026-09-26

Conversation

@daimon-pymclabs

Copy link
Copy Markdown

Merges main into the migration branch so it is up to date before the 1.0.0rc1 PR. Brings in the 8 commits on main that the branch lacked, including #1213 (markdown tables for pymarkdown 0.9.40, merged today), #1181 (SEO/AEO), and CI/pre-commit bot updates.

Please merge with a merge commit, not squash, so git records main as merged and the final PR into main doesn't re-conflict.

Conflict resolutions:

  • .pre-commit-config.yaml: kept the branch's removal of the mypy hook (mypy is configured twice, the two configurations disagree, and neither gates anything #1127, typecheck runs via make typecheck); took main's rev bumps.
  • ARCHITECTURE.md: kept the branch's Key Conventions rows, with main's | --- | --- | separator style.
  • scripts/generate_gallery.py: kept the branch's explanatory comment.
  • inverse-propensity-pymc.ipynb: kept the branch's re-executed notebook, which already had main's title change.
  • synthetic-control-pymc.ipynb: kept the branch's re-executed notebook and added main's intro paragraph to the title cell.

Also fixes two branch-only markdown lint failures that pymarkdown 0.9.40 now catches (README.md emphasis style, scripts/migration_baseline/REPORT_TEMPLATE.md table separator). prek run --all-files passes locally.

🤖 Generated with Claude Code

dependabot Bot and others added 9 commits August 19, 2026 15:27
…#1169)

Bumps the actions group with 2 updates in the / directory: [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `mamba-org/setup-micromamba` from 3.1.0 to 3.2.1
- [Release notes](https://github.com/mamba-org/setup-micromamba/releases)
- [Commits](mamba-org/setup-micromamba@ce51e99...f457c30)

Updates `github/codeql-action/upload-sarif` from 4.37.4 to 4.37.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f205ea1...5595cca)

---
updated-dependencies:
- dependency-name: mamba-org/setup-micromamba
  dependency-version: 3.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.16.3 → v0.16.6](astral-sh/ruff-pre-commit@v0.16.3...v0.16.6)
- [github.com/abravalheri/validate-pyproject: v0.25 → 0.26](abravalheri/validate-pyproject@v0.25...0.26)
- [github.com/usnistgov/pyproject2conda: v0.23.1 → v0.23.2](usnistgov/pyproject2conda@v0.23.1...v0.23.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…oup (#1178)

Bumps the actions group with 1 update: [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/upload-sarif` from 4.37.6 to 4.37.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@5595cca...ff2f1c6)

---
updated-dependencies:
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…s and llms.txt (#1181)

* Improve docs SEO/AEO: fix broken canonical URLs, add meta descriptions

GSC data (2026-08-31) showed 549 pages crawled-but-not-indexed and
0.4-1.4% CTR on top method pages. Fixes:

- Remove trailing slash from html_context baseurl, which produced
  double-slash canonical URLs sitewide via the theme template
- Add sphinxext-opengraph for og:* tags and auto meta descriptions
- Hand-written meta descriptions for high-impression Markdown pages
  (homepage, gallery index via gallery.yaml, knowledgebase pages)
- Query-matched H1s for the top underperforming notebooks
- Add llms.txt for LLM crawlers and SoftwareSourceCode JSON-LD on
  the landing page

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Align social descriptions and simplify gallery card titles

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
The pre-commit autoupdate tightened table and heading checks, and pull-request hooks only lint the diff, so main stayed red on the full-tree scan.

Co-authored-by: Cursor <cursoragent@cursor.com>
Brings in the 8 commits on main missing from the migration branch, including #1213 (markdown tables for pymarkdown 0.9.40) and #1181 (SEO/AEO).

Conflict resolutions:
- .pre-commit-config.yaml: keep the branch's removal of the mypy hook (#1127, typecheck runs via make typecheck); take main's rev bumps.
- ARCHITECTURE.md: keep the branch's Key Conventions rows with main's `| --- | --- |` separator style.
- scripts/generate_gallery.py: keep the branch's explanatory comment.
- inverse-propensity-pymc.ipynb: keep the branch's re-executed notebook (it already has main's title change).
- synthetic-control-pymc.ipynb: keep the branch's re-executed notebook and add main's intro paragraph to the title cell.

Also fixes two branch-only markdown lint failures that pymarkdown 0.9.40 now catches (README.md emphasis style, REPORT_TEMPLATE.md table separator).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@cursor

cursor Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Documentation, notebook markdown, and pre-commit hook version changes only; no causal inference or API code paths are modified in the diff.

Overview
This PR syncs main into the PyMC 6 migration branch and aligns the tree with pymarkdown v0.9.40 (from #1213 on main).

Tooling: .pre-commit-config.yaml bumps the pymarkdown hook from v0.9.39 to v0.9.40.

Markdown lint compliance: Many docs, skills, agent resources, and README/ARCHITECTURE/CONTRIBUTING tables switch separator rows to the spaced form | --- | --- | instead of compact |---|---| headers. CONTRIBUTING.md fixes two internal anchor links to lowercase GitHub-style slugs. README.md changes runtime-notes emphasis from *first* to _first_ for the linter.

Content from main: docs/source/notebooks/synthetic-control-pymc.ipynb adds the introductory paragraph to the title markdown cell (on top of the branch’s re-executed outputs). docs/source/knowledgebase/design_notation.md gets the same table formatting pass for quasi-experimental notation tables.

Conflict resolutions described in the PR (mypy hook removal, ARCHITECTURE conventions, gallery script comment, other notebooks) are not all visible in the truncated diff snippet but are part of the merge intent. No Python package runtime behavior changes appear in the shown diff.

Reviewed by Cursor Bugbot for commit 9cda5c1. Bugbot is set up for automated code reviews on this repo. Configure here.

@read-the-docs-community

read-the-docs-community Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 causalpy | 🛠️ Build #34778835 | 📁 Comparing 9cda5c1 against latest (89f18de)

  🔍 Preview build  

397 files changed · + 126 added · ± 251 modified · - 20 deleted

+ Added

± Modified

- Deleted

The sync branch was cut from a stale local ref (143e823) that predated #1196 and #1195. This brings in the real branch head so CI runs on the actual merge result. No conflicts; prek run --all-files passes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.14%. Comparing base (86342b0) to head (9cda5c1).

Additional details and impacted files
@@                         Coverage Diff                         @@
##           pymc6_and_pymcmarketing1_migration    #1214   +/-   ##
===================================================================
  Coverage                               97.14%   97.14%           
===================================================================
  Files                                     130      130           
  Lines                                   24033    24033           
  Branches                                 1349     1349           
===================================================================
  Hits                                    23348    23348           
  Misses                                    477      477           
  Partials                                  208      208           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…-migration-2026-09-26

Bring in the pytest-xdist CI change from #1217 so the Test jobs no longer hit the 30-minute timeout.
@drbenvincent
drbenvincent merged commit a931037 into pymc6_and_pymcmarketing1_migration Sep 26, 2026
16 checks passed
@drbenvincent
drbenvincent deleted the sync/main-into-migration-2026-09-26 branch September 26, 2026 20:49
drbenvincent added a commit that referenced this pull request Sep 26, 2026
…ap-population

Bring the branch up to date after #1214 synced main into the migration branch.
drbenvincent added a commit that referenced this pull request Sep 26, 2026
…quals-robust

Bring the branch up to date after #1214 synced main into the migration branch.
drbenvincent added a commit that referenced this pull request Sep 26, 2026
…y-robust-intercept

Bring the branch up to date after #1214 synced main into the migration branch.
drbenvincent added a commit that referenced this pull request Sep 26, 2026
…constant-gap

Bring the branch up to date after #1214 synced main into the migration branch.
drbenvincent added a commit that referenced this pull request Sep 26, 2026
…der-controls

Bring the branch up to date after #1214 synced main into the migration branch.
drbenvincent added a commit that referenced this pull request Sep 26, 2026
…ated-four-mean

Bring the branch up to date after #1214 synced main into the migration branch.
drbenvincent added a commit that referenced this pull request Sep 26, 2026
…iate-not-four-mean

Bring the branch up to date after #1214 synced main into the migration branch.
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.

3 participants