-
Notifications
You must be signed in to change notification settings - Fork 0
Add Stan support as alternative Bayesian modeling backend #175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Copilot
wants to merge
57
commits into
main
Choose a base branch
from
copilot/convert-jags-model-to-stan
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
6b44d2f
Initial plan
Copilot 368fb4d
Add initial Stan implementation with model files and R functions
Copilot 5d88e45
Add examples, fix linting issues, and update WORDLIST for Stan functions
Copilot 530fc7f
Update README and copilot instructions to document Stan support
Copilot e973b69
Add *.knit.* to .gitignore and install cmdstanr in copilot-setup-step…
Copilot d5ad3ce
Wrap run_mod_stan examples in \dontrun{} to fix R CMD check failure
Copilot fc3a564
Merge branch 'main' into copilot/convert-jags-model-to-stan
Copilot 1a91c47
Merge branch 'main' into copilot/convert-jags-model-to-stan
d-morrison d71bb31
Refactor to extract shared code between JAGS and Stan functions
Copilot 0fe0ef5
Fix review comments: draws indexing, stan_fit storage, NA handling, n…
Copilot 28e7a9d
Fix review comments: README list formatting, tibble::as_tibble, facto…
Copilot deb065a
Fix review comments: NA checking, prior validation, example format, b…
Copilot cf5d7f6
Fix review comments: add badger to Suggests, handle NA strat levels, …
Copilot d8599f8
Fix open review comments: update install URL, fix factor indexing, cl…
Copilot c1f61ad
Add comprehensive tests for Stan functions (prep_data_stan, prep_prio…
Copilot 18b91e6
Fix CI failures: lint issues, test warnings, and pkgdown reference index
Copilot 6bfa6ba
Add explicit pre-review validation requirements to copilot-instructio…
Copilot a31a95c
Fix review comments: remove nburn/nmc from tests, fix add_newperson d…
Copilot e8ceafb
Remove add_newperson parameter from prep_data_stan, add sample_predic…
Copilot 951468c
Fix review comments: stratification validation, calc_fit_mod per-stra…
Copilot b1e4701
Fix review comments: rewrite sample_predictive_stan, fix docs, remove…
Copilot 2c9e7c3
Address code review feedback: clarify Subnum indexing and rename popu…
Copilot 2798684
Fix linting errors: line length issues in prep_priors.R and test-stan…
Copilot ff8441d
Fix review comments: remove duplicate n_params, use population-level …
Copilot 3db4454
Fix mu_par indexing, add empty data validation, add multi-antigen test
Copilot cd36771
Fix sample_predictive_stan: transform mu_par from log scale, compute …
Copilot 01af5c0
Changes before error encountered
Copilot 3730197
Use markdown syntax instead of Rd syntax in roxygen2 documentation
Copilot b40d15a
Address review comments: NA validation, antigen ordering, markdown sy…
Copilot 4360bad
Fix antigen attribute access: use plain vector, not $Iso_type
Copilot f0320a5
Add NA stratification validation and relax nchain constraint
Copilot b5c4af4
Fix misleading error message for empty stratification list
Copilot a28ba17
Add validation for max_antigens and CmdStan installation check
Copilot 6a60ad4
Update documentation for with_post parameter and sample_predictive_stan
Copilot 1fa6d49
Merge origin/main into copilot Stan branch
Kwan-Jenny 1755bd4
# update version, WORDLIST and document
Kwan-Jenny fb1fce7
Fix CI dependency setup
Kwan-Jenny 9e346ef
Fix style issues: seq_len() and join relationship args
github-actions[bot] a90ec74
fix lint
Kwan-Jenny 1ceafca
Merge remote-tracking branch 'origin/copilot/convert-jags-model-to-st…
Kwan-Jenny 7e19c73
Fix select negation style: use -c() instead of !c()
github-actions[bot] 6a69313
Resolve merge conflicts after function rename
Kwan-Jenny 715f026
Increment dev version to 0.1.0.9002 (Stan backend addition)
github-actions[bot] 044e084
update document
Kwan-Jenny 0835f22
Merge remote-tracking branch 'origin/copilot/convert-jags-model-to-st…
Kwan-Jenny 04cabb4
Fix Windows rjags setup in CI
Kwan-Jenny 8512540
Fix Windows JAGS package setup in CI
Kwan-Jenny c6c4ed9
fix(stan): correct covariance prior + stabilize HMC; add Kwan Ho Lee …
Kwan-Jenny 7dde102
fix(stan): address review findings from code review
github-actions[bot] e59d994
chore(stan): remove unused copilot scaffolding
Kwan-Jenny 9fa3c18
docs(articles): add JAGS-to-Stan comparison article
Kwan-Jenny a4bd849
Update document and WORDLIST
Kwan-Jenny 02af72b
fix(stan): update snapshot and docs for new prec_hyp_param defaults
github-actions[bot] c850326
update version, document, and fix lint
Kwan-Jenny 256f7ef
Merge remote-tracking branch 'origin/main' into copilot/convert-jags-…
Kwan-Jenny 63cb294
version update
Kwan-Jenny 3d7a25e
update pkgdown.yml
Kwan-Jenny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.