Ideas for Models that run too long #2390
OAGr
started this conversation in
Squiggle Improvement Proposal
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I often have an issue where I accidentally edit a model so that it takes 60+ seconds to load, and the tab crashes. This could either be because the Squiggle code took too long to run, or the React components took too long.
Some ideas that would help:
a. We save to the local storage the fact that the run did not complete. When the user refreshes the page, they see an option to have autorun turn off (or we just automatically turn it off).
b. On the "Unsaved Draft" page, we either don't "Run" the new code immediately, or we provide some option for this.
c. On that note, maybe it would be simple/good to just turn autorun to off whenever something seems off. We'd just need some way to alert this to the user.
d. We have some option, when opening a model, to open it up without being immediately run.
Beta Was this translation helpful? Give feedback.
All reactions