Commit Graph

632 Commits

Author SHA1 Message Date
1677d63375 fix: std of lognormal symbolic division 2022-04-14 21:54:06 -04:00
Quinn Dougherty
84b358397e .toml requires quotes around bash values 2022-04-14 21:52:03 -04:00
Quinn Dougherty
dec03d0590 declarative netlify 2022-04-14 21:40:38 -04:00
Ozzie Gooen
4918ee790a Merged with develop 2022-04-14 20:18:20 -04:00
Ozzie Gooen
e7d5fb4ad8 Changing styles of Playground 2022-04-14 20:16:15 -04:00
Quinn Dougherty
bf22c40a4b rm package-lock.json and rm website/yarn.lock 2022-04-14 19:29:03 -04:00
9910afd74b fix: Failing tests
The tests were wrong, not the code. Feels like it should be
the other way around
2022-04-14 16:52:36 -04:00
6d82adca25 Merge branch 'develop' into audit-2022-04-14-SymbolicDist.res 2022-04-14 16:50:37 -04:00
8cb689e661 fix: style 2022-04-14 16:38:12 -04:00
aad6a9c603 fix: Bad tests
These tests are failing because I increased the precision of a magic
constant.

This might be a signal that these are bad tests
2022-04-14 16:35:24 -04:00
bd3f2c99d1 tweak: add explanation for magic number 2022-04-14 16:25:15 -04:00
e5655dc2d1 fix: formatting 2022-04-14 16:20:23 -04:00
69148bb350 fix: Rescript bugs 2022-04-14 16:17:59 -04:00
Ozzie Gooen
8854eed91e
Merge pull request #242 from quantified-uncertainty/analytic-normal
Analytic normal
2022-04-14 16:11:36 -04:00
ec9c67f090 feat: Audit SymbolicDist.res
- Fix buggy lognormal multiplication code
- Add precision to 90% confidence intervals code
- Simplified lognormal code
- Added sources for many of the manipulations
2022-04-14 16:03:54 -04:00
Umur Ozkul
53c44cdc9d refactor macro definitions 2022-04-14 18:17:45 +02:00
Quinn
9ab511cd3c
Merge pull request #271 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/builder-webpack5-6.4.22
Bump @storybook/builder-webpack5 from 6.4.21 to 6.4.22
2022-04-14 11:28:33 -04:00
Quinn
99a91f4420
Merge pull request #270 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-17.0.24
Bump @types/node from 17.0.23 to 17.0.24
2022-04-14 11:28:18 -04:00
Quinn
01868179c9
Merge pull request #269 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/react-6.4.22
Bump @storybook/react from 6.4.21 to 6.4.22
2022-04-14 11:23:33 -04:00
dependabot[bot]
c92166b63b
Bump @storybook/builder-webpack5 from 6.4.21 to 6.4.22
Bumps [@storybook/builder-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/builder-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:22:13 +00:00
dependabot[bot]
a5e3e3cfb3
Bump @types/node from 17.0.23 to 17.0.24
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.23 to 17.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:22:10 +00:00
dependabot[bot]
bf91cfff03
Bump @storybook/react from 6.4.21 to 6.4.22
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/app/react)

