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

New Update breaks models #34

Open
Centipede5 opened this issue Jun 26, 2023 · 4 comments
Open

New Update breaks models #34

Centipede5 opened this issue Jun 26, 2023 · 4 comments

Comments

@Centipede5
Copy link

I tried using the messages example (https://statsim.com/app/?m=messages), and while it seems to run correctly I cannot expand the observer, I'm not sure if the models have not been updated or if this is an issue with the app

@zemlyansky
Copy link
Member

@Centipede5, thanks for catching this. Yes, it's the issue with the latest update. I will fix it soon

zemlyansky added a commit that referenced this issue Jun 27, 2023
@zemlyansky
Copy link
Member

@Centipede5 the latest release includes implementation of the observer block in both blocks and flow-based views. Should be available on https://statsim.com/app/

The original messages example included some custom expressions, as (tau > _j) ? lambda1 : lambda2 or 1 / listMean(data). Those are not really obvious. So I made a flow-based version of the model: https://statsim.com/app/?m=messages-slice. Rather than relying on _j in the observer block, the messages vector (msg) is split on two vectors (msg_1, msg_2) based on tau and observed using lambda_1 and lambda_2 in corresponding observer blocks.

@Centipede5
Copy link
Author

@Centipede5 the latest release includes implementation of the observer block in both blocks and flow-based views. Should be available on https://statsim.com/app/

The original messages example included some custom expressions, as (tau > _j) ? lambda1 : lambda2 or 1 / listMean(data). Those are not really obvious. So I made a flow-based version of the model: https://statsim.com/app/?m=messages-slice. Rather than relying on _j in the observer block, the messages vector (msg) is split on two vectors (msg_1, msg_2) based on tau and observed using lambda_1 and lambda_2 in corresponding observer blocks.

https://statsim.com/app/?m=messages-slice
Is not loading for me

@zemlyansky zemlyansky reopened this Jun 29, 2023
@zemlyansky
Copy link
Member

zemlyansky commented Jun 29, 2023

@Centipede5, have you tried loading it on mobile? What browser? I made the flow-based view default for that model and it doesn't work well on small screens

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

No branches or pull requests

2 participants