Umur Ozkul
c59404e65f
Merge branch 'exceptional-reducer' into map-efficiency
2022-09-11 17:01:39 +02:00
Umur Ozkul
4346ba992f
Merge branch 'develop' into exceptional-reducer
...
packages/squiggle-lang/src/rescript/ReducerProject/ReducerProject_IncludeParser.js
2022-09-11 17:00:18 +02:00
Umur Ozkul
4fc10823fe
Merge branch 'exceptional-reducer' into map-efficiency
2022-09-11 15:31:40 +02:00
Vyacheslav Matyukhin
1187c0330a
faster filter
2022-09-09 17:04:32 +04:00
Vyacheslav Matyukhin
4d1f76f80e
slightly faster map implementation
...
see this comment: https://github.com/quantified-uncertainty/squiggle/pull/1047#issuecomment-1241805927
2022-09-09 14:39:42 +04:00
Quinn Dougherty
3c0255cfb9
hotfix: lint docs
2022-09-09 15:26:20 +08:00
Umur Ozkul
5d17301016
remove raise
2022-09-09 01:14:42 +02:00
Ozzie Gooen
45323b0e08
Merge pull request #1008 from ideopunk/feature/distribution_tweaks
...
Distribution component tweaks
2022-09-08 15:49:58 -07:00
Umur Ozkul
1c98aaa3e2
value vs result conversion functions
2022-09-09 00:43:21 +02:00
Conor Barnes
2736fb9a17
delete conflicting file
2022-09-08 16:31:02 -03:00
Vyacheslav Matyukhin
d3788fb411
remove generated ReducerProject_IncludeParser.js from repo
2022-09-08 16:27:32 +04:00
Vyacheslav Matyukhin
ecc82ba8f7
reformat for lint
2022-09-07 23:04:07 +04:00
Vyacheslav Matyukhin
06ec2caae0
remove unused code
2022-09-07 22:50:24 +04:00
Vyacheslav Matyukhin
c0ccdbc1e9
experimental: replace result with exceptions in reducer
2022-09-07 22:45:19 +04:00
Conor Barnes
5b0d7a898f
remove dead comments and simplify sample inclusion
2022-09-07 11:01:18 -03:00
Conor Barnes
0c614a3fcf
samples in own shape
2022-09-07 09:18:01 -03:00
Ozzie Gooen
7d6ffecc4a
Merge branch 'develop' of github.com:quantified-uncertainty/squiggle into develop
...
* 'develop' of github.com:quantified-uncertainty/squiggle:
fix: docs bug
0.4.1 version of all packages
0.0.0 version for website package
bump components dependency for website
bump and sync versions for 0.4.0-alpha.4 release
2022-09-06 15:03:36 -07:00
Ozzie Gooen
7d8a7e19d5
Ran yarn format
2022-09-06 15:03:24 -07:00
ad32921ed0
fix: docs bug
2022-09-06 23:44:34 +02:00
Vyacheslav Matyukhin
6f10b276e9
0.4.1 version of all packages
2022-09-07 01:24:08 +04:00
Vyacheslav Matyukhin
4a75a97cb4
0.0.0 version for website package
...
we don't have to set it since we never publish the website to npm, and
bumping the version does nothing useful
0.0.0 is from here: https://github.com/yarnpkg/yarn/issues/5936#issuecomment-395912169
see that issue for details on how this was fixed with yarn@2, but we're
still on yarn@1.22
2022-09-07 00:39:19 +04:00
Vyacheslav Matyukhin
36cd9271f6
bump components dependency for website
2022-09-07 00:24:52 +04:00
Vyacheslav Matyukhin
2a8e5866cb
bump and sync versions for 0.4.0-alpha.4 release
2022-09-07 00:18:56 +04:00
Ozzie Gooen
00a22b456d
Removed now-not-needed text
2022-09-06 13:03:39 -07:00
Vyacheslav Matyukhin
00a0005e56
Merge branch 'develop' into fixes-for-ideopunk
...
Also some SqDistribution fixes.
2022-09-06 23:35:37 +04:00
fad1b51630
feat: simplify Danger functions
...
yarn.lock also changed because of the previous commmit
2022-09-06 21:16:29 +02:00
b7a186f8ac
fix: components warning
...
Solution per
<https://tailwindcss.com/docs/using-with-preprocessors#nesting >
was enabled, but the necessary dev dependencies not enabled,
which caused problems
2022-09-06 21:07:49 +02:00
4917c2e0e2
Merge branch 'develop' of github.com:quantified-uncertainty/squiggle into more-functions
2022-09-06 21:00:17 +02:00
Umur Ozkul
0131498aca
fixes #558 fixes #1038
2022-09-06 20:15:57 +02:00
Conor Barnes
e0cd95fe5c
remove unnecessary mapping of sample array to array of objects
2022-09-06 14:52:57 -03:00
Ozzie Gooen
84be552782
Merge pull request #1009 from quantified-uncertainty/epic-reducer-project
...
0.4.0 - Epic reducer project
2022-09-06 10:42:15 -07:00
Conor Barnes
6c87a9e712
rename to xAxisType
2022-09-06 14:30:52 -03:00
Conor Barnes
3ea747fae4
simplify code by not mapping x property to dateTime property
2022-09-06 14:27:01 -03:00
3b45355ce7
feat: Add documentation
2022-09-06 15:43:58 +02:00
cf75152608
tweak: more cleanup
2022-09-06 15:17:20 +02:00
162f158dbc
tweak: Use firstErrorOrOpen instead of hack
2022-09-06 14:54:59 +02:00
fc2d647b62
tweak: Add error checking to dmr calculation
2022-09-06 14:49:58 +02:00
60e42cf1e8
cleanup: More Dangers cleanup
...
and formatting
2022-09-06 14:25:03 +02:00
ae71bb8ec5
tweak: Move cast function to registry helpers file and rename
2022-09-06 14:05:08 +02:00
4903319073
format
2022-09-06 13:59:21 +02:00
edce22050a
cleanup: Move integrals to its own module
2022-09-06 13:59:03 +02:00
8ddd1a166a
tweak: Move combinatorics functions to its own module
2022-09-06 13:55:28 +02:00
697e3ba852
cleanup: Delete large amounts of dead code from Danger.
...
But keep pointer to commit
2022-09-06 13:44:55 +02:00
5ce0a6979d
tweak: Also use helpers in Number lib
...
Avoids code duplication
2022-09-06 13:39:02 +02:00
d8d68445b6
git add: Use helpers in Danger lib
2022-09-06 13:37:36 +02:00
b21d5d09a8
tweak: Add number function helpers
2022-09-06 13:36:43 +02:00
Ozzie Gooen
38447f1633
Merged with epic-reducer-project
2022-09-05 20:19:35 -07:00
Ozzie Gooen
c5928129d7
Minor cleanup to danger files
2022-09-05 20:16:41 -07:00
Ozzie Gooen
4fbbd39638
Merge branch 'develop' into patch-3
2022-09-05 14:26:54 -07:00
cae8f8cb65
tweak: tested examples in playground
2022-09-05 22:14:26 +02:00
bfc3b39b2b
tweak: format
2022-09-05 22:08:20 +02:00
e1760dab2d
tweak: Cleanup
2022-09-05 22:08:00 +02:00
f76de31d26
faustian bargain: create 6 different Danger.dmr functions
...
So ugly that it's almost beautiful. Except it's not
2022-09-05 21:59:53 +02:00
c183dbd24b
tweak: Continue building skeleton for Danger dmr
2022-09-05 21:40:20 +02:00
70d9a5c9f3
tweak: save intermediary state
2022-09-05 20:52:23 +02:00
dependabot[bot]
db3326ac34
⬆️ Bump @docusaurus/preset-classic from 2.0.1 to 2.1.0
...
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ) from 2.0.1 to 2.1.0.
- [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.1.0/packages/docusaurus-preset-classic )
---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 17:58:50 +00:00
Ozzie Gooen
edc7173fb6
Merge pull request #1076 from quantified-uncertainty/dependabot/npm_and_yarn/web-vitals-3.0.1
...
⬆️ Bump web-vitals from 3.0.0 to 3.0.1
2022-09-05 10:56:53 -07:00
Ozzie Gooen
d033db1155
Merge pull request #1077 from quantified-uncertainty/dependabot/npm_and_yarn/types/glob-8.0.0
...
⬆️ Bump @types/glob from 7.2.0 to 8.0.0
2022-09-05 10:56:46 -07:00
Ozzie Gooen
deec676d4e
Merge pull request #1078 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-18.7.15
...
⬆️ Bump @types/node from 18.7.14 to 18.7.15
2022-09-05 10:56:36 -07:00
Ozzie Gooen
02033b8dc1
Merge pull request #1079 from quantified-uncertainty/dependabot/npm_and_yarn/types/vscode-1.71.0
...
⬆️ Bump @types/vscode from 1.70.0 to 1.71.0
2022-09-05 10:56:29 -07:00
Ozzie Gooen
2b86fb7723
Merge pull request #1083 from quantified-uncertainty/dependabot/npm_and_yarn/testing-library/react-13.4.0
...
⬆️ Bump @testing-library/react from 13.3.0 to 13.4.0
2022-09-05 10:56:20 -07:00
Ozzie Gooen
8db0562f75
Merge pull request #1082 from quantified-uncertainty/dependabot/npm_and_yarn/vscode-languageserver-textdocument-1.0.7
...
⬆️ Bump vscode-languageserver-textdocument from 1.0.5 to 1.0.7
2022-09-05 10:56:11 -07:00
Vyacheslav Matyukhin
74e54c6e91
Merge branch 'epic-reducer-project' into function-charts-without-pointset-conversion
2022-09-05 21:41:01 +04:00
Vyacheslav Matyukhin
3c879432f2
Merge branch 'develop' into epic-reducer-project
2022-09-05 21:40:45 +04:00
Vyacheslav Matyukhin
2942067849
don't convert dists to pointset when rendering lambdas
2022-09-05 21:39:03 +04:00
dependabot[bot]
5607d65599
⬆️ Bump @testing-library/react from 13.3.0 to 13.4.0
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 13.3.0 to 13.4.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/v13.3.0...v13.4.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 16:58:04 +00:00
dependabot[bot]
86e41e0fe2
⬆️ Bump @types/node from 18.7.14 to 18.7.15
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.7.14 to 18.7.15.
- [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-09-05 16:55:19 +00:00
dependabot[bot]
f76a5f5ce4
⬆️ Bump web-vitals from 3.0.0 to 3.0.1
...
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/GoogleChrome/web-vitals/releases )
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md )
- [Commits](https://github.com/GoogleChrome/web-vitals/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: web-vitals
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 16:52:55 +00:00
dependabot[bot]
de06586784
⬆️ Bump @types/glob from 7.2.0 to 8.0.0
...
Bumps [@types/glob](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/glob ) from 7.2.0 to 8.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/glob )
---
updated-dependencies:
- dependency-name: "@types/glob"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 16:46:36 +00:00
dependabot[bot]
41e5f300ef
⬆️ Bump vscode-languageserver-textdocument from 1.0.5 to 1.0.7
...
Bumps [vscode-languageserver-textdocument](https://github.com/Microsoft/vscode-languageserver-node/tree/HEAD/textDocument ) from 1.0.5 to 1.0.7.
- [Release notes](https://github.com/Microsoft/vscode-languageserver-node/releases )
- [Commits](https://github.com/Microsoft/vscode-languageserver-node/commits/release/textdocument/1.0.7/textDocument )
---
updated-dependencies:
- dependency-name: vscode-languageserver-textdocument
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 16:46:15 +00:00
dependabot[bot]
417df076d0
⬆️ Bump @types/vscode from 1.70.0 to 1.71.0
...
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode ) from 1.70.0 to 1.71.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode )
---
updated-dependencies:
- dependency-name: "@types/vscode"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 16:45:33 +00:00
dependabot[bot]
3084c557fd
⬆️ Bump @docusaurus/core from 2.0.1 to 2.1.0
...
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus ) from 2.0.1 to 2.1.0.
- [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.1.0/packages/docusaurus )
---
updated-dependencies:
- dependency-name: "@docusaurus/core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 16:35:54 +00:00
8bdfa03799
feat: In Danger, add dmr for many functions
...
Still to be tested
2022-09-05 17:05:25 +02:00
Ozzie Gooen
7f8f6f4fd6
Merge pull request #1086 from quantified-uncertainty/dependabot/npm_and_yarn/types/react-18.0.18
...
⬆️ Bump @types/react from 18.0.17 to 18.0.18
2022-09-05 07:44:56 -07:00
2f33559e77
tweak: in Danger namespace change function name
...
to make clear that it takes only two inputs,
while I build the many-inputs version
2022-09-05 16:40:17 +02:00
9551aae634
tweak: format
2022-09-05 16:08:06 +02:00
8f8ca02730
tweak: get possibly working dmr function
2022-09-05 15:58:08 +02:00
b13da70c38
tweak: Build Danger.dmr skeleton more
2022-09-05 15:51:55 +02:00
dependabot[bot]
d71e6cf7d5
⬆️ Bump @types/react from 18.0.17 to 18.0.18
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.0.17 to 18.0.18.
- [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:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 13:44:29 +00:00
be4e1b1a85
tweak: In Danger namespace, build dmr function further
...
dmr = diminishing marginal returns
2022-09-05 15:27:59 +02:00
Nathanpmyoung
54fe141a7d
Added detail to explanation of quantile function
...
I didn't understand it so I thought I'd make it easier for the next person.
2022-09-05 13:26:36 +01:00
Nathanpmyoung
6ea94b0c8f
Correct spelling error
2022-09-05 13:18:01 +01:00
fe3075b3bf
tweak: In Danger namespace, further diminishingMarginalReturnsSkeleton
2022-09-05 14:12:34 +02:00
aa3173f85b
tweak: Add skeleton for calculating dimishing returns allocation
2022-09-05 14:00:14 +02:00
f370c44771
tiny tweak: better example
2022-09-05 13:09:28 +02:00
c0713b16c2
tweak: Add better error messages for common use case
...
I.e., the case of integrating a function which
doesn't return a number but a distribution
2022-09-05 13:03:56 +02:00
2b414191ac
tweak: Numerate integration errors.
2022-09-05 12:49:47 +02:00
a45e38d75d
feat: Cleanup of Danger namespace
2022-09-05 12:38:15 +02:00
6d75af61c3
fix: formatting
2022-09-05 12:16:19 +02:00
27ca86e729
feat: Worked out kinks of the integral!
2022-09-05 12:11:42 +02:00
fd7720b045
fix: formatting
2022-09-05 09:39:55 +02:00
2fa97c20f7
fix: Off by one error due to Belt.Array.makeBy
2022-09-05 09:37:48 +02:00
6c04f9bff1
fix: change expected output type of integrals
2022-09-05 09:10:42 +02:00
e73ffaa10a
feat: Added a slightly better integral function
...
Slightly better because the handling of bounds is better.
Previously we were integrating at min, min + interval,
min + i*interval, ...
which meanst that sometimes we weren't integrating at
max.
Also a minimal amount of cleanup
2022-09-05 09:08:53 +02:00
abad453523
fix: no small integration error
2022-09-05 08:41:33 +02:00
244f3ea8d9
feat: Note that this isn't tested yet.
2022-09-04 22:48:29 +02:00
ecf5249b5c
feat: And integration function to Danger namespace
...
Note that I haven't tested this yet.
2022-09-04 22:45:55 +02:00
Umur Ozkul
3794909efc
format js
2022-09-04 21:53:02 +02:00
Umur Ozkul
b73924135f
format rescritp
2022-09-04 21:52:48 +02:00
Umur Ozkul
247e101324
PR comment
2022-09-04 21:24:53 +02:00