Commit Graph

1018 Commits

Author SHA1 Message Date
Ozzie Gooen
0ec76e44cd First experiment 2022-05-16 19:44:54 -04:00
Ozzie Gooen
80fed66efe
Merge pull request #528 from quantified-uncertainty/function-chart-fix
Function chart fixes
2022-05-15 16:11:53 -04:00
Ozzie Gooen
9ac99c781c Responded to CR 2022-05-15 15:58:37 -04:00
Ozzie Gooen
b63136080b Formatting 2022-05-15 15:29:54 -04:00
Ozzie Gooen
56728c7ea5 Removed unneeded code 2022-05-15 15:23:58 -04:00
Ozzie Gooen
91ccd333e0 Minor refactors 2022-05-15 15:21:00 -04:00
Ozzie Gooen
b015c20fa4 Cached FunctionChart percentiles calculation 2022-05-15 14:39:50 -04:00
Ozzie Gooen
4676026aa0 Ran formatter 2022-05-15 10:58:29 -04:00
Ozzie Gooen
47d7ef49cf Merged with master 2022-05-15 10:54:16 -04:00
Ozzie Gooen
b2b51c8f46 Added sampleN to interface 2022-05-15 10:52:35 -04:00
Sam Nolan
95d0212ffc Remove redundant defaultEnv 2022-05-13 20:23:41 +00:00
Sam Nolan
80e05ea5be Pass environment down to GenericDist 2022-05-13 20:16:52 +00:00
Quinn Dougherty
fbb79b261d hotfix: increment package version 2022-05-13 13:41:26 -04:00
Sam Nolan
d31619baa5
Merge pull request #524 from quantified-uncertainty/react-keys
Add react keys to remove warnings
2022-05-13 11:47:34 -04:00
Sam Nolan
006204f1ac Add react keys to remove warnings 2022-05-13 15:40:52 +00:00
Sam Nolan
ae2ee48511 Memo the sampling of functions 2022-05-13 15:19:16 +00:00
Quinn
937458cd05
Merge pull request #512 from quantified-uncertainty/kldivergence-mixed
`klDivergence` on mixed distributions
2022-05-12 11:26:01 -04:00
Quinn Dougherty
eee9a46c37 Improved comment for enrich
Value: [1e-9 to 1e-6]
2022-05-12 11:16:51 -04:00
Quinn Dougherty
12c0959f38 factored mixture construction into function
Value: [1e-6 to 1e-4]
2022-05-12 11:14:59 -04:00
dependabot[bot]
239f6b0f81
⬆️ Bump @testing-library/user-event from 14.1.1 to 14.2.0
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.1.1 to 14.2.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/v14.1.1...v14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 14:40:06 +00:00
Quinn Dougherty
f5e3701a79 Clean up for CR
Value: [1e-7 to 43-4]
2022-05-12 09:51:20 -04:00
Quinn Dougherty
b90a0e7a1a re-added ?, artefact from MC resolve mistake
Value: [1e-7 to 1e-4]
2022-05-11 15:48:50 -04:00
Quinn Dougherty
e1e5e3305d Gained precision
Value: [1e-3 to 2e-2]
2022-05-11 15:46:57 -04:00
Quinn Dougherty
26afc96495 Tests are as good as I can get them
Value: [1e-4 to 1e-2]
2022-05-11 15:12:36 -04:00
Quinn Dougherty
5cd8ff3f73 Merge remote-tracking branch 'origin/develop' into kldivergence-mixed 2022-05-11 14:20:08 -04:00
Quinn Dougherty
95fe117ef0 Factored continuous part of normal and uniform kldivergence into it's
own function

Value: [1e-4 to 1e-3]
2022-05-11 14:19:45 -04:00
Sam Nolan
c13f49a7bc Lint fix 2022-05-11 14:19:45 -04:00
Sam Nolan
a3402a42a4 Add default environment as export 2022-05-11 14:19:45 -04:00
Sam Nolan
4758fca19b Keep props consistent 2022-05-11 14:19:45 -04:00
Sam Nolan
b0c84450ff Make optional arguments actually optional 2022-05-11 14:19:45 -04:00
Sam Nolan
b2a972605d (rebase): Function charting 2022-05-11 14:19:36 -04:00
5c9f57a24a fix: Attain parity with previous implementation
This is achieved by not adding more points in between i
the points are already pretty close
2022-05-11 12:56:56 -04:00
599c14b32c tweak: Pass off to Quinn 2022-05-11 12:39:03 -04:00
4df4597ed3 fix: "Enrich" (add more x points) when integrating
in order to get more numerical precision.
Note: not complete yet.

Value: [1e-3 to 3e-1]
2022-05-11 12:23:36 -04:00
dependabot[bot]
a2b5dbf6c3
⬆️ Bump @types/node from 17.0.31 to 17.0.32
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.31 to 17.0.32.
- [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:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 14:42:12 +00:00
Quinn Dougherty
0b8da034c6 klDivergence on mixed distributions works for one test case
Value: [1e-4 to 5e-2]
2022-05-10 19:59:50 -04:00
Ozzie Gooen
3cca106079
Merge pull request #504 from quantified-uncertainty/function-charts
Function charting
2022-05-10 18:57:18 -04:00
Quinn Dougherty
48fcd526ce Made Node Packages page in docs just reference github readmes
Value: [1e-8 to 1e-4]
2022-05-10 17:06:44 -04:00
Quinn Dougherty
b7e18b4f9d Simplified tree in squiggle-lang/src/rescript/Distributions
Value: [1e-8 to 1e-4]
2022-05-10 16:43:37 -04:00
Quinn Dougherty
465383205a Fixed lint
Value: [1e-10 to 1e-6]
2022-05-10 16:34:03 -04:00
Quinn Dougherty
216ede45b2 Fixed Bisect
Value: [1e-5 to 1e-3]
2022-05-10 16:27:34 -04:00
Quinn Dougherty
58a7cd769f Replaced ; with && in coverage reports.
Value: [1e-7 to 1e-3]
2022-05-10 16:13:49 -04:00
Quinn Dougherty
73a986d848 merge commit: merging in origin/develop 2022-05-10 16:06:33 -04:00
Quinn
a2a47560d7
Merge pull request #511 from quantified-uncertainty/mathjs-increment
Re-added `^`-versioning to mathjs
2022-05-10 16:05:39 -04:00
Quinn Dougherty
4ecb420a8b Re-added ^-versioning to mathjs
Value: [1e-9 to 1e-5]
2022-05-10 15:50:44 -04:00
Ozzie Gooen
396bf5bf00
Merge pull request #501 from quantified-uncertainty/kldivergence-discrete
`klDivergence` on discrete distributions
2022-05-10 15:35:49 -04:00
Quinn Dougherty
3f30bddfc0 Sidebar order of pages; adjusted title/subtitle; cleanup
Value: [1e-7 to 1e-3]
2022-05-10 15:23:04 -04:00
Quinn Dougherty
29c1956e88 Response to CR
Value: [1e-6 to 1e-4]
2022-05-10 14:03:42 -04:00
Quinn Dougherty
744d5e0ad1 CodeQL run only via cron; waste added to gallery
Value: [1e-4 to 1e-3]
2022-05-10 13:29:54 -04:00
Sam Nolan
ccb6938ad4 Lint fix 2022-05-10 16:24:08 +00:00