Commit Graph

270 Commits

Author SHA1 Message Date
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
Sam Nolan
628c2ce914 Remove y-axis 2022-04-02 12:46:19 +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
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
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
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
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 Dougherty
49c091043a second test case 2022-03-29 10:40:38 -04: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
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
Ozzie Gooen
1a2ce5bfa0
Minor refactors 2022-03-25 22:11:27 -04:00
Quinn
e43dd2d61d
Revert "Revert "Reducer dev"" 2022-03-25 14:25:37 -04:00
Umur Ozkul
8b21292fbe fix MathJs spelling 2022-03-25 19:12:11 +01:00
Quinn
2b598121c7
Revert "Reducer dev" 2022-03-25 14:10:56 -04:00
Umur Ozkul
578e52c9b8 Merge branch 'staging' of https://github.com/QURIresearch/squiggle into QURIresearch-staging 2022-03-25 18:52:04 +01:00
Umur Ozkul
cc81d95f53 rename README 2022-03-25 13:24:13 -04:00
Umur Ozkul
f58e46c6b0 fix on comments for pull request 2022-03-25 13:24:13 -04:00
Umur Ozkul
79d3831f5d coverage removed 2022-03-25 13:24:13 -04:00
Umur Ozkul
e340c9d8ca Reducer 2022-03-25 13:23:22 -04:00
Quinn Dougherty
9d13f6ca0f rebase: fixed mc 2022-03-25 13:23:15 -04:00
Umur Ozkul
a91d74bb0c fix rescript directory 2022-03-25 13:19:19 -04:00
Quinn
11b40b8798
Merge pull request #98 from QURIresearch/dependabot/npm_and_yarn/parcel-2.4.0
Bump parcel from 2.3.2 to 2.4.0
2022-03-25 11:33:10 -04:00
Quinn
0b008ef962
Merge pull request #97 from QURIresearch/dependabot/npm_and_yarn/types/react-dom-17.0.14
Bump @types/react-dom from 17.0.12 to 17.0.14
2022-03-25 11:32:58 -04:00
Quinn
28b0ca1197
Merge pull request #93 from QURIresearch/dependabot/npm_and_yarn/packages/playground/less-4.1.2
Bump less from 3.10.3 to 4.1.2 in /packages/playground
2022-03-25 11:31:14 -04:00
dependabot[bot]
ecfa9cd016
Bump less from 3.10.3 to 4.1.2 in /packages/playground
Bumps [less](https://github.com/less/less.js) from 3.10.3 to 4.1.2.
- [Release notes](https://github.com/less/less.js/releases)
- [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/less/less.js/compare/v3.10.3...v4.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 15:28:04 +00:00
dependabot[bot]
ca77acf786
Bump @types/react-dom from 17.0.12 to 17.0.14
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.12 to 17.0.14.
- [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-03-25 15:27:59 +00:00
dependabot[bot]
b0ac51ffc1
Bump parcel from 2.3.2 to 2.4.0
Bumps [parcel](https://github.com/parcel-bundler/parcel) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/parcel-bundler/parcel/releases)
- [Changelog](https://github.com/parcel-bundler/parcel/blob/v2/CHANGELOG.md)
- [Commits](https://github.com/parcel-bundler/parcel/compare/v2.3.2...v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 15:27:44 +00:00
Quinn
5c339ef874
Merge pull request #96 from QURIresearch/dependabot/npm_and_yarn/typescript-4.6.3
Bump typescript from 4.6.2 to 4.6.3
2022-03-25 11:26:56 -04:00
Quinn
e4016ebfd1
Merge pull request #95 from QURIresearch/dependabot/npm_and_yarn/types/react-17.0.43
Bump @types/react from 17.0.39 to 17.0.43
2022-03-25 11:26:17 -04:00
Quinn
97e1854750
Merge pull request #94 from QURIresearch/dependabot/npm_and_yarn/ts-jest-27.1.4
Bump ts-jest from 27.1.3 to 27.1.4
2022-03-25 11:25:42 -04:00
dependabot[bot]
a3006159da
Bump typescript from 4.6.2 to 4.6.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 14:42:25 +00:00
dependabot[bot]
9c6fa8538c
Bump @types/react from 17.0.39 to 17.0.43
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.39 to 17.0.43.
- [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-03-25 14:41:49 +00:00
dependabot[bot]
c58cea37bb
Bump ts-jest from 27.1.3 to 27.1.4
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.1.3 to 27.1.4.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.1.3...v27.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 14:41:27 +00:00
dependabot[bot]
b6fe73bb3d
Bump lodash from 4.17.15 to 4.17.21 in /packages/playground
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 14:40:36 +00:00
Ozzie Gooen
ba21ada361
Merge pull request #91 from QURIresearch/staging
Staging -> Master, 3/25/2022
2022-03-25 08:23:37 -04:00
Ozzie Gooen
2664ab68ed
Merge pull request #72 from QURIresearch/components-in-docs
Components in docs
2022-03-25 08:19:23 -04:00
Ozzie Gooen
6903680e1a Minor fix for package.json 2022-03-25 08:14:53 -04:00
Quinn
55f38bcee2
Merge pull request #89 from QURIresearch/dependabot/npm_and_yarn/packages/website/docusaurus/core-2.0.0-beta.17
Bump @docusaurus/core from 2.0.0-beta.15 to 2.0.0-beta.17 in /packages/website
2022-03-25 08:13:59 -04:00
Ozzie Gooen
4a62681209 Cleanup to documentation, changes to distribution colors 2022-03-25 08:13:56 -04:00
dependabot[bot]
b193d468c4
Bump @docusaurus/core in /packages/website
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.15 to 2.0.0-beta.17.
- [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.17/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-25 12:10:07 +00:00
dependabot[bot]
8dbb9aff7d
Bump jstat from 1.9.2 to 1.9.5 in /packages/playground
Bumps [jstat](https://github.com/jstat/jstat) from 1.9.2 to 1.9.5.
- [Release notes](https://github.com/jstat/jstat/releases)
- [Commits](https://github.com/jstat/jstat/compare/1.9.2...1.9.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 12:09:33 +00:00