Announcing Squiggle Hub

By Ozzie Gooen, Slava Matyukhn @ 2023-08-05T00:55 (+131)

Very simple example, for demonstration 

Overview

Squiggle Hub is a platform for the creation and sharing of code written in Squiggle. As with Squiggle, Squiggle Hub is free and open-source

As a refresher, Squiggle is a simple programming language for probabilistic estimation that runs on Javascript. It begins with the syntax of Guesstimate, but generally adds a lot more functionality. See its launch post here for more information, or the website for the full documentation.

Squiggle Hub is a lot like a more powerful, but less visual, version of Guesstimate. We hope that it will eventually be much more valuable than Guesstimate is now. 

If you can use Guesstimate, you can basically use Squiggle. If you already use Guesstimate, try using the same syntax in Squiggle. It should mostly work.

All models on Squiggle Hub are public. We've produced several small ones so far, and a few friends have written some as well. We're looking forward to seeing what others make!

Looking for Squiggle examples? We’ve organized some in the docs. The Squiggle EA Forum Tag also has an updating list. 

Key Links

Functionality

Squiggle (the language)

Squiggle Editor (The window on the left)

Squiggle Viewer (The window on the right)

Squiggle Hub (Outside the editor)

Recommended Use Cases

Squiggle Hub is somewhat straightforward, but very general-purpose. Our main hope is that it will be used for effective altruist use cases, but we imagine there are many ways it could help do so. It will likely take time to see what’s best. 

Some examples of how we envision Squiggle Hub being used:

Future Work

We are planning to add numerous features. This includes:

We've listed some of our planned features in this model.

For input on these or any other features, please connect with us on Discord or through the Github Discussion.

Relative Values

Squiggle Hub currently supports experimental relative values, with future improvements planned. These are currently partially broken and undocumented, we are in the process of improving it.

Theory: A Middle Path between Spreadsheets and Code Editors

Squiggle and Squiggle Hub are an interesting intersection between spreadsheets and programming environments.

Spreadsheets typically are made for:

Meanwhile, programming environments typically are made for:

In comparison, Squiggle/Squiggle Hub are meant as a “middle path” between these two extremes.

We think that this middle road is both neglected and promising. However, because it’s neglected, it’s taking time to design, and we expect that it will take more time for users to figure out how to best utilize it.

Notebooks, like Jupyter, are one distinct option of a middle path. However, notebooks have significant limitations; they’re nice for editing and demos, but not great for being part of a larger codebase. We might add something like notebooks to Squiggle Hub later on, but wanted to begin with something else first. 

Team & Funding

Donations

You can support the development of Squiggle and Squiggle Hub by donating to QURI here. We are currently actively fundraising for the next year of development. Get in touch if you might be interested!

Organization and Funding

Squiggle is now the main project of The Quantified Uncertainty Research Institute. QURI is a 501(c)(3) primarily funded by the LTFF and SFF. QURI is fiscally sponsored by Rethink Priorities.

Contributors

Squiggle has very much been a collaborative effort. You can see a list of contributors hereSquiggle Hub has been developed by Slava Matyuhin and Ozzie Gooen.

[1] Right now, the online Observable and Obsidian support is for an old version of Squiggle. We plan on updating this eventually. If this is important for you, let us know.


Ozzie Gooen @ 2023-08-13T16:21 (+8)

Update: We support private models now!

finm @ 2023-08-06T12:57 (+6)

I got a lot of value out of Guesstimate, and this (plus Squiggle itself) looks like a big step up. So thanks, and kudos!

(Also — both this new site and the Squiggle lang seem generally useful far beyond EA / x-risk contexts; e.g. for consultancies / policy planning / finance. I'd be interested to see if it catches on more widely.)

Ozzie Gooen @ 2023-08-17T13:54 (+2)

Update: We just released v0.8.4, with several small improvements.
https://github.com/quantified-uncertainty/squiggle/releases/tag/%40quri%2Fsquiggle-lang%400.8.4