Skip to content

Feature/pystan3-migration#1

Open
wpotrzebowski wants to merge 5 commits into
masterfrom
feature/pystan3-migration
Open

Feature/pystan3-migration#1
wpotrzebowski wants to merge 5 commits into
masterfrom
feature/pystan3-migration

Conversation

@wpotrzebowski
Copy link
Copy Markdown

@wpotrzebowski wpotrzebowski commented May 13, 2026

Updating code so it can work with the recent version of PyStan
Co-authored-by: Cursor cursoragent@cursor.com

wpotrzebowski and others added 5 commits May 12, 2026 12:23
- Add stan_run.build_and_sample mirroring default warmup/sampling split
- Replace StanModel/sampling/extract/summary/plot with stan.build, sample,
  fit[param], and matplotlib marginals
- Rewrite stan_utility diagnostics for CmdStan-style __ sampler outputs
- Update statistics mean_for_weights and me_log_lik for PyStan 3 fits
- fullBayesianTR: rebuild model per frame; drop unused qvector from data
- Pin pystan>=3.9,<4 in bioce.yml; register stan_run in setup.py

Co-authored-by: Cursor <cursoragent@cursor.com>
- Document PyStan 3, platforms, and pytest smoke test in README
- tests/test_pystan_smoke.py: iteration split always runs; sampling tests skip without stan
- pytest.ini: pythonpath for local imports
- stan_run: lazy-import stan in build_and_sample; numpy only in plotting

Co-authored-by: Cursor <cursoragent@cursor.com>
…ueError

httpstan rejects these fields with ValueError (not TypeError); TAPE_ERROR from
bad JSON can follow invalid kwargs. Pytest filters httpstan/importlib
DeprecationWarnings; drop broken NotAppKeyWarning filter.

Co-authored-by: Cursor <cursoragent@cursor.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.

1 participant