Skip to content
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

Failing samplers during tests #429

Closed
sbfnk opened this issue Jul 20, 2023 · 0 comments · Fixed by #433
Closed

Failing samplers during tests #429

sbfnk opened this issue Jul 20, 2023 · 0 comments · Fixed by #433

Comments

@sbfnk
Copy link
Contributor

sbfnk commented Jul 20, 2023

Tests show sampling failures such as

[1] "Error in sampler$call_sampler(args_list[[i]]) : "
[2] "  reached elapsed time limit"                    
[1] "error occurred during calling the sampler; sampling not done"
[1] "Error in sampler$call_sampler(args_list[[i]]) : "
[2] "  reached elapsed time limit"                    
[1] "error occurred during calling the sampler; sampling not done"
[1] "Error in sampler$call_sampler(args_list[[i]]) : "
Execution halted
[2] "  reached elapsed time limit"                    
[1] "error occurred during calling the sampler; sampling not done"
[1] "Error in sampler$call_sampler(args_list[[i]]) : "
[2] "  reached elapsed time limit"                    
[1] "error occurred during calling the sampler; sampling not done"

or

Warning ('test-estimate_secondary.R:24:1'): (code run outside of `test_that()`)
There were 3402 divergent transitions after warmup. See
https://mc-stan.org/misc/warnings.html#divergent-transitions-after-warmup
to find out why this is a problem and how to eliminate them.
Backtrace:
    ▆
 1. └─EpiNow2::estimate_secondary(...) at test-estimate_secondary.R:24:0
 2.   ├─rstan::sampling(...)
 3.   └─rstan::sampling(...)
 4.     └─rstan (local) .local(object, ...)
 5.       └─rstan:::throw_sampler_warnings(nfit)

They occur on all platforms so don't seem to be behind the specific issues on windows (#420) or Ubuntu (#428) but it would probably still be good to avoid theses.

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 a pull request may close this issue.

1 participant