quantified-uncertainty / squiggle

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

Add savable model default parameters to backend #3118

Closed OAGr closed 4 months ago

OAGr commented 4 months ago

Description of suggestion or shortcoming:

I want to add one of these soon (https://github.com/quantified-uncertainty/squiggle/issues/3117), so I imagine we might as well add a few at once.

We can add official editing support later.

Squiggle Hub already saves the seed.

Some other ones to do:

Or, in schema.prisma,

autorunMode  Boolean?
sampleCount Int?
pointSetLength Int?

These would be added to SquiggleSnippet in the DB/model.

We can manually adjust these, for now.