quantified-uncertainty / squiggle

An estimation language
https://squiggle-language.com
MIT License
148 stars 22 forks source link

Editing Viewer State doesn't persist after there's an error #3125

Closed OAGr closed 3 months ago

OAGr commented 3 months ago

Description of suggestion or shortcoming:

Step 1: Expand either variables "a" or "b" in the viewer. Step 2: Edit the code, so that there's an error. Expectation: The viewer will crash

https://squigglehub.org/models/quri-squiggle-experiments/error-state-reset-bug

OAGr commented 3 months ago

Seems like the bug was introduced in 0.9.3 somehow.

I wonder if we could add a test for this, this is the second time it's come up.