An estimation language https://www.squiggle-language.com/
Go to file
NunoSempere d9a40c973a feat: Get KL divergence working except in case of numerical errors ()
- Quinn was of great help here.
- I also left some dead code, which still has to be cleaned up
- There are still very annoying numerical errors, so I left one test
failing. These are due to how the interpolation is done
- Quinn to pick up from here

Value: [0.6 to 2]
2022-05-06 12:26:51 -04:00
.github Hotfix: reducer-dev pr trigger 2022-04-27 12:10:32 -04:00
examples Language.mdx changes and examples 2022-04-27 14:49:15 -04:00
packages feat: Get KL divergence working except in case of numerical errors () 2022-05-06 12:26:51 -04:00
.gitignore ops for nixos, gitignore'd ts-lsp .log 2022-04-19 13:32:35 -04:00
.prettierignore Added toPointSet and toSampleSet to functions reference 2022-04-27 11:50:24 -04:00
CONTRIBUTING.md Fixed the linting of reducer files 2022-04-23 12:25:33 -04:00
LICENSE Added license 2020-02-09 22:27:55 +00:00
nixos.sh code review. 2022-04-20 18:48:04 -04:00
package.json Fix unweighted average of distributions 2022-04-13 12:03:04 +10:00
README.md version increment; piggyback README.md improvements 2022-04-28 19:06:39 -04:00
yarn.lock ⬆️ Bump @docusaurus/preset-classic 2022-05-05 14:55:35 +00:00

Squiggle

Packages check npm version - lang npm version - components License: MIT codecov

An estimation language.

Get started

Our deployments

Packages

This monorepo has several packages that can be used for various purposes. All the packages can be found in packages.

  • @quri/squiggle-lang in packages/squiggle-lang contains the core language, particularly an interface to parse squiggle expressions and return descriptions of distributions or results.
  • @quri/squiggle-components in packages/components contains React components that can be passed squiggle strings as props, and return a presentation of the result of the calculation.
  • packages/website is the main descriptive website for squiggle, it is hosted at squiggle-language.com.

The playground depends on the components library which then depends on the language. This means that if you wish to work on the components library, you will need to build (no need to bundle) the language, and as of this writing playground doesn't really work.

Develop

For any project in the repo, begin by running yarn in the top level

yarn

See packages/*/README.md to work with whatever project you're interested in.

Contributing

See CONTRIBUTING.md.