Commit Graph

1104 Commits

Author SHA1 Message Date
Sam Nolan
f9c02ba626 Refactor and rename checkOrdered 2022-04-25 14:50:45 -04:00
Quinn Dougherty
e4ad5425c9 Moved dependencies to devDependencies; updated versions
Value: [0.1 to 0.67]
2022-04-25 14:44:10 -04:00
Quinn Dougherty
5a00942018 rm react-codejar 2022-04-25 14:38:13 -04:00
Quinn Dougherty
c6f6ff4c73 Mistake in #371
Value: [0.12 to 0.8]
2022-04-25 14:35:45 -04:00
Sam Nolan
b1c79aba28 Fix build issues in components
Value: [0.5 to 5]
2022-04-25 12:55:15 -04:00
Umur Ozkul
7d4e3072b8 commite related issue note 2022-04-25 18:35:15 +02:00
Sam Nolan
3b160a901b Merge branch 'develop' into dev-dependencies 2022-04-25 12:32:17 -04:00
Sam Nolan
331e14b752 Move dependencies to devDependencies
Value: [0.5 to 10]
2022-04-25 12:27:34 -04:00
Umur Ozkul
6878523186 cancel performance hook 2022-04-25 18:27:04 +02:00
Sam Nolan
d7151907d3 Ensure xyShape is ordered by x coordinates when multiplying by negatives
Value: [0.00001 to 0.0005]
2022-04-25 11:44:50 -04:00
Umur Ozkul
335d54bb6b Merge branch 'reducer-dev' of github.com:quantified-uncertainty/squiggle into Umur-reducer-dev 2022-04-25 17:42:43 +02:00
Umur Ozkul
d00834bbe0 fix spelling - PR#366 2022-04-25 17:42:21 +02:00
Umur Ozkul
ac8827da28 ternary with bindings (failed) 2022-04-25 17:15:28 +02:00
Sam Nolan
fe493af0b9 Merge branch 'develop' into commutative-error 2022-04-25 11:00:45 -04:00
dependabot[bot]
9137581ce0
⬆️ Bump @types/node from 17.0.25 to 17.0.26
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.25 to 17.0.26.
- [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-25 14:49:28 +00:00
dependabot[bot]
666aef13dd
⬆️ Bump antd from 4.19.5 to 4.20.0
Bumps [antd](https://github.com/ant-design/ant-design) from 4.19.5 to 4.20.0.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/4.19.5...4.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 14:41:12 +00:00
Umur Ozkul
cbc2b73b20 Evaluate ternary operator (tested) 2022-04-25 16:19:56 +02:00
Sam Nolan
d60aaa57f7 Get tests to pass for Reducer code
Value: [0.0001 to 0.04]
2022-04-25 10:10:07 -04:00
Sam Nolan
7e4477aeda Format Reducer code
Value: [0.0000001 to 0.0005]
2022-04-25 10:00:27 -04:00
Umur Ozkul
c810c4576d reducer semantics ternary (tested) 2022-04-25 15:30:27 +02:00
Umur Ozkul
4d801c0b10 ternary operator mathjs parse (tested) 2022-04-25 15:11:50 +02:00
Umur Ozkul
3788cb0c9a fix variant warnings 2022-04-25 10:52:13 +02:00
Umur Ozkul
c7be293466 remove duplicate debug test case 2022-04-25 09:57:14 +02:00
Umur Ozkul
8d92941736 Merge branch 'develop' into Umur-reducer-dev 2022-04-25 09:28:53 +02:00
Umur Ozkul
6a87e8db28 index.ts FAILURE!!!! 2022-04-25 09:20:27 +02:00
Umur Ozkul
c5e08cfdb6 modify lambda 2022-04-25 09:17:38 +02:00
Umur Ozkul
eba087329f called lamda with arguments (tested) 2022-04-25 08:49:17 +02:00
Umur Ozkul
1fb9218a94 refactor passToFunction 2022-04-25 08:19:18 +02:00
Umur Ozkul
d214bddc82 lambda expressions bound to function call symbols 2022-04-25 06:30:25 +02:00
Umur Ozkul
7b080ff4c2 bind function calls 2022-04-25 03:01:58 +02:00
Umur Ozkul
e3ef08839f Function definition evaluated 2022-04-25 02:48:49 +02:00
Umur Ozkul
1f989de11c lambda binding 2022-04-25 01:53:37 +02:00
Umur Ozkul
5d88fae40c internalCode 2022-04-25 01:16:41 +02:00
Umur Ozkul
fe4e355fbe format 2022-04-24 18:42:54 +02:00
Ozzie Gooen
5563a5dc40 Prettier 2022-04-23 19:18:02 -04:00
Ozzie Gooen
217361b843 Tried to fix tests of math issues 2022-04-23 19:07:32 -04:00
Ozzie Gooen
260d159500 Make sure pointSetDist toPointSet is normalized 2022-04-23 18:29:58 -04:00
Ozzie Gooen
51e2cf167c Turned error into actual error 2022-04-23 18:07:26 -04:00
Ozzie Gooen
1102ceb4ec Show correct errors early on when log(distribution) has bad arguments 2022-04-23 17:51:41 -04:00
Sam Nolan
8cb138b84a Fix convolution for negative multiplication 2022-04-23 17:48:00 -04:00
Ozzie Gooen
296bc44a0d
Merge pull request #357 from quantified-uncertainty/hotfix-negative-multiply
Prevent negative standard deviation in symbolic multiplication
2022-04-23 17:41:23 -04:00
Sam Nolan
ee6551a694 Prevent negative standard deviation in symbolic multiplication
Introduced in #242
2022-04-23 16:57:06 -04:00
Sam Nolan
9090c44284 Fix subtraction not commuting under pointsets 2022-04-23 15:58:42 -04:00
Umur Ozkul
88b6d49ad3 function definition parse (tested) 2022-04-23 21:13:43 +02:00
Sam Nolan
86e3d5865e Change components to return result rather than environment 2022-04-23 15:02:44 -04:00
Sam Nolan
dfd2f83c9d
Merge pull request #345 from quantified-uncertainty/invalid-ops
Change NaN operations to results
2022-04-23 14:51:50 -04:00
Sam Nolan
df4b734a49 Rename invalidOperationError 2022-04-23 14:35:49 -04:00
Sam Nolan
4544268429 Clean up means testing to remove some duplication 2022-04-23 14:25:08 -04:00
Sam Nolan
b44a955338 Fix bundle errors 2022-04-23 14:16:11 -04:00
Sam Nolan
7e8c16b923 Rename Other to OtherError 2022-04-23 14:13:38 -04:00
Sam Nolan
c7e601e15b Remove NaN from pointwise operations 2022-04-23 14:09:06 -04:00
Ozzie Gooen
21975f2c0b Fixed the linting of reducer files 2022-04-23 12:25:33 -04:00
Umur Ozkul
a915e68049 MathJs functionAssingmentNode parsed, comments passed (tested)
Just found out that comments were already done
2022-04-23 18:07:47 +02:00
Ozzie Gooen
d6e4f77624
Merge pull request #333 from quantified-uncertainty/reducer-dev
Bindings in and Out
2022-04-23 12:06:49 -04:00
Sam Nolan
98bf4f81c7 Rename assertOk to toExn 2022-04-23 10:30:03 -04:00
Sam Nolan
9fb7148290 Refactor mapY and mapYResult in mixed to remove duplication 2022-04-23 10:17:07 -04:00
Sam Nolan
ad593e659b Move error types to types modules 2022-04-23 09:56:47 -04:00
Sam Nolan
79af95ed78 Remove unneeded prefix to error 2022-04-23 09:47:48 -04:00
Umur Ozkul
99906446c5 resi declaration consistency 2022-04-23 15:40:04 +02:00
Umur Ozkul
e456726e53 Merge branch 'reducer-dev-F-debugging' into Umur-reducer-dev 2022-04-23 15:21:11 +02:00
Umur Ozkul
8a9d02168e Merge branch 'Umur-develop' into Umur-reducer-dev 2022-04-23 15:19:38 +02:00
Quinn
8d0d92fbdc
hotfix: remove concatmult 2022-04-22 21:11:42 -04:00
Sam Nolan
9c92d93ca4 Fix bad validation math 2022-04-22 17:21:45 -04:00
Ozzie Gooen
501ca2e73d
Merge pull request #338 from quantified-uncertainty/grammar-new110-26
grammar document
2022-04-22 17:19:11 -04:00
Sam Nolan
508f673873 Change NaN operations to results
- Also deleting old GenericDist_Types
- Also removing some string errors
2022-04-22 16:27:17 -04:00
Umur Ozkul
875f0519ac fixed - PR#333 kill W in evaluatePartialWBindings
renamed to evaluatePartialUsingExternalBindings
2022-04-22 22:19:59 +02:00
Umur Ozkul
2c7e6c750b fix PR#333 - kill W in evalaluateWBindings
renamed to evaluateUsingExternalBindings
2022-04-22 22:15:06 +02:00
Quinn Dougherty
1984dd55b4 lambdas; arrays and records in expr; multi-argument functions 2022-04-22 15:46:22 -04:00
Umur Ozkul
a4aee41aa4 Merge branch 'develop' into reducer-dev 2022-04-22 21:19:11 +02:00
Umur Ozkul
b683e720f1 PR#333 2022-04-22 21:16:27 +02:00
Umur Ozkul
c79685699e Merge branch 'Q-reducer-dev' into reducer-dev 2022-04-22 20:59:43 +02:00
Umur Ozkul
0ccbf607a2 ternary operator tests defined and skipped 2022-04-22 20:57:07 +02:00
Quinn Dougherty
7035b581a6 2/3 todos 2022-04-22 14:00:31 -04:00
Sam Nolan
2845bd3e39 Use a more conservative convolution policy 2022-04-22 12:43:18 -04:00
Quinn Dougherty
8f2d0f06f0 CR comments; other things 2022-04-22 12:42:05 -04:00
Quinn
b67899f1f5
Adjusted coverage:ts and coverage:ts:ci scripts 2022-04-22 12:21:02 -04:00
Sam Nolan
efc6237ae6 Fix Coverage CI issue 2022-04-22 11:31:37 -04:00
Sam Nolan
103a3d5987 Merge branch 'develop' into reducer-dev 2022-04-22 11:17:41 -04:00
Ozzie Gooen
998128033f
Merge pull request #340 from quantified-uncertainty/dependabot/npm_and_yarn/types/react-dom-18.0.2
⬆️ Bump @types/react-dom from 18.0.1 to 18.0.2
2022-04-22 11:09:00 -04:00
Ozzie Gooen
92cdcb1355
Merge branch 'develop' into remove-docsify 2022-04-22 11:08:29 -04:00
Sam Nolan
ad8be5273f Merge branch 'develop' into reducer-dev 2022-04-22 11:04:43 -04:00
Sam Nolan
cb8ff92d4e Fix webpack bundle errors 2022-04-22 10:48:34 -04:00
Ozzie Gooen
d43027418d
Merge pull request #332 from quantified-uncertainty/fix-warnings
Fix warnings
2022-04-22 10:39:15 -04:00
Sam Nolan
a590a84e33 Remove Docsify as dependency 2022-04-22 10:32:29 -04:00
dependabot[bot]
613c37fa98
⬆️ Bump @types/react-dom from 18.0.1 to 18.0.2
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.0.1 to 18.0.2.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 14:27:59 +00:00
Sam Nolan
3da34a59ff Removed bs-json as a dependency 2022-04-22 10:23:27 -04:00
Umur Ozkul
9ce5ed53d2 inspectPerformance (tested) 2022-04-22 16:18:00 +02:00
Umur Ozkul
417f0060b6 inspect and inspect with label (tested) 2022-04-22 15:43:37 +02:00
Quinn Dougherty
2c060ccf6a grammar 2022-04-22 00:15:30 -04:00
Umur Ozkul
2c5c5095b8 moved externalBindings to ReducerInterface 2022-04-22 04:51:31 +02:00
Sam Nolan
9ea7d23489 Fix Squiggle components build 2022-04-21 19:07:24 -04:00
Sam Nolan
cfb969f2b3 Remove rescript warning 102 2022-04-21 18:42:15 -04:00
Sam Nolan
6eddb5a4af Remove warning 20 2022-04-21 18:19:38 -04:00
Umur Ozkul
406d0b3470 Merge branch 'develop' into reducer-dev 2022-04-22 00:12:02 +02:00
Sam Nolan
e1bf47b6b3 Remove old parser and warning 27 2022-04-21 18:09:06 -04:00
Umur Ozkul
b903863fe7 eval partial all tested 2022-04-22 00:07:34 +02:00
Umur Ozkul
2aa3a5ac48 format 2022-04-22 00:02:27 +02:00
Umur Ozkul
5038e2c691 eval partial tested 2022-04-21 23:55:23 +02:00
Sam Nolan
10d9d8bc37 Fix warning 41 2022-04-21 17:30:39 -04:00
Ozzie Gooen
1b56662483 Minor fix for PR 2022-04-21 15:54:28 -04:00
Ozzie Gooen
6f77b12618 Added select bugs to documentation 2022-04-21 15:44:00 -04:00
Umur Ozkul
a02bc27852 eval partial tested 2022-04-21 21:33:12 +02:00
Umur Ozkul
4826337a6a eval with bindings tested 2022-04-21 19:41:18 +02:00
Umur Ozkul
46f3ee3d2c parse partial tested 2022-04-21 19:16:09 +02:00
Umur Ozkul
6b800c498e Merge branch 'develop' into reducer-dev 2022-04-21 18:36:47 +02:00
Umur Ozkul
a3a7b9b269 remove unused case 2022-04-21 18:22:36 +02:00
Umur Ozkul
f272568b97 Merge branch 'develop' into reducer-dev
packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.res
2022-04-21 18:20:54 +02:00
Quinn Dougherty
cc29eb33be used skip instead of commenting out 2022-04-20 19:07:25 -04:00
Quinn Dougherty
264d970348 code review. 2022-04-20 18:48:04 -04:00
Quinn Dougherty
a5cb34ff7f eerge remote-tracking branch 'origin/develop' into ts-property 2022-04-20 16:58:51 -04:00
Ozzie Gooen
f731bcb027
Merge pull request #322 from quantified-uncertainty/documentation-apr18
Documentation apr18
2022-04-20 16:56:33 -04:00
Quinn Dougherty
be6beac944 multiline initialSquiggleStrings; favicon! 2022-04-20 16:50:43 -04:00
Quinn Dougherty
8b83c9ec84 CR pass thru; cleanup; no more scientific notation 2022-04-20 14:55:14 -04:00
Ozzie Gooen
e83d5b111d
Merge pull request #323 from quantified-uncertainty/fix-reducer-warnings
Fix rescript warnings
2022-04-20 14:17:28 -04:00
Sam Nolan
c2b93831e3 Fix rescript warnings 2022-04-20 13:51:27 -04:00
Quinn Dougherty
9f35039b60 second pass; one CR comment 2022-04-20 13:41:22 -04:00
Quinn Dougherty
15ccf876a6 fixed /> bug 2022-04-20 12:26:03 -04:00
Quinn Dougherty
b9ad87fda7 squiggle syntax in initialSquiggleString for trunctate 2022-04-20 12:15:07 -04:00
Quinn Dougherty
806ba86446 fixed lint 2022-04-20 12:13:31 -04:00
Quinn Dougherty
9cdffc309b functions reference is almost done 2022-04-20 12:09:57 -04:00
Quinn Dougherty
76a0f254ea removed pull request trigger from codeql analysis 2022-04-20 11:55:56 -04:00
Quinn
c101cdac18
update signature for result 2022-04-20 11:54:17 -04:00
Quinn
cbd93b7e79
back out of double Ok 2022-04-20 11:50:08 -04:00
Quinn
4631c183d9
wrap #Cauchy in Ok 2022-04-20 11:49:41 -04:00
Quinn
5875880c06
nested Ok because cauchy requires no input validation 2022-04-20 11:44:33 -04:00
Quinn
0540fef63a
Update ReducerInterface_GenericDistribution.res 2022-04-20 11:39:00 -04:00
Quinn
017cbe7274
hotfix: cauchy in binary dist constructors 2022-04-20 11:22:10 -04:00
Quinn Dougherty
3ff810ee1b commented out tests are now explained 2022-04-20 00:50:46 -04:00
Quinn Dougherty
4f5a1ff946 factored into TestHelpers.ts file 2022-04-19 23:42:24 -04:00
Quinn Dougherty
1395a36c63 fixed or bailed from failing tests; added typescript code coverage to codecov 2022-04-19 22:58:09 -04:00
Quinn Dougherty
36f929b726 Tackled infinite loop by changing float64Array generator to
`float32Array` generator; gave up on avoiding `any` type in
`Jstat_test.ts`
2022-04-19 20:52:53 -04:00
Quinn
4418f5bd41
Merge pull request #314 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-17.0.25
Bump @types/node from 17.0.24 to 17.0.25
2022-04-19 10:51:27 -04:00
Quinn
a44ac705dc
Merge pull request #315 from quantified-uncertainty/dependabot/npm_and_yarn/mathjs-10.5.0
Bump mathjs from 10.4.3 to 10.5.0
2022-04-19 10:48:47 -04:00
dependabot[bot]
52644dfde4
Bump @types/node from 17.0.24 to 17.0.25
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.24 to 17.0.25.
- [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-19 14:46:57 +00:00
dependabot[bot]
eb578e3d00
Bump mathjs from 10.4.3 to 10.5.0
Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.4.3 to 10.5.0.
- [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.3...v10.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 14:42:16 +00:00
dependabot[bot]
3959bd6894
Bump @types/lodash from 4.14.181 to 4.14.182
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.181 to 4.14.182.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 14:40:08 +00:00
dependabot[bot]
2e9daa7043
Bump @testing-library/react from 13.0.1 to 13.1.1
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 13.0.1 to 13.1.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.1...v13.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 16:10:52 +00:00
dependabot[bot]
5e9552772b
Bump @testing-library/user-event from 14.1.0 to 14.1.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.1.0 to 14.1.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.1...v14.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 15:33:55 +00:00
Umur Ozkul
da37536b4b Merge branch 'develop' into reducer-dev 2022-04-17 20:38:20 +02:00
Umur Ozkul
52ac2e2ece Binding tests imlemented and skipped 2022-04-17 20:36:04 +02:00
Umur Ozkul
e2015e1098 Outer and Partial: test helpers defined 2022-04-17 20:07:21 +02:00
Umur Ozkul
0585aa33a9 parseOuter, parsePartial 2022-04-17 19:47:05 +02:00
Umur Ozkul
b1e2b27cee partials compile. TODO tests 2022-04-17 19:24:39 +02:00
Ozzie Gooen
cf9c12f786
Merge pull request #258 from quantified-uncertainty/handle-arrays-in-components
Playground improvements with new types
2022-04-15 19:18:49 -04:00
Ozzie Gooen
8a29205247 Refactored if statement into switch 2022-04-15 18:13:59 -04:00
Ozzie Gooen
69fb8be1f1 Ran prettier on index.ts, improved playground showing in website 2022-04-15 18:00:31 -04:00
Ozzie Gooen
012a1e4793 Added storybook stories for most SquiggleChart Types 2022-04-15 17:14:07 -04:00
Ozzie Gooen
20f93539ad Merged with develop 2022-04-15 16:32:22 -04:00
Ozzie Gooen
fe2be53d04
Merge pull request #295 from quantified-uncertainty/add-isNormalized
Added isNormalized function, for testing
2022-04-15 16:30:56 -04:00
Ozzie Gooen
9febf3f182 Changed isNormalize in response to CR 2022-04-15 16:28:51 -04:00
Ozzie Gooen
b682a2702b
Merge pull request #289 from quantified-uncertainty/audit-2022-04-14-SymbolicDist.res
fix: std of lognormal symbolic division
2022-04-15 14:57:49 -04:00
Ozzie Gooen
3d10d8e6a5 Bug fix to get docs to show correctly 2022-04-15 14:51:08 -04:00
Ozzie Gooen
2ed7d03005 Added formatting 2022-04-15 14:10:17 -04:00
Ozzie Gooen
2df6a7f537 Removed Js.log 2022-04-15 13:59:25 -04:00
Ozzie Gooen
73b950078d Added isNormalized function, for testing 2022-04-15 13:58:00 -04:00
c15412642a fix: Failing tests 2022-04-15 13:01:49 -04:00
8743b235d6 fix: typo 2022-04-15 12:54:04 -04:00
Quinn
5d0aff3b7e
Merge pull request #291 from quantified-uncertainty/dependabot/npm_and_yarn/react-ace-10.0.0
Bump react-ace from 9.5.0 to 10.0.0
2022-04-15 10:47:24 -04:00
Quinn
39c3b7ba23
Merge pull request #290 from quantified-uncertainty/dependabot/npm_and_yarn/types/react-dom-18.0.1
Bump @types/react-dom from 18.0.0 to 18.0.1
2022-04-15 10:41:59 -04:00
Quinn
bc26e424fe
gt -> git 2022-04-15 10:41:38 -04:00
Quinn
1e8e05ba95
gt => git 2022-04-15 10:41:06 -04:00
dependabot[bot]
4c5a0e5174
Bump react-ace from 9.5.0 to 10.0.0
Bumps [react-ace](https://github.com/securingsincity/react-ace) from 9.5.0 to 10.0.0.
- [Release notes](https://github.com/securingsincity/react-ace/releases)
- [Changelog](https://github.com/securingsincity/react-ace/blob/main/CHANGELOG.md)
- [Commits](https://github.com/securingsincity/react-ace/compare/v9.5.0...v10.0.0)

---
updated-dependencies:
- dependency-name: react-ace
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-15 14:35:17 +00:00
dependabot[bot]
a1d38b71a1
Bump @types/react-dom from 18.0.0 to 18.0.1
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.0.0 to 18.0.1.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-15 14:34:48 +00:00
Umur Ozkul
7ab69a1708 issue 234
Define partial code
2022-04-15 14:48:58 +02:00
Umur Ozkul
3f95ca455b imports #234 2022-04-15 08:56:48 +02:00
Quinn Dougherty
b327e08c0e I _think_ the ignore trigger is correct.. 2022-04-14 23:40:59 -04:00
Quinn Dougherty
678c4dbee1 trying without toplevel netlify.toml 2022-04-14 23:36:05 -04:00
Quinn Dougherty
7dc72bd635 replace the word build with the word command 2022-04-14 23:28:48 -04:00
Quinn Dougherty
dda5fed719 changed order within toml stanza 2022-04-14 23:26:53 -04:00
Quinn Dougherty
b41f74a271 triggers and builds :) 2022-04-14 22:46:22 -04:00
Quinn Dougherty
d98c637c15 try this 2022-04-14 22:17:23 -04:00
Quinn Dougherty
96d6e5c04d forgot to escape characters 2022-04-14 21:59:13 -04:00
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
Ozzie Gooen
d5c183e7ee SquiggleChart accepts a height, and doesn't have a hover, because it was broken for mixed distributions 2022-04-06 20:46:22 -04:00
Quinn Dougherty
6b15698d4e replaced *__Test.res with *_test.res 2022-04-06 19:38:54 -04:00
Quinn Dougherty
0a5a8a5198 property test framework installed but not used; describe(means) section of unit tests filled out 2022-04-06 18:57:51 -04:00
Ozzie Gooen
4d0a522e96 Moved NumberShower to its own Storybook, and slight cleanup to other code. 2022-04-06 17:51:24 -04:00
Quinn Dougherty
e42ac0b58d renamed t to T 2022-04-06 16:02:32 -04:00
Quinn Dougherty
3bed89b558 coverage 2022-04-06 15:19:27 -04:00
Sam Nolan
663d3e213a Merge branch 'staging' into components-cleanup 2022-04-06 11:29:30 +10:00
Sam Nolan
e1295e4f0f Fix PR comments:
- change the onChange handler to return onChange rather than onBlur
- Change the vega component to a checkbox
- Create new IDs + check whether it works with multiple editors
- Multiple line squiggle editors (noticed this was an issue)
- Remove ace imports that are not used
2022-04-06 11:18:18 +10:00
Umur Ozkul
63a765a4fe mathjs parse assignment 2022-04-05 23:03:32 +02:00
Umur Ozkul
cd7a4b748e assignment test 2022-04-05 22:03:03 +02:00
Umur Ozkul
84f3420369 parse assignment 2022-04-05 22:02:06 +02:00
Ozzie Gooen
c0118af315 Changed warning comment 2022-04-05 15:34:19 -04:00
Ozzie Gooen
d77f984af6 utility -> Utility 2022-04-05 15:32:06 -04:00
Ozzie Gooen
6c282b0c70 Added genType to XYShape to fix tests 2022-04-05 15:23:39 -04:00
Ozzie Gooen
9b494462d4 Removed oldInterpreter 2022-04-05 15:13:45 -04:00
Ozzie Gooen
6b69a94a1a Added OldInterpreter files 2022-04-05 15:09:47 -04:00
Umur Ozkul
a5bb390370 reformat 2022-04-05 20:56:20 +02:00
Umur Ozkul
05e8540b31 rescript:format 2022-04-05 20:51:54 +02:00
Umur Ozkul
4e6a2341f0 shorter tests 2022-04-05 19:36:19 +02:00
Umur Ozkul
bbcd7f2640 shorter tests 2022-04-05 19:18:10 +02:00
Umur Ozkul
74da6a0ae2 shorter tests 2022-04-05 19:09:29 +02:00
Sam Nolan
427c5d5615 Fix component PR comments
- use isFinite
- Refactor default props
- Fix height of single line
- Remove codejar dependency
2022-04-05 13:37:47 +10:00
Ozzie Gooen
a2729f34cb Pulled out XYShape to be more separate 2022-04-04 13:41:22 -04:00
Ozzie Gooen
60b760f0cd Naming refactor of key rescript directories 2022-04-04 11:59:14 -04:00
Ozzie Gooen
51711512fb Removed Domain from DistPlus 2022-04-04 11:47:34 -04:00
Ozzie Gooen
a5db33cedf Removed unit from DistPlus 2022-04-04 11:44:42 -04:00
Sam Nolan
7e28be8f3b Remove unneccesary @types/webpack dependency 2022-04-04 17:02:57 +10:00
Sam Nolan
097baadb04 Format and fix build error 2022-04-04 16:58:05 +10:00
Sam Nolan
de1c1d4e7e Fix build issues 2022-04-04 14:53:55 +10:00
Ozzie Gooen
e4f563fa08 Added unary minus function support to distributions, cleaned tests 2022-04-02 17:06:57 -04:00
Ozzie Gooen
06285dbdc1 Additional testing for GenericDist-Reducer interface, plus getting log, exp to work with 1 param 2022-04-02 16:25:41 -04:00
Ozzie Gooen
46af9233a1 Fixed tests to use pointwiseAdd instead of .add 2022-04-02 11:06:09 -04:00
Ozzie Gooen
688cf0b19e Changes in response to CR 2022-04-02 11:01:53 -04:00
Sam Nolan
9e472d57e9 Add style-loader and Playground to index 2022-04-02 20:36:33 +11:00
dependabot[bot]
55e8be03be
Bump webpack from 5.70.0 to 5.71.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.70.0 to 5.71.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.70.0...v5.71.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-02 02:43:11 +00:00
Sam Nolan
628c2ce914 Remove y-axis 2022-04-02 12:46:19 +11:00
Sam Nolan
ac98c16674 Updates storybook to 6.4.20
Closes #151
Closes #152
Closes #153
Closes #154
2022-04-02 12:33:47 +11:00
Ozzie Gooen
e7c2a7db01 Light cleanup of ReducerInterface_GenericDistribution 2022-04-01 15:41:11 -04:00
Ozzie Gooen
18d742b63c Added symbolic functions and tests for reducer interface distribution code 2022-04-01 13:21:24 -04:00
Sam Nolan
1d735263ed Make width optional for text editor 2022-04-01 21:34:37 +11:00
Sam Nolan
423f1cbe98 Add width property 2022-04-01 17:29:37 +11:00
Sam Nolan
d18479e426 Fix performance regression by reducing settings
Fixes #112
2022-04-01 17:15:38 +11:00
Sam Nolan
59801f1f81 Remove sliders on graph for selects 2022-04-01 16:16:24 +11:00
Sam Nolan
4c1daab09f Add padding, remove undefined and fix CI 2022-04-01 13:16:06 +11:00
Ozzie Gooen
28eba9fa74 EvDist -> EvDistribution 2022-03-31 20:28:48 -04:00
Sam Nolan
c6c96a3e24 Move Playground to components 2022-04-01 11:26:26 +11:00
Ozzie Gooen
47a574ba8a Added GenericDistribution Reducer Interface 2022-03-31 20:24:59 -04:00
Ozzie Gooen
5ece2994ba Full attempt at getting genericDist into Reducer External Lib 2022-03-31 19:58:08 -04:00
Quinn Dougherty
cd231cb917 added 'add' over EvDist, EvDist 2022-03-31 16:44:52 -04:00
Ozzie Gooen
89f917ecc8
Merge branch 'staging' into dist-generic-library 2022-03-31 15:44:18 -04:00
Ozzie Gooen
15534b10ce Converted most of Operation to not be polymorphic 2022-03-31 14:51:42 -04:00
Ozzie Gooen
680726e8b0 Changed genericDist from being a polymorphic variant 2022-03-31 14:15:21 -04:00
Ozzie Gooen
4b3f24b38d Converted params to env, named several arguments 2022-03-31 14:07:39 -04:00
Ozzie Gooen
4702cf3e5e Reorganized Output module in GenericOperation 2022-03-31 13:26:29 -04:00
dependabot[bot]
1c962f7c03
Bump @testing-library/react in /packages/components
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 12.1.4 to 13.0.0.
- [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/v12.1.4...v13.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 14:39:24 +00:00
dependabot[bot]
def770dd79
Bump @testing-library/user-event from 14.0.0 to 14.0.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14...v14.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 14:34:11 +00:00
Ozzie Gooen
d82615cef0 Changed GenericDist outputType from polymorphic variant to regular variant 2022-03-31 09:27:36 -04:00
Ozzie Gooen
f2d03c8f11 Added named paramaters to most GenericDist functions 2022-03-31 09:19:27 -04:00
Ozzie Gooen
d61f521a0e fmap -> outputmap 2022-03-31 08:41:50 -04:00
Ozzie Gooen
dbac693607 Minor fixes for PR 2022-03-31 08:37:04 -04:00
Sam Nolan
9d189d489a Removes the action bubble from vega charts 2022-03-31 10:19:01 +11:00
Sam Nolan
5306e546bd
Merge pull request #139 from QURIresearch/dependabot/npm_and_yarn/react-and-react-dom-18.0.0
Bump react and react-dom
2022-03-31 10:07:17 +11:00
Ozzie Gooen
d6d531a1df
Update Three-Types-Of-Distributions.md 2022-03-30 13:25:48 -04:00
Quinn
8cbfeec81c
Merge pull request #107 from umuro/reducer-dev
Reducer dev 2 (opened on behalf of Umur)
2022-03-30 11:39:57 -04:00
Quinn
bbe496eda4
Merge pull request #140 from QURIresearch/dependabot/npm_and_yarn/storybook/preset-create-react-app-4.1.0
Bump @storybook/preset-create-react-app from 4.0.1 to 4.1.0
2022-03-30 10:51:07 -04:00
dependabot[bot]
6a697f0a26
Bump react and react-dom
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 17.0.2 to 18.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.0.0/packages/react)

Updates `react-dom` from 17.0.2 to 18.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.0.0/packages/react-dom)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 14:50:29 +00:00
dependabot[bot]
2c79e864dc
Bump @storybook/preset-create-react-app from 4.0.1 to 4.1.0
Bumps [@storybook/preset-create-react-app](https://github.com/storybookjs/presets/tree/HEAD/packages/preset-create-react-app) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/storybookjs/presets/releases)
- [Changelog](https://github.com/storybookjs/presets/blob/master/packages/preset-create-react-app/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/presets/commits/HEAD/packages/preset-create-react-app)

---
updated-dependencies:
- dependency-name: "@storybook/preset-create-react-app"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 14:46:35 +00:00
dependabot[bot]
de6d0478c9
Bump @types/lodash from 4.14.179 to 4.14.181
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.179 to 4.14.181.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 14:40:37 +00:00
Umur Ozkul
da0e9b9349 fix resi 2022-03-30 15:39:47 +02:00
Umur Ozkul
7c574980b7 PR#107 2022-03-30 13:26:38 +02:00
Umur Ozkul
17ca080ebb PR#107 show -> toString 2022-03-30 12:53:36 +02:00
Sam Nolan
41db968e99 Fix XSS issue with Squiggle Editor 2022-03-30 21:39:32 +11:00
Sam Nolan
d99ac799c3 Remove mdx dependency
commit ede5a568582a99996f3a7e580d762654ec9c96fe
Author: Sam Nolan <samnolan555@gmail.com>
Date:   Wed Mar 30 21:18:02 2022 +1100

    Remove mdx-jsx dependency

commit a7a83e51bffa216b1ecbc16f0b778bc766651db8
Merge: 93a8d2a e16224a
Author: Sam Nolan <samnolan555@gmail.com>
Date:   Wed Mar 30 20:45:07 2022 +1100

    Merge branch 'dependabot/npm_and_yarn/mdx-js/react-2.1.0'

commit e16224ada9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Mar 29 14:36:07 2022 +0000

    Bump @mdx-js/react from 1.6.22 to 2.1.0

    Bumps [@mdx-js/react](https://github.com/mdx-js/mdx/tree/HEAD/packages/react) from 1.6.22 to 2.1.0.
    - [Release notes](https://github.com/mdx-js/mdx/releases)
    - [Changelog](https://github.com/mdx-js/mdx/blob/main/changelog.md)
    - [Commits](https://github.com/mdx-js/mdx/commits/2.1.0/packages/react)

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

    Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 21:19:27 +11:00
Umur Ozkul
12113cad7e Reducer_Expression.resi 2022-03-30 11:45:30 +02:00
Umur Ozkul
158381dfbb PR#107 2022-03-30 11:06:30 +02:00
Umur Ozkul
f74716922d PR#107 2022-03-30 10:34:40 +02:00
Umur Ozkul
9a6522ff29 kill mj acronym 2022-03-30 10:22:51 +02:00
Umur Ozkul
a9df64230e fix module acronym 2022-03-30 10:03:30 +02:00
Ozzie Gooen
ffc622fb6d Responded to two simple CR comments 2022-03-29 21:28:14 -04:00
Ozzie Gooen
2fce3d67e9 fmap2 -> E.R2.fmap 2022-03-29 17:35:33 -04:00
Ozzie Gooen
649f3e833a Changes as was requested in CR 2022-03-29 17:00:20 -04:00
Ozzie Gooen
cd5680f2dc Refactored Sparklines.res 2022-03-29 16:31:08 -04:00
Ozzie Gooen
c158b4183b More refactors of |> to -> 2022-03-29 15:47:32 -04:00
Quinn Dougherty
50f5256dc5 perhaps the final push of PR 124? 2022-03-29 15:27:23 -04:00
Ozzie Gooen
539c7cf783 Trying to change more |> into -> 2022-03-29 15:21:38 -04:00
Quinn Dougherty
320b8da91a most of the refactor based on @OAGr's comments 2022-03-29 15:10:20 -04:00
Ozzie Gooen
cdbbededa4 Refactoring GenericOperation to prefer -> operator 2022-03-29 14:36:54 -04:00
Quinn Dougherty
bcff646e54 cleanup 2022-03-29 11:05:27 -04:00
Quinn Dougherty
517a9128e2 E.O.default pattern 2022-03-29 10:55:36 -04:00
Quinn
e0492b2f72
Merge pull request #133 from QURIresearch/dependabot/npm_and_yarn/antd-4.19.3
Bump antd from 4.18.9 to 4.19.3
2022-03-29 10:47:44 -04:00
Quinn
46a5432e63
Merge pull request #131 from QURIresearch/dependabot/npm_and_yarn/emotion/react-11.8.2
Bump @emotion/react from 11.8.1 to 11.8.2
2022-03-29 10:47:11 -04:00
Quinn
ccdde93cc2
Merge pull request #130 from QURIresearch/dependabot/npm_and_yarn/packages/playground/mathjs-10.4.2
Bump mathjs from 10.4.1 to 10.4.2 in /packages/playground
2022-03-29 10:46:45 -04:00
Quinn
e33c1302fc
Merge pull request #129 from QURIresearch/dependabot/npm_and_yarn/autoprefixer-10.4.4
Bump autoprefixer from 10.4.2 to 10.4.4
2022-03-29 10:45:43 -04:00
Quinn
f98184687b
Merge pull request #127 from QURIresearch/dependabot/npm_and_yarn/packages/squiggle-lang/mathjs-10.4.2
Bump mathjs from 10.4.1 to 10.4.2 in /packages/squiggle-lang
2022-03-29 10:44:58 -04:00
Quinn Dougherty
49c091043a second test case 2022-03-29 10:40:38 -04:00
dependabot[bot]
d959e482c7
Bump antd from 4.18.9 to 4.19.3
Bumps [antd](https://github.com/ant-design/ant-design) from 4.18.9 to 4.19.3.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](https://github.com/ant-design/ant-design/compare/4.18.9...4.19.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 14:37:22 +00:00
dependabot[bot]
21c05cb5c4
Bump @emotion/react from 11.8.1 to 11.8.2
Bumps [@emotion/react](https://github.com/emotion-js/emotion) from 11.8.1 to 11.8.2.
- [Release notes](https://github.com/emotion-js/emotion/releases)
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/react@11.8.1...@emotion/react@11.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 14:36:46 +00:00
dependabot[bot]
9675173790
Bump mathjs from 10.4.1 to 10.4.2 in /packages/playground
Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.4.1 to 10.4.2.
- [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.1...v10.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 14:36:38 +00:00
dependabot[bot]
d7929de387
Bump autoprefixer from 10.4.2 to 10.4.4
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.2 to 10.4.4.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.2...10.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 14:36:25 +00:00
dependabot[bot]
348cc91476
Bump mathjs from 10.4.1 to 10.4.2 in /packages/squiggle-lang
Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.4.1 to 10.4.2.
- [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.1...v10.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 14:33:53 +00:00
dependabot[bot]
e1c81a0d30
Bump @testing-library/user-event in /packages/components
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.5.0 to 14.0.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.5.0...v14.0.0)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 14:33:45 +00:00
Quinn Dougherty
669fb95479 debugged sparklines implementation 2022-03-29 10:04:08 -04:00
Umur Ozkul
aff9a60d49 fix module name in __tests__ 2022-03-29 15:18:56 +02:00
Umur Ozkul
06fff971f1 fix test module name 2022-03-29 11:53:49 +02:00
Umur Ozkul
2040ab52b1 format, rename, simplify 2022-03-29 11:09:59 +02:00
Quinn Dougherty
03318ee2e1 translated sparkly to rescript, still debugging it tho 2022-03-29 02:13:52 -04:00
Quinn Dougherty
b8159a88e0 Figured out patchelf hack for nixos users 2022-03-28 22:39:59 -04:00
Ozzie Gooen
01b80d73be Added simple genericOperation test 2022-03-28 16:52:04 -04:00
Ozzie Gooen
3cf336d720 Starting to add tests to rescript 2022-03-28 15:14:39 -04:00
dependabot[bot]
1ffc7ebdcf
Bump @docusaurus/preset-classic in /packages/website
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) from 2.0.0-beta.17 to 2.0.0-beta.18.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.18/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 15:51:23 +00:00
Quinn
bb02608c42
Merge pull request #119 from QURIresearch/dependabot/npm_and_yarn/testing-library/react-12.1.4
Bump @testing-library/react from 12.1.3 to 12.1.4
2022-03-28 11:48:22 -04:00
Quinn
680a385eea
Merge pull request #118 from QURIresearch/dependabot/npm_and_yarn/packages/website/docusaurus/core-2.0.0-beta.18
Bump @docusaurus/core from 2.0.0-beta.17 to 2.0.0-beta.18 in /packages/website
2022-03-28 11:47:59 -04:00
Quinn
12870b5f6c
Merge pull request #116 from QURIresearch/dependabot/npm_and_yarn/types/node-17.0.23
Bump @types/node from 17.0.21 to 17.0.23
2022-03-28 11:47:27 -04:00
Quinn
0b1f971fea
Merge pull request #114 from QURIresearch/dependabot/npm_and_yarn/vega-5.22.1
Bump vega from 5.21.0 to 5.22.1
2022-03-28 11:46:58 -04:00
dependabot[bot]
8d48636180
Bump @testing-library/react from 12.1.3 to 12.1.4
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 12.1.3 to 12.1.4.
- [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/v12.1.3...v12.1.4)

---
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-03-28 14:49:35 +00:00
dependabot[bot]
bb45272fc5
Bump @docusaurus/core in /packages/website
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.17 to 2.0.0-beta.18.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.18/packages/docusaurus)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 14:48:30 +00:00
dependabot[bot]
13b0627e85
Bump @types/node from 17.0.21 to 17.0.23
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.21 to 17.0.23.
- [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-03-28 14:47:36 +00:00
dependabot[bot]
91ffc05f1d
Bump vega from 5.21.0 to 5.22.1
Bumps [vega](https://github.com/vega/vega) from 5.21.0 to 5.22.1.
- [Release notes](https://github.com/vega/vega/releases)
- [Commits](https://github.com/vega/vega/compare/v5.21.0...v5.22.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 14:46:25 +00:00
dependabot[bot]
45d008cf63
Bump prettier from 2.6.0 to 2.6.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1.
- [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.0...2.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 14:45:45 +00:00
Ozzie Gooen
6f11e87c0a Added simple interface files 2022-03-28 08:39:07 -04:00
Ozzie Gooen
04abeb7cd1 Added todo list to GenericDist repo 2022-03-28 07:56:20 -04:00
Ozzie Gooen
80b33fcd84 Added README to GenericDist library 2022-03-27 21:07:41 -04:00
Ozzie Gooen
3f678e24a1 Added mixture fn for generic distributions 2022-03-27 17:37:27 -04:00
Ozzie Gooen
b70e8e02e1 Refactor GenericOperation to allow for operations other than toDist operations 2022-03-27 16:59:46 -04:00
Ozzie Gooen
c2ac9614d0 Refactored sci.res into multiple files 2022-03-27 14:22:26 -04:00
Ozzie Gooen
2ec1bfd068 Added Truncate to sci.res 2022-03-26 22:06:19 -04:00
Ozzie Gooen
c5afb2d867 Fleshed out AlgebraicCombination 2022-03-26 16:56:56 -04:00
Ozzie Gooen
d490af38f0 Added pointwiseCombinationFloat to sci.res 2022-03-26 13:25:47 -04:00