Commit Graph

381 Commits

Author SHA1 Message Date
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
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
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
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