Skip to content

Conversation

@NathanielF
Copy link
Owner

@NathanielF NathanielF commented Nov 10, 2025

A staggered commit example of potential variable selection module for prior specifications like the spike and slab and horseshoe.


📚 Documentation preview 📚: https://causalpy--1.org.readthedocs.build/en/1/

drbenvincent and others added 30 commits June 29, 2025 12:05
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.0 → v0.12.1](astral-sh/ruff-pre-commit@v0.12.0...v0.12.1)
The likelihood of all models is now 2 dimensional. This means we don't have to do conditional branching for single vs multiple treatment units. So we've been able to remove a lot of the code in PyMCModel. This has touched a number of experiment classes which are not related to synthetic control.
…config

[pre-commit.ci] pre-commit autoupdate
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.1 → v0.12.2](astral-sh/ruff-pre-commit@v0.12.1...v0.12.2)
Signed-off-by: Nathaniel <[email protected]>
…config

[pre-commit.ci] pre-commit autoupdate
NathanielF and others added 30 commits December 9, 2025 12:06
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
Introduced new skill files for designing experiments, loading datasets, performing causal analysis, and working with marimo notebooks under .claude/skills/. Added detailed reference documentation for DiD, ITS, and Synthetic Control methods. Added .cursor/commands/ files covering CausalPy demos, estimators, extras (including PlaceboAnalysis), marimo usage, methods, and research guidance. Updated .gitignore and pyproject.toml to support these additions.
Add CausalPy skills and command documentation
…ymc-labs#592)

* Initial plan

* Improve load_data docstring with complete dataset list and descriptions

Co-authored-by: drbenvincent <[email protected]>

* Fix function signature and clarify did dataset description

Co-authored-by: drbenvincent <[email protected]>

* Reorder datasets in docstring to match DATASETS dictionary

Co-authored-by: drbenvincent <[email protected]>

* Remove See Also section from load_data docstring

Co-authored-by: drbenvincent <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: drbenvincent <[email protected]>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.8 → v0.14.9](astral-sh/ruff-pre-commit@v0.14.8...v0.14.9)
- [github.com/pre-commit/mirrors-mypy: v1.19.0 → v1.19.1](pre-commit/mirrors-mypy@v1.19.0...v1.19.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Initial plan

* Initial exploration and analysis of date formatting issue

Co-authored-by: drbenvincent <[email protected]>

* Implement intelligent date formatting for x-axis in plots

Co-authored-by: drbenvincent <[email protected]>

* Address code review feedback: extract helper function and improve tests

Co-authored-by: drbenvincent <[email protected]>

* Final polish: Fix module docstring

Co-authored-by: drbenvincent <[email protected]>

* Handle long time series: vertical labels for 8+ years, smart minor gridlines

Co-authored-by: drbenvincent <[email protected]>

* Fix minor tick overlap and add rotation for 3-8 year range

Co-authored-by: drbenvincent <[email protected]>

* Fix pre-commit issues and ensure minor gridlines visible with arviz theme

Co-authored-by: drbenvincent <[email protected]>

* Refactor date axis formatting to use AutoDateLocator

Simplified format_date_axis to always use matplotlib's AutoDateLocator and ConciseDateFormatter for automatic date tick placement and formatting. Added a maxticks parameter for controlling the maximum number of ticks. Updated tests to reflect the new behavior and removed checks for specific locators in favor of AutoDateLocator and ConciseDateFormatter.

* re-run relevant notebooks

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: drbenvincent <[email protected]>
Co-authored-by: Benjamin T. Vincent <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.9 → v0.14.10](astral-sh/ruff-pre-commit@v0.14.9...v0.14.10)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ymc-labs#612)

* Add instructions for GitHub issue creation with CLI

Added a new section detailing how to create GitHub issues using the GitHub CLI, including prerequisites, drafting, user review, and cleanup steps. This provides a standardized workflow for reporting and tracking issues.

* Add instructions for labeling issues with GitHub CLI

Expanded the documentation to include steps for adding labels when creating issues using the GitHub CLI. Also added guidance on discovering available labels in the repository.
Signed-off-by: Nathaniel <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
…ble name (pymc-labs#626)

* Initial plan

* Fix RegressionDiscontinuity bandwidth parameter to use running_variable_name

Co-authored-by: drbenvincent <[email protected]>

* Apply pre-commit formatting fixes (copyright year, code formatting)

Co-authored-by: drbenvincent <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: drbenvincent <[email protected]>
Signed-off-by: Nathaniel <[email protected]>
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.

10 participants