Skip to content
Longterm Wiki

Announcing Squiggle Hub

web

Metadata

Cited by 1 page

Cached Content Preview

HTTP 200Fetched May 1, 202614 KB
## Overview

[Squiggle Hub](https://squigglehub.org/?ref=quantifieduncertainty.org) is a platform for the creation and sharing of code written in [Squiggle](https://www.squiggle-language.com/?ref=quantifieduncertainty.org). As with Squiggle, Squiggle Hub is free and [open-source](https://github.com/quantified-uncertainty/squiggle?ref=quantifieduncertainty.org).

As a refresher, [Squiggle](https://www.squiggle-language.com/?ref=quantifieduncertainty.org) 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](https://forum.effectivealtruism.org/posts/TfPdb2aMKzgWXFvc3/announcing-squiggle-early-access?ref=quantifieduncertainty.org) for more information, or [the website](https://www.squiggle-language.com/?ref=quantifieduncertainty.org) for the full documentation.

Squiggle Hub is a lot like a more powerful, but less visual, version of [Guesstimate](https://www.getguesstimate.com/?ref=quantifieduncertainty.org). 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 also written some. We're looking forward to seeing what others make!

Looking for Squiggle examples? We’ve organized [some in the docs](https://www.squiggle-language.com/docs/Ecosystem/Gallery?ref=quantifieduncertainty.org).

### **Key Links**

- [Squiggle Hub](https://squigglehub.org/?ref=quantifieduncertainty.org)
- [Squiggle Discord](https://discord.gg/nsTnQTgtG6?ref=quantifieduncertainty.org)
- [The Squiggle Language Homepage](https://www.squiggle-language.com/?ref=quantifieduncertainty.org)
- [Squiggle Newsletter (Part of the QURI Newsletter)](https://quri.substack.com/t/squiggle?ref=quantifieduncertainty.org)

## Functionality

**Squiggle (the language)**

- Write functions that accept and return probability distributions. Squiggle generates automatic plots for these.
- You can provide [explicit ranges for functions](https://raw.githubusercontent.com/quantified-uncertainty/squiggle/main/packages/website/allContent.txt?ref=quantifieduncertainty.org). This helps with the visualization, and ensures they won't be called outside that range. Like, appleStockPrice(t:\[2023, 2060\]).
- [Custom plots](https://www.squiggle-language.com/docs/Api/Plot?ref=quantifieduncertainty.org) for distributions and functions. Scales include linear, log, and symlog (like log, but with support for negative values). Symlog scales accept a parameter constant that you can use for adjusting the scale.
- Make custom [tables](https://www.squiggle-language.com/docs/Api/Table?ref=quantifieduncertainty.org) of any data and functions, with Table.make({data, columns}).
- Automatic conversion of Mon

... (truncated, 14 KB total)
Resource ID: 591dfcf68cac81f1 | Stable ID: sid_Y4odXnlVRw