---
updated-dependencies:
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:15:35 +00:00
dependabot[bot]
e236199186
Bump @storybook/addon-essentials from 6.4.21 to 6.4.22
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/addons/essentials)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:15:30 +00:00
Quinn
ef9352e209
Merge pull request #264 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/manager-webpack5-6.4.22
Bump @storybook/manager-webpack5 from 6.4.21 to 6.4.22
2022-04-14 11:14:43 -04:00
Quinn
a88d12d091
Merge pull request #267 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-links-6.4.22
Bump @storybook/addon-links from 6.4.21 to 6.4.22
2022-04-14 11:14:22 -04:00
Quinn
caf0e7a503
Merge pull request #265 from quantified-uncertainty/dependabot/npm_and_yarn/hast-util-is-element-2.1.2
Bump hast-util-is-element from 1.1.0 to 2.1.2
2022-04-14 11:12:04 -04:00
dependabot[bot]
b034b024a1
Bump @storybook/addon-links from 6.4.21 to 6.4.22
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:09:24 +00:00
dependabot[bot]
4ebde9c4ea
Bump @storybook/manager-webpack5 from 6.4.21 to 6.4.22
Bumps [@storybook/manager-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/manager-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:09:22 +00:00
Quinn
c678fcad79
Merge pull request #263 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/node-logger-6.4.22
Bump @storybook/node-logger from 6.4.21 to 6.4.22
2022-04-14 11:08:19 -04:00
Umur Ozkul
1fa1867470 Merge branch 'develop' into reducer-dev 2022-04-14 17:04:54 +02:00
Umur Ozkul
35f7077248 remove unused code 2022-04-14 17:02:01 +02:00
Umur Ozkul
fb63d44ab9 PR#226 2022-04-14 17:00:12 +02:00
dependabot[bot]
ad498a1a30
Bump hast-util-is-element from 1.1.0 to 2.1.2
Bumps [hast-util-is-element](https://github.com/syntax-tree/hast-util-is-element) from 1.1.0 to 2.1.2.
- [Release notes](https://github.com/syntax-tree/hast-util-is-element/releases)
- [Commits](https://github.com/syntax-tree/hast-util-is-element/compare/1.1.0...2.1.2)

---
updated-dependencies:
- dependency-name: hast-util-is-element
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 14:42:53 +00:00
dependabot[bot]
e463a6cf17
Bump @storybook/node-logger from 6.4.21 to 6.4.22
Bumps [@storybook/node-logger](https://github.com/storybookjs/storybook/tree/HEAD/lib/node-logger) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/lib/node-logger)

---
updated-dependencies:
- dependency-name: "@storybook/node-logger"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 14:42:23 +00:00
dependabot[bot]
1424206470
Bump @storybook/addon-actions from 6.4.21 to 6.4.22
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 14:41:53 +00:00
Quinn
a9cbcf2079
hotfix: develop-- branch deploy rather than deploy preview in module docstring 2022-04-13 21:12:40 -04:00
Umur Ozkul
9b4f397859 remove unnecessary rec 2022-04-14 03:10:45 +02:00
Ozzie Gooen
02bf4c6a8a
Merge pull request #257 from quantified-uncertainty/issue250
Improvements to `Means_test.res` (and `expectErrorToBeBounded`)
2022-04-13 21:03:33 -04:00
Umur Ozkul
de379b6c04 Merge branch 'develop' into reducer-dev 2022-04-14 03:03:08 +02:00
Quinn Dougherty
b3c0adcd30 last CR comments 2022-04-13 20:58:16 -04:00
Umur Ozkul
4512ad623a Add dead code analysis 2022-04-14 02:41:22 +02:00
Umur Ozkul
daf2a27182 PR#226, add missing variants to switch statements
Code is passing unit tests however there were missing variands. Fixed
2022-04-14 02:40:59 +02:00
Quinn Dougherty
99d1c345c5 CR comments 2022-04-13 19:58:36 -04:00
Ozzie Gooen
478bbf5740 First attempt at handling arrays and records 2022-04-13 19:37:59 -04:00
Quinn Dougherty
b0ff2c19f5 yarn format 2022-04-13 19:18:08 -04:00
Quinn Dougherty
24fe66c9d3 6/6 tasks done 2022-04-13 19:17:49 -04:00
Quinn Dougherty
6ffe2d4f34 cleaned up README and ran yarn format 2022-04-13 14:57:01 -04:00
Quinn Dougherty
b0cf8adb9f migrated invariants.md to docusaurus 2022-04-13 14:46:01 -04:00
Ozzie Gooen
bd10a0bbf8
Merge pull request #232 from quantified-uncertainty/testing-discipline-algebraic-operations
Testing discipline: algebraic operations
2022-04-13 14:00:58 -04:00
Quinn Dougherty
3bf571f953 CR comment 2022-04-13 12:06:50 -04:00
Quinn Dougherty
7e6a26a2d0 comments and type signatures 2022-04-13 11:54:37 -04:00
dependabot[bot]
443f8983a7
Bump react-scripts from 5.0.0 to 5.0.1
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@5.0.1/packages/react-scripts)

---
updated-dependencies:
- dependency-name: react-scripts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 14:46:52 +00:00
dependabot[bot]
8c89cf8922
Bump @types/react from 18.0.2 to 18.0.3
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.2 to 18.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 14:33:02 +00:00
Quinn Dougherty
165427f137 refactored to a higher level of abstraction 2022-04-13 10:30:23 -04:00
Quinn Dougherty
e9e6cab099 silenced warning about toString not having switch case for ArgumentError 2022-04-13 10:26:10 -04:00
Sam Nolan
948a8dd651 Add analytic solutions for normal and lognormal 2022-04-13 15:11:14 +10:00
Quinn Dougherty
b6e423a6e3 fixed bug after rebase: hope it doesn't cause problems 2022-04-13 01:08:51 -04:00
Quinn Dougherty
de81928ea9 Ran yarn format 2022-04-13 01:05:09 -04:00
Quinn Dougherty
8287f51aae yarn test:quick to skip invariants 2022-04-13 01:05:09 -04:00
Quinn Dougherty
72b557d64a renamed Algebra subdir to Invariants 2022-04-13 01:05:09 -04:00
Quinn Dougherty
af0577f85e test count: 386 2022-04-13 01:05:09 -04:00
Quinn Dougherty
59fcd6a26c intermediate commit to checkout something else 2022-04-13 01:05:08 -04:00
Quinn Dougherty
dd53c7554b (rebase): begin setup for big redo 2022-04-13 01:05:08 -04:00
Quinn Dougherty
396fb9f6b0 intermediate commit before I do a rebase 2022-04-13 01:05:08 -04:00
Quinn Dougherty
12d2397b57 improved messaging 2022-04-13 01:05:08 -04:00
Quinn Dougherty
49174827f8 (rebase): added more test 2022-04-13 01:05:08 -04:00
Quinn Dougherty
9d857bf79b (rebase): documented ratio of lognormals 2022-04-13 01:05:08 -04:00
Quinn Dougherty
a637fe5dff inv precise 2022-04-13 01:05:08 -04:00
Quinn Dougherty
a64cd75ead inv and cdf 2022-04-13 01:05:08 -04:00
Quinn Dougherty
6a4d615d3d (rebase): (rebase): (rebase): **refactor**: rm duplicated genericDist and error declarations 2022-04-13 01:04:53 -04:00
Sam Nolan
348b1c9ac6 Add normal distribution analytical simplifications 2022-04-13 14:36:30 +10:00
Sam Nolan
117c08bfa9 Fix unweighted average of distributions 2022-04-13 12:03:04 +10:00
Sam Nolan
38135f0c81 Merge branch 'develop' into mix-distributions 2022-04-13 11:22:43 +10:00
Quinn Dougherty
b17f638483 EBindings -> T.EBindings 2022-04-12 20:48:53 -04:00
Quinn Dougherty
4f95c019eb yarn format 2022-04-12 20:22:19 -04:00
Sam Nolan
e234951d62 Hotfix bundle failure 2022-04-13 10:14:11 +10:00
Sam Nolan
f2f885f269 Hotfix Typescript checker failing 2022-04-13 10:07:33 +10:00
Ozzie Gooen
263c4271bf
Merge pull request #226 from umuro/reducer-dev
Reducer dev
2022-04-12 19:49:27 -04:00
Umur Ozkul
fea990de2d Sam's patch PR#226 2022-04-13 01:34:06 +02:00
Umur Ozkul
d1ea15e4f9 fix ts export 2022-04-12 17:12:19 +02:00
Umur Ozkul
1b4422bb90 revise lisp references - close umuro/squiggle#50 2022-04-12 16:26:55 +02:00
Umur Ozkul
a95cdfabe3 dont use short Desc - close umuro/squiggle#51 2022-04-12 16:19:50 +02:00
Umur Ozkul
05b5efce18 remove -> in switch cases. close umuro/squiggle#59
squiggle
2022-04-12 16:15:27 +02:00
Umur Ozkul
4fe72b8fb4 remove Reduce_Expression.rsi.
Too many changes. Hot target. Preventing development
2022-04-12 15:47:46 +02:00
Umur Ozkul
9c7f930549 Merge branch 'develop' into reducer-dev
packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.resi
2022-04-12 15:46:48 +02:00
dependabot[bot]
7a160ad445
Bump @types/webpack from 4.41.32 to 5.28.0
Bumps [@types/webpack](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack) from 4.41.32 to 5.28.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webpack)

---
updated-dependencies:
- dependency-name: "@types/webpack"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 10:40:56 +00:00
Sam Nolan
f102d70d80 Add mixture alias 2022-04-12 17:45:44 +10:00
Sam Nolan
60a345dd6d Implement mx for distributions 2022-04-12 17:39:38 +10:00
Sam Nolan
d316ad0a07 Merge branch 'develop' into reducer-playground 2022-04-12 16:45:14 +10:00
Sam Nolan
e5f8b6c7d3 Fix build errors for components and lang 2022-04-12 16:21:32 +10:00
Sam Nolan
21458227ce Respond to reducer playground PR comments 2022-04-12 16:02:34 +10:00
Sam Nolan
440bfabffa Run prettier on monorepo + fix crashing playground 2022-04-12 15:41:36 +10:00
Quinn
8a69c54fd8
coverage:ci 2022-04-11 20:33:32 -04:00
Umur Ozkul
352cccaab8
Merge branch 'develop' into reducer-dev 2022-04-12 01:47:07 +02:00
Quinn
e1689664a3
Merge pull request #230 from quantified-uncertainty/dependabot/npm_and_yarn/testing-library/react-13.0.1
Bump @testing-library/react from 13.0.0 to 13.0.1
2022-04-11 19:22:49 -04:00
Quinn
49b9801006
Merge pull request #222 from quantified-uncertainty/quinn-dougherty-patch-1
A couple tiny hotfixes to opsy stuff
2022-04-11 19:21:05 -04:00
Quinn Dougherty
c7908e85a8 prettier is proper now with yarn scripts 2022-04-11 19:15:09 -04:00
dependabot[bot]
46651e45f5
Bump @testing-library/react from 13.0.0 to 13.0.1
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 13.0.0 to 13.0.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v13.0.0...v13.0.1)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 22:52:25 +00:00
Quinn Dougherty
a498ed4611 branch names in *.yml 2022-04-11 17:41:40 -04:00
Umur Ozkul
f0008c1e20 offer reducer:format as an example 2022-04-11 16:51:44 +02:00
Umur Ozkul
87116d12d5 reformat 2022-04-11 16:51:15 +02:00
Umur Ozkul
3a8e6a8f60 Merge branch 'staging' into reducer-dev 2022-04-11 16:42:37 +02:00
Umur Ozkul
660c0c70ae variables and statements
format only reducer

reformat lint

multi-line test

spelling

multi-line semantic mapping

todo multi-line eval

multi-line tests todo

change context to bindings

simplify tests

rename exception test methods

bindings is an expression value

make bindings callable

reformat

Emphasize the nature of Lisp AST

Initial definition of macros

make functions private

fixed functionNode type casting

macro call skeleton

sort ReducerInterface

fix test

macros skeleton

bindings is not a value

assignment semantics

let semantics defined

format

reformat

reformat

TODO function calls and list hd variables are confused

reformat

tmp

works

reformat

reformat

add test

reformat

add test
2022-04-11 16:31:10 +02:00
Quinn Dougherty
af3cab01bc added .resi files to lint checker 2022-04-11 09:35:25 -04:00
Sam Nolan
26433c5289 Fix failing tests based on new toString 2022-04-11 16:31:54 +10:00
Sam Nolan
0d9e8c64c3 Merge branch 'staging' into reducer-playground 2022-04-11 16:21:51 +10:00
Sam Nolan
cb07f5f68a A playground based on reducer 2022-04-11 16:16:29 +10:00
Quinn Dougherty
16258c2538 install dependencies in lint job 2022-04-11 01:27:21 -04:00
Quinn Dougherty
9f97213ec5 added deeper path in lint.sh 2022-04-11 01:24:56 -04:00
Quinn Dougherty
3f2cd652d4 path to rescript executable in lint.sh 2022-04-11 01:23:09 -04:00
Quinn Dougherty
3689caa1fc finally nailed the triggers! (I hope) 2022-04-11 01:08:54 -04:00
Quinn Dougherty
d4b00b15c1 debugging triggers again 2022-04-11 01:05:47 -04:00
Quinn Dougherty
19d5fa109b rescript format on DistPlus.res 2022-04-11 00:59:47 -04:00
Quinn Dougherty
518f082c53 (rebase): A rescript linter! 2022-04-11 00:24:12 -04:00
Quinn Dougherty
00e98766cb a rescript linter! 2022-04-11 00:23:15 -04:00
Quinn Dougherty
e4e8e4b847 ran rescript format on ProgramEvaluator.res 2022-04-11 00:23:15 -04:00
Sam Nolan
61b589d0bd Change typescript interface to reducer 2022-04-11 13:16:31 +10:00
Ozzie Gooen
531fd06eb7 Made playground its own page 2022-04-10 21:48:17 -04:00
Sam Nolan
abb41871d7
Merge pull request #221 from QURIresearch/ts-interface-typing
Ts interface typing
2022-04-11 11:25:59 +10:00
Sam Nolan
6565d97f53 Rename eval to evaluate
eval is a JS keyword
2022-04-11 11:18:38 +10:00
Sam Nolan
d6c541036f Run prettier + add missing pointWiseAdd signature 2022-04-11 11:08:34 +10:00
Sam Nolan
8f49b64083 Fix failing lang tests due to rename 2022-04-11 11:06:13 +10:00
Sam Nolan
e5baf23950 Run prettier in squiggle-lang 2022-04-11 10:51:43 +10:00
Sam Nolan
1825b1f250 Type the lang typescript interface 2022-04-11 10:48:45 +10:00
Sam Nolan
b15cd7536c Rename Javascript-library file 2022-04-11 10:38:13 +10:00
Sam Nolan
3db9f066fe Fix dead footer link causing build errors 2022-04-11 10:37:08 +10:00
Sam Nolan
da9ee2aaee Create sidebar tree 2022-04-11 10:13:11 +10:00
Sam Nolan
eeb6243bc4 Updated link to storybook 2022-04-11 09:52:39 +10:00
Sam Nolan
a639759f86 Change main branch to master in website 2022-04-11 09:27:36 +10:00
Sam Nolan
efb0f5e05a Run prettier on website code 2022-04-11 09:15:46 +10:00
Sam Nolan
79ac1700d1 Include a playground in the squiggle website 2022-04-11 09:14:39 +10:00
Ozzie Gooen
e1d7a3ff7d
Merge pull request #197 from QURIresearch/Components-improvement-april-2
Components improvement april 2
2022-04-10 18:28:28 -04:00
dependabot[bot]
57253f1c2d
Bump @types/react from 17.0.44 to 18.0.1
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.44 to 18.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-10 18:08:29 +00:00
Quinn Dougherty
36c8bed1c2 react-ace 2022-04-10 13:55:58 -04:00
Quinn Dougherty
4d6f4fd641 rm playground/package.json 2022-04-10 13:37:10 -04:00
Ozzie Gooen
eecd501d04 Merged with master 2022-04-10 13:22:57 -04:00
Ozzie Gooen
ce4eaa7daa Merge branch 'staging' into Components-improvement-april-2
* staging: (41 commits)
  Fixed tests
  Samples_test -> SampleSetDist_test
  Bandwidth -> SampleSetDist_Bandwidth
  Added genType to SampleSetDist to make pass tests, other minor fixes
  Power should be ** to be consistent
  Cleaned up resultStringToResultError
  Cleanup from previous refactor
  Start of refactor for toPointSetDist
  Gave SampleSetDist a private type
  Namechange: Exponential -> Power
  Cleanup and commenting for PR
  Added more tests to JS__Test.ts, and added SampleN functionality to SampleSetDist
  Added tests for index.js and fixed some corresponding functionality
  Minor refactor of DistributionOperation Constructors
  Fix from CR
  Added to index.ts
  Added a bunch of manual functions for DistributionOperation
  Update README.md
  Cleanup from merge
  Added sparkline and toString to ReducerInterface
  ...
2022-04-09 22:04:08 -04:00
Ozzie Gooen
c94a70b93a Fixed tests 2022-04-09 21:56:05 -04:00
Ozzie Gooen
ec5dc4667f Samples_test -> SampleSetDist_test 2022-04-09 21:39:10 -04:00
Ozzie Gooen
5b0efbb3a8 Bandwidth -> SampleSetDist_Bandwidth 2022-04-09 21:31:34 -04:00
Ozzie Gooen
4338f482ef Added genType to SampleSetDist to make pass tests, other minor fixes 2022-04-09 21:24:44 -04:00
Ozzie Gooen
9ad73fe69b Power should be ** to be consistent 2022-04-09 20:36:33 -04:00
Ozzie Gooen
db104694fd Cleaned up resultStringToResultError 2022-04-09 20:34:21 -04:00
Ozzie Gooen
f17a842c52 Cleanup from previous refactor 2022-04-09 20:27:03 -04:00
Ozzie Gooen
fa3d874a4e Start of refactor for toPointSetDist 2022-04-09 20:21:02 -04:00
Ozzie Gooen
61aaca3e2f Gave SampleSetDist a private type 2022-04-09 18:10:06 -04:00
Ozzie Gooen
9430653b7a Namechange: Exponential -> Power 2022-04-09 12:37:26 -04:00
Ozzie Gooen
54b6b18d3a Cleanup and commenting for PR 2022-04-08 22:55:06 -04:00
Ozzie Gooen
2dc57bedc5 Added more tests to JS__Test.ts, and added SampleN functionality to SampleSetDist 2022-04-08 21:31:08 -04:00
Ozzie Gooen
0af0c9e274 Added tests for index.js and fixed some corresponding functionality 2022-04-08 19:48:53 -04:00
Ozzie Gooen
d62ccc27bd Minor refactor of DistributionOperation Constructors 2022-04-08 16:09:00 -04:00
Ozzie Gooen
4c99a50d89 Fix from CR 2022-04-08 15:57:18 -04:00
Ozzie Gooen
e065a57a66 Added to index.ts 2022-04-08 15:55:04 -04:00
Ozzie Gooen
57196c568b Added a bunch of manual functions for DistributionOperation 2022-04-08 14:42:14 -04:00
Quinn
f67ed3708b
Merge pull request #195 from QURIresearch/dependabot/npm_and_yarn/testing-library/jest-dom-5.16.4
Bump @testing-library/jest-dom from 5.16.3 to 5.16.4
2022-04-08 10:53:17 -04:00
dependabot[bot]
1c9974e26f
Bump react-vega from 7.4.4 to 7.5.0
Bumps [react-vega](https://github.com/vega/react-vega) from 7.4.4 to 7.5.0.
- [Release notes](https://github.com/vega/react-vega/releases)
- [Changelog](https://github.com/vega/react-vega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vega/react-vega/compare/v7.4.4...v7.5.0)

---
updated-dependencies:
- dependency-name: react-vega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 14:48:09 +00:00
dependabot[bot]
31bf69f7ce
Bump @testing-library/jest-dom from 5.16.3 to 5.16.4
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.3 to 5.16.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.3...v5.16.4)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 14:48:06 +00:00
Quinn
0e3c4f46d6
Merge pull request #205 from QURIresearch/dependabot/npm_and_yarn/types/react-18.0.0
Bump @types/react from 17.0.39 to 18.0.0
2022-04-08 10:47:03 -04:00
Quinn
ba0181bade
Merge pull request #201 from QURIresearch/dependabot/npm_and_yarn/packages/components/types/react-dom-18.0.0
Bump @types/react-dom from 17.0.15 to 18.0.0 in /packages/components
2022-04-08 10:46:48 -04:00
dependabot[bot]
77f404fc78
Bump @types/react from 17.0.39 to 18.0.0
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.39 to 18.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 14:42:59 +00:00
Quinn
f2245c3617
Merge pull request #208 from QURIresearch/dependabot/npm_and_yarn/mathjs-10.4.3
Bump mathjs from 10.4.2 to 10.4.3
2022-04-08 10:41:58 -04:00
dependabot[bot]
cc10aee2d9
Bump @types/react-dom from 17.0.15 to 18.0.0 in /packages/components
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.15 to 18.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 14:41:24 +00:00
dependabot[bot]
fbce9e4e40
Bump mathjs from 10.4.2 to 10.4.3
Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.4.2 to 10.4.3.
- [Release notes](https://github.com/josdejong/mathjs/releases)
- [Changelog](https://github.com/josdejong/mathjs/blob/develop/HISTORY.md)
- [Commits](https://github.com/josdejong/mathjs/compare/v10.4.2...v10.4.3)

---
updated-dependencies:
- dependency-name: mathjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 14:35:38 +00:00
dependabot[bot]
4fe618128d
Bump @types/react from 17.0.44 to 18.0.0 in /packages/components
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.44 to 18.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 14:34:26 +00:00
Ozzie Gooen
6634718ba9 Cleanup from merge 2022-04-08 09:32:48 -04:00
Ozzie Gooen
4b103cb128 Merged with staging 2022-04-08 09:19:03 -04:00
Ozzie Gooen
937a8482fd Added sparkline and toString to ReducerInterface 2022-04-08 09:08:49 -04:00
Ozzie Gooen
837088a9c6 Refactored tests to use GenericOperation 2022-04-08 08:53:37 -04:00
Ozzie Gooen
0fa954ae63 Improves sparklines by integrating them more deeply to the codebase 2022-04-08 08:44:04 -04:00
Ozzie Gooen
005d617dcf Changed size of discrete component points 2022-04-08 07:47:56 -04:00
Umur Ozkul
1d550353c9 Merge branch 'staging' into reducer-dev 2022-04-08 11:09:46 +02:00
Sam Nolan
b8d07bd8a4 Add explaining comment to diff 2022-04-08 16:59:15 +10:00
Sam Nolan
d6e18b1c4f Respond to Ozzie's PR comments 2022-04-08 16:51:38 +10:00
Sam Nolan
5a2c4c8aec Fix build error in test (rangeFloat) 2022-04-08 11:17:56 +10:00
Sam Nolan
a99290ea43 Rename rangeByFloat to rangeFloat 2022-04-08 11:09:31 +10:00
Sam Nolan
bf2f85a8ab Respond to sparkline PR change requests 2022-04-08 11:02:41 +10:00
Quinn
67bcd7052b
Merge pull request #192 from QURIresearch/testing-discipline-two
symbolic dists tests (april 6)
2022-04-07 20:59:37 -04:00
Sam Nolan
53f4e56529 Implement generic sparklines with tests 2022-04-08 10:17:01 +10:00
Quinn Dougherty
9764a4cab8 one last CR comment 2022-04-07 20:13:08 -04:00
Quinn Dougherty
72be08a516 CR comments from #192 2022-04-07 18:38:49 -04:00
Quinn Dougherty
d582e29e8b CR comment #1 2022-04-07 14:33:49 -04:00
Quinn Dougherty
72cfbf14c2 test cases for lognormal uniform mixture 2022-04-07 13:50:11 -04:00
Quinn Dougherty
94db348db5 calling it a night on 192 (pending CR) 2022-04-07 13:33:12 -04:00
Ozzie Gooen
b85c4f9a6b Separated out parts of SquiggleChart, and renamed files around 2022-04-07 13:26:47 -04:00
Ozzie Gooen
382733e6f3 Show errors in FunctionChart 2022-04-07 11:26:18 -04:00
Quinn
bb65f5c859
Merge pull request #178 from QURIresearch/dependabot/npm_and_yarn/prettier-2.6.2
Bump prettier from 2.6.1 to 2.6.2
2022-04-07 11:04:05 -04:00
dependabot[bot]
3f2d132e6c
Bump prettier from 2.6.1 to 2.6.2
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.1...2.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 14:59:03 +00:00
dependabot[bot]
1440577f53
Bump webpack-dev-server from 4.7.4 to 4.8.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.7.4 to 4.8.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.7.4...v4.8.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 14:58:51 +00:00
Quinn Dougherty
db05541a7b up to 186 tests 2022-04-07 10:55:51 -04:00
dependabot[bot]
509af80b36
Bump webpack from 5.71.0 to 5.72.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.71.0 to 5.72.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.71.0...v5.72.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 14:52:15 +00:00
Quinn Dougherty
a00772ef5c tiny cleanup 2022-04-07 10:21:48 -04:00
Ozzie Gooen
f63c775cb6 Simple implementation of function hover working 2022-04-07 09:53:45 -04:00
Quinn Dougherty
c50f8a3273 backed out of rescript-fast-check 2022-04-07 08:55:52 -04:00
Ozzie Gooen
624e788094 Cleaning axis of vega graphs 2022-04-07 07:56:17 -04:00
Ozzie Gooen
f8af290bcf Responded to code review comments 2022-04-07 07:28:33 -04:00
Quinn Dougherty
e89042406b some cleanup of files 2022-04-06 23:01:17 -04:00
Quinn Dougherty
45c6eec7da some fun with testAll. 2022-04-06 22:24:00 -04:00
Ozzie Gooen
3c5a9bb4d6 Merged with staging 2022-04-06 22:11:08 -04:00
Ozzie Gooen
2d12e6b3ef Small padding increase to SquiggleEditor Input 2022-04-06 21:51:04 -04:00
Ozzie Gooen
7d086a9cde Added simple error component to SquiggleChart, when return is error 2022-04-06 21:37:08 -04:00