Umur Ozkul
e9c55fe802
demolish FFI
2022-08-19 17:33:37 +02:00
Umur Ozkul
af4070a34f
demolish external expression value
2022-08-19 17:30:29 +02:00
Umur Ozkul
f0ba68f64a
project
2022-08-19 17:22:22 +02:00
Umur Ozkul
fdc7f06f08
result
2022-08-18 15:33:01 +02:00
Umur Ozkul
868f9f428a
parametric types for typescript
2022-08-17 21:22:10 +02:00
Umur Ozkul
55c03ed520
missing gentype
2022-08-17 19:32:11 +02:00
Umur Ozkul
a8c7297621
TypeScript experiment
2022-08-17 18:57:34 +02:00
Vyacheslav Matyukhin
c204156b75
fix gentype issues with "this" keyword
2022-08-16 20:58:47 +04:00
Umur Ozkul
454a545ef6
tutorial: initial
...
Also missing public API function
2022-08-16 17:07:15 +02:00
Vyacheslav Matyukhin
716ec61913
fix some gentype errors
2022-08-16 16:02:23 +04:00
Umur Ozkul
dc642774eb
reformat
2022-08-16 02:49:16 +02:00
Umur Ozkul
b3a32b1231
more typescript friendly
2022-08-16 02:14:45 +02:00
Umur Ozkul
ee17bd9e57
more typescript friendly & remove an unnecessary call
2022-08-16 01:51:01 +02:00
Umur Ozkul
1b69ce3aa1
compatibility to change environment at runtime
...
There will be changes in develop to change environment at runtime. This
fix provides compatibility. So that they can be merged easier.
2022-08-15 15:18:14 +02:00
Umur Ozkul
66f2f18a00
fix merging develop
2022-08-15 14:45:45 +02:00
Umur Ozkul
58e1cf187d
Merge branch 'develop' into reducer-project
2022-08-15 13:59:07 +02:00
Umur Ozkul
9075b74536
Edit comments
2022-08-14 17:40:52 +02:00
Umur Ozkul
0c1c5c9499
seperate Project Topology Module
2022-08-14 16:18:07 +02:00
Ozzie Gooen
5dd988ac13
Merge pull request #900 from quantified-uncertainty/reducer-typecheck-example
...
Reducer real life type checking example to build a library
2022-08-11 17:45:30 -07:00
Umur Ozkul
2e8e71bbd0
project
...
test
remove setResult
parse end of outerblock
test end of outer block
compiles
testing
bindings tested
todo chain bindings
topological sort
2022-08-10 11:53:39 +02:00
Ozzie Gooen
2aaa43008d
Very simple implementation of pointset mapY
2022-08-08 10:31:05 -07:00
Vyacheslav Matyukhin
37aa63438f
Merge pull request #917 from quantified-uncertainty/issue-916
...
Reducer lambda context, hiddenNameSpace
2022-07-31 00:35:13 +04:00
Vyacheslav Matyukhin
5d744fe2d0
fix genType
2022-07-31 00:20:51 +04:00
Umur Ozkul
4c21aa902e
the last property of a record can have a following comma
2022-07-30 22:14:16 +02:00
Umur Ozkul
17c3fe9dd8
hiddenNameSpace
2022-07-30 16:58:45 +02:00
Vyacheslav Matyukhin
52bee6a0e3
fix EvVoid ts conversion
2022-07-29 23:35:11 +04:00
Ozzie Gooen
209ecafb22
Updating to version 0.3.0
2022-07-29 10:25:27 -07:00
Umur Ozkul
1a5f8dee72
Merge branch 'develop' into reducer-typecheck-example
2022-07-29 05:52:35 +02:00
Umur Ozkul
5576bf2ef3
fixes #904 . E.O.default performance
2022-07-29 02:12:07 +02:00
Umur Ozkul
e1c53c9087
any type
...
any will be depreciated after the implementation of binding type
variables
2022-07-28 22:25:51 +02:00
Umur Ozkul
6733319403
switch replacement by type checking
2022-07-28 22:20:00 +02:00
Quinn Dougherty
33e5ebd6da
yarn format
compels me
2022-07-28 10:43:59 -04:00
Umur Ozkul
66e48dd834
fixes #872
2022-07-25 19:56:18 +02:00
Umur Ozkul
4a98cc210a
fix compiler warnings
2022-07-22 17:49:53 +02:00
Ozzie Gooen
3165e1e499
Updated version
2022-07-21 13:57:11 -07:00
Ozzie Gooen
38ef109291
Merge branch 'develop' into add-reducer-to-function-registry
...
* develop:
Simple refactors to versioning
2022-07-21 13:56:48 -07:00
Ozzie Gooen
e7d63a463c
Merge branch 'develop' into add-reducer-to-function-registry
...
* develop:
Simple version number
⬆️ Bump terser from 4.8.0 to 4.8.1
2022-07-21 13:55:04 -07:00
Ozzie Gooen
0d4141a899
Simple refactors to versioning
2022-07-21 13:51:14 -07:00
Ozzie Gooen
8dd7aff77f
Simple version number
2022-07-21 13:48:51 -07:00
Ozzie Gooen
47f1be0702
Story cleanup
2022-07-21 11:29:59 -07:00
Ozzie Gooen
acebaa517b
Simple SampleSet.fromDist function
2022-07-21 10:31:53 -07:00
Ozzie Gooen
223ddf6a3e
Fixed bug with namespaces
2022-07-21 08:54:41 -07:00
Ozzie Gooen
d3a12eb4e9
Fixed bug with namespaces
2022-07-21 08:31:46 -07:00
Ozzie Gooen
aa3d91d78f
Merge branch 'develop' into add-reducer-to-function-registry
...
* develop:
Minor component fix to show Void statements
Fixed typescript build
Introduce void type
2022-07-20 16:50:49 -07:00
Ozzie Gooen
4055d1e93c
Merge pull request #865 from quantified-uncertainty/reducer-void
...
Reducer: void type
2022-07-20 16:46:48 -07:00
Ozzie Gooen
078534f7c8
Fixed typescript build
2022-07-20 08:27:57 -07:00
Umur Ozkul
1c4557b638
Introduce void type
...
yarn all:rescript
EvVoid
parsing void
void
2022-07-20 17:01:42 +02:00
Ozzie Gooen
9173b103f5
Fixed major bug for module functions
2022-07-19 23:06:10 -07:00
Ozzie Gooen
90d3f89c0a
Trying to fix things, but breaking a lot of tests.
2022-07-19 21:32:11 -07:00
Ozzie Gooen
35cd9f37d1
Basic changes to API
2022-07-19 20:52:08 -07:00
Ozzie Gooen
100ec2c1a8
Adjusting documentation to reflect new functions
2022-07-19 16:18:28 -07:00
Ozzie Gooen
7316d27b54
Added SampleSet fns to FunctionRegistry
2022-07-19 15:52:28 -07:00
Ozzie Gooen
f8d6db61c5
Moved list functions into FunctionRegistry
2022-07-19 10:35:31 -07:00
Ozzie Gooen
835ce6b81f
Added reducer to Function Registry
2022-07-19 08:42:08 -07:00
Ozzie Gooen
28036bfb36
Minor cleanup
2022-07-19 08:12:04 -07:00
Ozzie Gooen
ee244463fa
Merged with develop
2022-07-18 22:27:59 -07:00
Ozzie Gooen
5891d23462
Merge pull request #845 from quantified-uncertainty/reducer-typecheck
...
Reducer typecheck
2022-07-18 22:25:40 -07:00
Ozzie Gooen
6f25fca814
Minor cleanup
2022-07-18 22:21:57 -07:00
Ozzie Gooen
173c17e13d
Simple cleanup
2022-07-18 22:17:38 -07:00
Ozzie Gooen
dbfee988d2
Pulled out cache in Registry, to make more sense
2022-07-18 22:14:46 -07:00
Ozzie Gooen
905d2fbb23
Removed now-uneeded Function Registry test file
2022-07-18 21:29:46 -07:00
Ozzie Gooen
e6b402c7d8
Merge pull request #860 from quantified-uncertainty/sampleN
...
`mapSamplesN`
2022-07-18 21:17:38 -07:00
Sam Nolan
7887256ca1
Reorder function declarations to compile
2022-07-19 11:45:07 +10:00
Sam Nolan
5bdc19f35f
Refactor sampleN code and remove log
2022-07-19 11:38:43 +10:00
Sam Nolan
ffaf349e0a
Basic mapSampleN support
2022-07-19 11:33:11 +10:00
Ozzie Gooen
30f721eeb6
Simple conversion away from using modules
2022-07-18 16:10:19 -07:00
Umur Ozkul
6e1be862d2
reducer passed to external library
2022-07-18 18:51:05 +02:00
Ozzie Gooen
beb22274d6
Immediate fix for merge conflict
2022-07-18 09:32:23 -07:00
Umur Ozkul
15d63a6a96
type modifiers -> type contracts
2022-07-18 18:31:09 +02:00
Umur Ozkul
c1429e0907
simplified modules
2022-07-18 18:16:49 +02:00
Umur Ozkul
06134a6524
Merge branch 'reducer-parsermodules' into reducer-typecheck
2022-07-18 18:08:44 +02:00
Umur Ozkul
479f60df01
before math library
...
no module (tested)
fix parser and Math library
2022-07-18 18:04:47 +02:00
Ozzie Gooen
628b105535
PointSet -> Pointset
2022-07-18 08:24:11 -07:00
Umur Ozkul
abee4db340
Merge branch 'develop' into reducer-typecheck
2022-07-18 15:18:10 +02:00
Umur Ozkul
8fb75d57fc
type check
2022-07-18 15:15:36 +02:00
Ozzie Gooen
08a7b8586b
Simple tests for function library
2022-07-16 22:01:26 -07:00
Ozzie Gooen
b502e21a0f
Format
2022-07-16 20:33:15 -07:00
Ozzie Gooen
c5447b8d7a
All autogenerated FunctionLibrary tests pass
2022-07-16 20:32:37 -07:00
Ozzie Gooen
395477ed12
Initial testing of FunctionRegistry Library
2022-07-16 19:50:18 -07:00
Ozzie Gooen
5e8b46b7df
Cleaning up Function Registry to Reducer interface
2022-07-16 19:06:48 -07:00
Ozzie Gooen
d88fb95767
Simple reformatting, got RequiresNamespace to work
2022-07-16 18:11:38 -07:00
Ozzie Gooen
0c032e710c
Moved function library modules to separate files
2022-07-16 14:01:00 -07:00
Umur Ozkul
b65aeaf0d2
spell check
2022-07-16 17:09:39 +02:00
Umur Ozkul
4522b46900
basic type compiler
2022-07-16 16:13:39 +02:00
Ozzie Gooen
e3ef7a3048
Added examples to most items in function registry library
2022-07-15 19:47:57 -07:00
Ozzie Gooen
9d5aaf43a8
Simple tests for fake FunctionRegistry output types
2022-07-15 19:18:36 -07:00
Ozzie Gooen
8839f1d9c7
Added FunctionRegistry test and got simple polymorphism working
2022-07-14 22:14:23 -07:00
Ozzie Gooen
3f09f5f307
Move namespace from fnDefinition to fn
2022-07-14 17:21:07 -07:00
Ozzie Gooen
3c396e0ccc
FunctionRegistry examples should be an array
2022-07-14 16:43:38 -07:00
Ozzie Gooen
c3b0009fb8
Minor cleanup
2022-07-14 16:13:22 -07:00
Ozzie Gooen
fc95253dd5
Cleanup of Dict Fromlist in Function Registry Library
2022-07-14 15:15:03 -07:00
Ozzie Gooen
feb198d205
Add and use extra pathway for FunctionRegistry to use internalValues directly
2022-07-14 14:53:53 -07:00
Ozzie Gooen
cae59cb84b
Split up function definitions
2022-07-14 13:31:48 -07:00
Ozzie Gooen
04accf0075
Merge branch 'develop' into namespace-integration
...
* develop: (61 commits)
Minor UI refactors
tweak: Indicate that the configuration step is optional
tweak: Show what to click in the extension
tweak: Better documentation
Formatted code
Moved env to GenericDist, and used it
Replaced some scoring functions with functionRegistry functions
Prior can't be a point
v0.2.23
Made new test call polymorphic constructor #ToFloat
⬆️ Bump @typescript-eslint/parser from 5.30.5 to 5.30.6
⬆️ Bump postcss-cli from 9.1.0 to 10.0.0
⬆️ Bump @typescript-eslint/eslint-plugin from 5.30.5 to 5.30.6
⬆️ Bump @docusaurus/preset-classic
⬆️ Bump clsx from 1.2.0 to 1.2.1
⬆️ Bump postcss-loader from 7.0.0 to 7.0.1
⬆️ Bump @hookform/resolvers from 2.9.3 to 2.9.5
⬆️ Bump @types/node from 18.0.0 to 18.0.3
⬆️ Bump @docusaurus/core from 2.0.0-beta.21 to 2.0.0-beta.22
⬆️ Bump @typescript-eslint/parser from 5.30.4 to 5.30.5
...
2022-07-13 15:19:26 -07:00
Ozzie Gooen
d8b1e0d5ff
Formatted code
2022-07-13 10:11:59 -07:00
Ozzie Gooen
78e9e48626
Moved env to GenericDist, and used it
2022-07-13 09:37:39 -07:00
Ozzie Gooen
3d71d7bf4e
Replaced some scoring functions with functionRegistry functions
2022-07-13 08:56:22 -07:00
Ozzie Gooen
652394f535
Prior can't be a point
2022-07-12 09:45:41 -07:00
Quinn Dougherty
e9968288fd
Merge remote-tracking branch 'origin/develop' into scoring-cleanup-three
2022-07-11 15:34:50 -04:00
Quinn Dougherty
d682f28faf
Merge remote-tracking branch 'origin/develop' into scoring-cleanup-three
2022-07-11 14:20:00 -04:00
Umur Ozkul
532a878911
define function returning result
2022-07-11 17:46:50 +02:00
Ozzie Gooen
7afae96cf4
Simple integration of module functionality
2022-07-07 18:30:56 -07:00
Ozzie Gooen
c866cc812a
wip
2022-07-07 18:09:41 -07:00
Ozzie Gooen
9f0e4f34fe
First attempt at integrating namespaces
2022-07-07 12:01:02 -07:00
Ozzie Gooen
6e968c492b
Merge pull request #786 from quantified-uncertainty/reducer-modules
...
Module.defineFFI
2022-07-05 21:26:20 -04:00
Ozzie Gooen
4054f7dbff
Small beta error message change
2022-07-05 19:48:41 -04:00
Umur Ozkul
29c9cad510
remove dead line
2022-07-05 06:19:42 +02:00
Umur Ozkul
f5f2d94fbc
remove dead line
2022-07-05 06:17:15 +02:00
Umur Ozkul
a285d0b493
fix peggy warning
2022-07-05 06:17:03 +02:00
Umur Ozkul
6edacc78e4
foo test
2022-07-05 05:16:00 +02:00
Umur Ozkul
c0329dc73d
resolve PR786
2022-07-05 00:58:25 +02:00
Quinn Dougherty
7889332052
polymorphic variants to neatly constrain types
2022-07-04 11:24:30 -04:00
Quinn Dougherty
4858aa9fe5
**most** comments, might do something with polymorphic variants so that types are more truthful next, but might not
2022-07-04 10:22:06 -04:00
Quinn Dougherty
9225710d2d
Merge remote-tracking branch 'origin/develop' into scoring-cleanup-three
2022-07-04 10:19:52 -04:00
Quinn Dougherty
7a419742ad
moved error message sooner for invalid mean and stdev
2022-07-04 09:57:00 -04:00
Ozzie Gooen
d6bdf5bfeb
Formatted code
2022-07-02 15:02:43 -04:00
Ozzie Gooen
d888f685d0
Quick fixes for EvType typescripting
2022-07-02 14:25:05 -04:00
Umur Ozkul
38cc93bdec
Module.defineFFI
2022-07-02 14:53:33 +02:00
Quinn Dougherty
9dcac8dd48
fixed \-1\
I had forgotten; added basic mean tests
2022-06-30 12:20:50 -04:00
Quinn Dougherty
54cd636524
added comment for more direct wikipedia citation
2022-06-27 14:37:12 -04:00
Quinn Dougherty
14189fd848
#497 (no tests or examples)
2022-06-27 14:31:35 -04:00
Quinn Dougherty
acb0d3b9ee
removed \TwoScalars\
material
2022-06-26 12:28:04 -04:00
Vyacheslav Matyukhin
8880b91c28
peggy: require instead of import, fixes tests
2022-06-26 12:13:38 +03:00
Vyacheslav Matyukhin
7cbece9212
optional location on NodeString (for record keys)
2022-06-26 11:42:33 +03:00
Vyacheslav Matyukhin
5a2b5b2a4d
return typed peggy AST from parse
2022-06-26 11:14:51 +03:00
Quinn Dougherty
29cf1cebb2
fixed paths to constructors
2022-06-24 09:19:15 -04:00
Quinn Dougherty
e0e2f12e27
added path to constructors
2022-06-24 09:07:15 -04:00
Quinn Dougherty
9dbd4f076c
fixed paren balancing and so on
2022-06-24 08:56:16 -04:00
Quinn Dougherty
3e67180fe1
Merge remote-tracking branch 'origin/develop' into scoring-cleanup-three
2022-06-24 08:48:07 -04:00
Ozzie Gooen
aeea4806b4
Merge pull request #752 from quantified-uncertainty/reducer-typescript-wall
...
Reducer typescript wall
2022-06-24 05:43:21 -07:00
Sam Nolan
3b84c2892c
Fix typescript errors (start raw decoding early)
2022-06-24 10:53:53 +00:00
Umur Ozkul
e192fe5790
PR comments
2022-06-24 12:15:38 +02:00
Ozzie Gooen
934608d971
Merge pull request #750 from quantified-uncertainty/language-server
...
Language server; error location in SyntaxErrors
2022-06-23 17:30:29 -07:00
Umur Ozkul
07d5c6d8b3
Iev -> IEv Just more readable prefix
2022-06-23 20:38:07 +02:00
Umur Ozkul
24a9c52789
Merge branch 'develop' into reducer-typescript-wall
2022-06-23 20:07:05 +02:00
Quinn Dougherty
b74b83a2cb
Merge remote-tracking branch 'origin/develop' into scoring-cleanup-three
2022-06-23 11:34:03 -04:00
Sam Nolan
2b8545ad04
Fix 1 + distribution having reverse ordered points
...
Fixes #595
2022-06-23 03:40:40 +00:00
Umur Ozkul
e23f8b011b
Merge branch 'develop' into reducer-typescript-wall
...
packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res
packages/squiggle-lang/src/rescript/SquiggleLibrary/SquiggleLibrary_Math.res
2022-06-23 04:29:13 +02:00
Umur Ozkul
95d3bf6eaa
merge Reducer
2022-06-23 04:03:50 +02:00
Umur Ozkul
7b2c16d90f
fix typescript test
2022-06-23 04:03:14 +02:00
Umur Ozkul
ac9a468aa6
Reducer InternalExpressionValue created
...
this will allow complicated changes to execution without changing the typescript interface
2022-06-23 02:25:54 +02:00
Vyacheslav Matyukhin
84a0d83efb
store location on RESyntaxError; export parse() function
2022-06-22 00:34:35 +03:00
Quinn Dougherty
d80ea676c5
fixed tests after pair; error'd out mixed case
2022-06-21 12:23:58 -04:00
Quinn Dougherty
95adc67701
some adjustments I guess
2022-06-21 11:55:15 -04:00
93f5b4ba2a
feat: Fix remaining scoring errors with Quinn
...
Value::0.3 to 0.9
2022-06-20 16:39:48 -04:00
4b1c226173
fix: PointSetDist_Scoring.WithScalarAnswer.scoreWithPrior
...
Done in pair coding with Quinn.
Value::[0.3 to 0.9]
2022-06-20 16:14:41 -04:00
Quinn Dougherty
633bab9c30
a fistful of comments
2022-06-20 11:11:11 -04:00
Quinn Dougherty
1a6ced0373
a few comments more
2022-06-20 09:34:56 -04:00
Quinn Dougherty
d156b24fd1
\yarn format\
pass
2022-06-20 08:51:34 -04:00
Quinn Dougherty
f5366540f7
Merge remote-tracking branch 'origin/develop' into scoring-cleanup-three
2022-06-20 08:50:59 -04:00
Quinn Dougherty
18733f2d09
merged 592
2022-06-20 08:47:16 -04:00
Quinn Dougherty
74fe0296e0
Merge remote-tracking branch 'origin/scoring-cleanup-refactor' into scoring-cleanup-three
2022-06-20 08:36:31 -04:00
Quinn Dougherty
584c639d01
some of the comments
2022-06-20 08:28:30 -04:00
Ozzie Gooen
8d311a099d
Added scaleMultiply
2022-06-17 06:44:06 -07:00
Ozzie Gooen
d4535df712
Merge pull request #696 from quantified-uncertainty/normalize-after-truncate
...
Normalize after truncate
2022-06-14 17:14:03 -07:00
Ozzie Gooen
6278dff818
Ran formatting
2022-06-14 17:00:09 -07:00
Ozzie Gooen
7ceae18611
Normalize after trunctae
2022-06-14 16:54:59 -07:00
Ozzie Gooen
62ed997de2
More progress on DistGeneric
2022-06-13 18:13:43 -07:00
Ozzie Gooen
6a4132c955
Ran format
2022-06-13 12:10:24 -07:00
Ozzie Gooen
2dc71315ef
Added key math variables, all lowercase
2022-06-13 11:43:26 -07:00
Ozzie Gooen
f01df95381
Merge branch 'develop' into documentation-refactor-June12-2022
...
* develop:
⬆️ Bump @storybook/builder-webpack5 from 6.5.7 to 6.5.8
⬆️ Bump @storybook/react from 6.5.7 to 6.5.8
⬆️ Bump @storybook/addon-essentials from 6.5.7 to 6.5.8
always merge stdlib
⬆️ Bump webpack-dev-server from 4.9.1 to 4.9.2
⬆️ Bump @types/node from 17.0.40 to 17.0.42
⬆️ Bump reanalyze from 2.22.0 to 2.23.0
⬆️ Bump @storybook/manager-webpack5 from 6.5.7 to 6.5.8
⬆️ Bump @storybook/addon-actions from 6.5.7 to 6.5.8
⬆️ Bump webpack-cli from 4.9.2 to 4.10.0
⬆️ Bump @storybook/addon-links from 6.5.7 to 6.5.8
⬆️ Bump @hookform/resolvers from 2.9.0 to 2.9.1
⬆️ Bump react-hook-form from 7.31.3 to 7.32.0
⬆️ Bump tailwindcss from 3.0.24 to 3.1.2
2022-06-13 11:04:21 -07:00
Umur Ozkul
e661665385
Merge branch 'develop' into reducer-modules
2022-06-13 18:56:37 +02:00
Umur Ozkul
28938adf53
always merge stdlib
2022-06-13 18:54:48 +02:00
Ozzie Gooen
bb85869303
Lots of documentation tweaks
2022-06-12 21:19:28 -07:00
Ozzie Gooen
a690cd15fd
Merge pull request #638 from quantified-uncertainty/Documentation-auto-generation
...
First attempt at a complete API definition
2022-06-11 13:37:27 -07:00
Ozzie Gooen
79b71c39a0
Ran formatter and fixed tests
2022-06-11 08:47:52 -07:00
Umur Ozkul
f406ae9053
Merge branch 'develop' into reducer-modules
2022-06-11 15:23:54 +02:00
Umur Ozkul
0704c8d9f5
module tests pass
2022-06-11 15:15:25 +02:00
Ozzie Gooen
6dc8b711bb
Lots of simple cleanup to api docs
2022-06-10 17:35:48 -07:00
Ozzie Gooen
590480d4e1
Merged with develop
2022-06-10 11:53:04 -07:00
Ozzie Gooen
7226a06d39
Merge pull request #662 from quantified-uncertainty/utility-functions
...
Adds a few utility functions
2022-06-10 11:18:54 -07:00
Ozzie Gooen
844dfd369c
Update FunctionRegistry_Library.res
2022-06-10 11:17:47 -07:00
Umur Ozkul
69bab17331
Math module tests defined (failing)
...
rename modules
define module
Math module
test helper fixed for defaults and test defined
2022-06-10 16:35:39 +02:00
Umur Ozkul
3ca209a53d
bindings and module managers
...
bindings are a module
2022-06-10 14:19:42 +02:00
Ozzie Gooen
8fd5c6a1be
Merge branch 'develop' into Documentation-auto-generation
...
* develop: (22 commits)
components-lint respects components prettierignore
format main.css and prettierignore base.css
scoped tailwind preflight, top-level .squiggle wrapper
grammar: identifiers with modules
Refactored reducerInterface files
Added simple scientific units
Added stdev to table of stats, when needed
Added stdev and variance to Distribution Operation Constructors
Quick addition of stdev-variance-min-max-mode
⬆️ Bump @types/node from 17.0.38 to 17.0.40
⬆️ Bump webpack from 5.72.1 to 5.73.0
⬆️ Bump @storybook/react from 6.5.6 to 6.5.7
⬆️ Bump ts-node from 10.8.0 to 10.8.1
⬆️ Bump @storybook/builder-webpack5 from 6.5.6 to 6.5.7
⬆️ Bump peggy from 2.0.0 to 2.0.1
⬆️ Bump @storybook/addon-essentials from 6.5.6 to 6.5.7
⬆️ Bump @storybook/preset-create-react-app from 4.1.1 to 4.1.2
⬆️ Bump @hookform/resolvers from 2.8.10 to 2.9.0
⬆️ Bump typescript from 4.7.2 to 4.7.3
⬆️ Bump @storybook/manager-webpack5 from 6.5.6 to 6.5.7
...
2022-06-09 16:50:46 -07:00
Umur Ozkul
2f4db3230d
format
2022-06-09 15:53:07 +02:00
Ozzie Gooen
e4eceb9cd3
Minor fix for EvModule support
2022-06-09 06:44:03 -07:00
Ozzie Gooen
1acd4fc259
Minor cleanup
2022-06-09 06:34:31 -07:00
Umur Ozkul
afffdd8559
typescript work in progress
2022-06-09 15:27:51 +02:00
Umur Ozkul
710756bc50
EvModule defined
2022-06-09 15:27:37 +02:00
Umur Ozkul
b623be5f9b
format
2022-06-09 14:57:35 +02:00
Umur Ozkul
02c06b638e
module access to expression
2022-06-09 14:57:25 +02:00
Umur Ozkul
346c83f2be
module parse
2022-06-09 14:35:44 +02:00
Umur Ozkul
cfcf3cb144
module grammar type correction
2022-06-09 14:30:17 +02:00
Ozzie Gooen
b48a0575d9
Cumprod and formatting
2022-06-08 08:21:20 -07:00
Umur Ozkul
b41e32805c
grammar: identifiers with modules
2022-06-08 17:00:17 +02:00
Ozzie Gooen
fc40744053
Simple additions of first, last, cumulative sum, diff
2022-06-08 08:00:06 -07:00
Ozzie Gooen
12cdb4ed36
Added dict keys, values, fromList, toList
2022-06-08 07:24:06 -07:00
Ozzie Gooen
8d1d08eaa0
Simple dict merge and mergeMany
2022-06-07 22:35:40 -07:00
Ozzie Gooen
0fcf7e197e
Added listMake and upTo
2022-06-07 21:08:39 -07:00
Ozzie Gooen
ff3efeac4c
Adding math utility functions
2022-06-07 09:40:24 -07:00
Ozzie Gooen
b022ea2fae
Merge pull request #656 from quantified-uncertainty/stdev-variance
...
Quick additions of Stdev, Variance, and Mode for SampleSet, and Min and Max for all
2022-06-06 15:52:02 -07:00
Ozzie Gooen
b675b33dfe
Refactored reducerInterface files
2022-06-06 14:42:49 -07:00
Ozzie Gooen
a15c0fa888
Added simple scientific units
2022-06-06 13:55:51 -07:00
Ozzie Gooen
079553cd71
Added stdev and variance to Distribution Operation Constructors
2022-06-06 12:21:03 -07:00
Ozzie Gooen
7d9bae96e1
Quick addition of stdev-variance-min-max-mode
2022-06-06 12:08:00 -07:00
Ozzie Gooen
441ac3c251
Changed the name of select functions
2022-06-05 21:47:29 -07:00
Ozzie Gooen
6567f1b8ef
Moved API files to API directory
2022-06-05 20:02:17 -07:00
Ozzie Gooen
b0b48c7129
First attempt at new API documentation generation
2022-06-04 09:26:52 -07:00
Ozzie Gooen
10de355f86
First attempt at auto-documentation
2022-06-03 17:59:02 -07:00
Umur Ozkul
9e4a70c516
Merge branch 'develop' into reducer-type-grammar
2022-06-02 14:29:33 +02:00
Umur Ozkul
6b25e82f58
typeExpression
...
type statements
type paranthesis
type paranthesis
comments
TODO
typeExpression
type statements
type paranthesis
type paranthesis
comments
TODO
peggy construct functions
typeExpression
type statements
type paranthesis
type paranthesis
comments
TODO
peggy construct functions
apply
typeExpression
type statements
type paranthesis
type paranthesis
comments
TODO
peggy construct functions
apply
all types are expressions
typeExpression
type statements
type paranthesis
type paranthesis
comments
TODO
peggy construct functions
apply
all types are expressions
modifiers
typeExpression
type statements
type paranthesis
type paranthesis
comments
TODO
peggy construct functions
apply
all types are expressions
modifiers
0 arg constructors and $ (low priority type modifier)
remove GeneratedParser.js
peggy test helpers
test type parsing
type of test defined
act of binding refactored
recognize all binding functions | "$_setBindings_$" | "$_setTypeOfBindings_$" | "$_setTypeAliasBindings_$"
doBindStatement
bindings default statemetn
doBindExpression
clone type references and type aliases
doSetBindingsInNamespace
member_of, min, max
typeOr
type function
type with expression
2022-06-02 14:20:55 +02:00
Ozzie Gooen
793c42ce20
Merge pull request #599 from quantified-uncertainty/toPointSet-fn
2022-06-02 05:16:32 -07:00
Sam Nolan
23bc41d61c
Change import to import type when needed
2022-05-31 04:16:04 +00:00
Umur Ozkul
ac3fa859c0
Replace $$_block__$$ with {}
...
More redable language tests
2022-05-29 17:55:01 +02:00
Ozzie Gooen
178ec6f89d
Merge pull request #600 from quantified-uncertainty/issue597
...
fixed #597
2022-05-28 11:10:27 -04:00
Umur Ozkul
217a783d0a
format
2022-05-28 16:02:16 +02:00
Umur Ozkul
ce5f12360a
fixed #597
2022-05-28 15:52:35 +02:00
Ozzie Gooen
ba34c1abf1
Ran formatter
2022-05-27 14:09:17 -04:00
Ozzie Gooen
c2b90b7023
ToDiscretePointSet
2022-05-27 14:03:41 -04:00
Ozzie Gooen
f49697b64a
Simple toContinousPointSet
2022-05-27 13:37:37 -04:00
Ozzie Gooen
70664c0a91
Merge pull request #591 from quantified-uncertainty/declare-test
...
Declare() functionality
2022-05-27 11:44:51 -04:00
Ozzie Gooen
3566311817
Did formatting
2022-05-27 09:44:36 -04:00
Ozzie Gooen
0da95bd21e
Cleanup of SampleSet map
2022-05-27 09:40:49 -04:00
Ozzie Gooen
d3a2f391a7
Added map3 to samplesMap
2022-05-27 09:24:06 -04:00
Ozzie Gooen
20f901e3f8
Added Declaration toString
2022-05-27 07:58:43 -04:00
Ozzie Gooen
cbc51c23de
Minor improvement of error type
2022-05-27 07:29:39 -04:00
Ozzie Gooen
d630f7335d
Minor fixes
2022-05-26 08:23:43 -04:00
Ozzie Gooen
298d3923bc
Fixed bug caused by bad genType format of Declaration
2022-05-25 19:27:15 -04:00
Ozzie Gooen
239abbdcf8
Minor refactors
2022-05-25 18:10:05 -04:00
Quinn Dougherty
6a9179d4b8
Last cleanup
...
Value: [1e-5 to 1e-3]
2022-05-25 14:40:39 -04:00
Quinn Dougherty
3aaad14f11
slghtly more robust solution to mixed kldivergences (and removed a
...
warning)
Value: [1e-5 to 1e-2]
2022-05-25 13:51:01 -04:00
Quinn Dougherty
a266b8ed09
Fixed tests (plausibly slightly naively)
...
Value: [1e-4 to 1e-1]
2022-05-25 13:38:55 -04:00
Quinn Dougherty
cbaf4c150d
one CR comment; chasing kldivergence on mixeds bug
...
Value: [1e-10 to 1e-3]
2022-05-25 13:10:31 -04:00
Ozzie Gooen
5d8f07c1b4
Minor fixes
2022-05-25 10:55:03 -04:00
Quinn Dougherty
249f58d3d8
Slightly baffled why klDivergence : mixed x mixed -> float
is busted.
...
Value: [1e-4 to 3e-2]
hypothesis: I need to reintroduce `combineAlongSupportOfSecondArgument`
2022-05-25 10:39:30 -04:00
Quinn Dougherty
f2460a5e12
It compiles
...
Value: [1e-3 to 4e-1]
2022-05-25 08:22:57 -04:00
Quinn Dougherty
3a56d6fca4
intermediate commit
...
Value: [1e-10 to 1e-5]
2022-05-25 08:22:57 -04:00
Quinn Dougherty
bafcb4f7b8
Cleaned up Scoring
file: no dispatch yet
...
Value: [1e-4 to 6e-2]
2022-05-25 08:22:57 -04:00
Ozzie Gooen
c5673fd1b1
Trying to add squigglechart types for declaration
2022-05-24 19:14:13 -04:00
Ozzie Gooen
533c97c41c
Added very simple lambdaDeclaration to React components
2022-05-24 17:23:37 -04:00
Ozzie Gooen
d1f2f71912
Made formal Declaration type
2022-05-24 17:02:27 -04:00
Ozzie Gooen
9185719641
Merge branch 'develop' into declare-test
...
* develop:
Added type to appease bisect
Minor additions to datetime units
Trying to appease the CI tests, which are failing here for some reason.
Delete Reducer_Peggy_GeneratedParser.js
Formatted Code
Moved DateTime functionality into separate file
remove unit evaluation test
generic unit support
numbers with units (tested)
Cleaned up arithmetic operations of time durations
Simple better format for Duration toString
More sophisticated makeFromYear function, that accepts floats
Added better Duration toString and Date makeWithYear functionality
Simple dateTime integration
2022-05-24 16:26:32 -04:00
Ozzie Gooen
f5fcd4f9ae
Added type to appease bisect
2022-05-24 15:51:22 -04:00
Ozzie Gooen
628cb0c807
Minor additions to datetime units
2022-05-24 14:49:04 -04:00
Ozzie Gooen
822771afe8
Merge branch 'develop' into DateTime-integration
...
* develop:
Delete Reducer_Peggy_GeneratedParser.js
remove unit evaluation test
generic unit support
numbers with units (tested)
2022-05-24 14:30:33 -04:00
Ozzie Gooen
8757448900
Trying to appease the CI tests, which are failing here for some reason.
2022-05-24 14:28:02 -04:00
Ozzie Gooen
1e4aecd4fc
Delete Reducer_Peggy_GeneratedParser.js
...
I'm pretty sure this should be in the gitignore.
2022-05-24 14:23:26 -04:00
Ozzie Gooen
5fd5c1c1f8
Formatted Code
2022-05-24 14:12:49 -04:00
Ozzie Gooen
31e6f13472
Minor cleanup
2022-05-24 07:52:27 -04:00
Ozzie Gooen
6248818531
First attempt at function declaration
2022-05-23 20:49:10 -04:00
Umur Ozkul
5caad73586
Merge branch 'develop' into reducer-dev
2022-05-23 20:40:56 +02:00
Ozzie Gooen
8b0615eec0
Merged with develop
2022-05-23 14:38:15 -04:00
Ozzie Gooen
003b320acb
Fixing lint and tests
2022-05-23 14:28:32 -04:00
Ozzie Gooen
faf4718f4d
Merged with develop
2022-05-23 13:49:39 -04:00
Ozzie Gooen
bb5af13ddc
Moved DateTime functionality into separate file
2022-05-23 13:44:41 -04:00
Umur Ozkul
a386eee570
remove unit evaluation test
...
We provide no implementation
2022-05-23 18:18:30 +02:00
Umur Ozkul
08c73ac22f
Merge branch 'Umur-reducer-dev' into reducer-dev
...
packages/squiggle-lang/__tests__/Reducer/Reducer_Peggy/Reducer_Peggy_Parse_test.res
packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_GeneratedParser.js
packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_GeneratedParser.peggy
2022-05-23 18:07:50 +02:00
Umur Ozkul
0124181bce
Merge branch 'generic-units' into Umur-reducer-dev
...
packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_GeneratedParser.js
2022-05-23 18:02:21 +02:00
Umur Ozkul
107bce506f
generic unit support
2022-05-23 17:51:38 +02:00