You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With shinystan v2.6.0, I get a strange bug when selecting parameters on page "ESTIMATE". The input field "Select or enter parameter names" as well as the plot start flickering heavily, making further use of that input field impossible (and the plot almost impossible to read).
// saved as schools.stan
data {
int<lower=0> J; // number of schools
real y[J]; // estimated treatment effects
real<lower=0> sigma[J]; // standard error of effect estimates
}
parameters {
real mu; // population treatment effect
real<lower=0> tau; // standard deviation in treatment effects
vector[J] eta; // unscaled deviation from mu by school
}
transformed parameters {
vector[J] theta = mu + tau * eta; // school treatment effects
}
model {
target += student_t_lpdf(mu | 7, 0, 5); // prior for mu
target += student_t_lpdf(tau | 7, 0, 1); // prior for tau
target += normal_lpdf(eta | 0, 1); // prior log-density
target += normal_lpdf(y | theta, sigma); // log-likelihood
}
Now, I already get a mild version of the flickering described above.
Enter theta in the "Add parameters by regex search" input field and click on "Search".
Now, I get the heavy flickering described above. Interestingly, after switching the browser tab and switching back to shinystan, the flickering stops, but the "Select or enter parameter names" input field is still unusable. Only the regex input field works, but when using it, the flickering starts again.
Session info:
I observed this with two different browsers on Ubuntu 20.04.3 LTS: Firefox and Chromium. I also observed this on Windows 10, but there I only tested Firefox. For the R packages (reduced to the content I deemed more or less relevant; tell me if you need more):
With shinystan v2.6.0, I get a strange bug when selecting parameters on page "ESTIMATE". The input field "Select or enter parameter names" as well as the plot start flickering heavily, making further use of that input field impossible (and the plot almost impossible to read).
Reproducible steps:
schools.stan
with content (modified from https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started):mu
.theta
in the "Add parameters by regex search" input field and click on "Search".Session info:
I observed this with two different browsers on Ubuntu 20.04.3 LTS: Firefox and Chromium. I also observed this on Windows 10, but there I only tested Firefox. For the R packages (reduced to the content I deemed more or less relevant; tell me if you need more):
Packages rstan and StanHeaders are from https://mc-stan.org/r-packages/.
The text was updated successfully, but these errors were encountered: