Quinn Dougherty
3ff810ee1b
commented out tests are now explained
2022-04-20 00:50:46 -04:00
Quinn Dougherty
4f5a1ff946
factored into TestHelpers.ts file
2022-04-19 23:42:24 -04:00
Quinn Dougherty
1395a36c63
fixed or bailed from failing tests; added typescript code coverage to codecov
2022-04-19 22:58:09 -04:00
Quinn Dougherty
36f929b726
Tackled infinite loop by changing float64Array
generator to
...
`float32Array` generator; gave up on avoiding `any` type in
`Jstat_test.ts`
2022-04-19 20:52:53 -04:00
Umur Ozkul
da37536b4b
Merge branch 'develop' into reducer-dev
2022-04-17 20:38:20 +02:00
Umur Ozkul
52ac2e2ece
Binding tests imlemented and skipped
2022-04-17 20:36:04 +02:00
Umur Ozkul
e2015e1098
Outer and Partial: test helpers defined
2022-04-17 20:07:21 +02:00
Umur Ozkul
b1e2b27cee
partials compile. TODO tests
2022-04-17 19:24:39 +02:00
c15412642a
fix: Failing tests
2022-04-15 13:01:49 -04:00
Umur Ozkul
7ab69a1708
issue 234
...
Define partial code
2022-04-15 14:48:58 +02:00
Umur Ozkul
3f95ca455b
imports #234
2022-04-15 08:56:48 +02:00
9910afd74b
fix: Failing tests
...
The tests were wrong, not the code. Feels like it should be
the other way around
2022-04-14 16:52:36 -04:00
6d82adca25
Merge branch 'develop' into audit-2022-04-14-SymbolicDist.res
2022-04-14 16:50:37 -04:00
aad6a9c603
fix: Bad tests
...
These tests are failing because I increased the precision of a magic
constant.
This might be a signal that these are bad tests
2022-04-14 16:35:24 -04:00
Ozzie Gooen
8854eed91e
Merge pull request #242 from quantified-uncertainty/analytic-normal
...
Analytic normal
2022-04-14 16:11:36 -04:00
Quinn
a9cbcf2079
hotfix: develop--
branch deploy rather than deploy preview in module docstring
2022-04-13 21:12:40 -04:00
Quinn Dougherty
b3c0adcd30
last CR comments
2022-04-13 20:58:16 -04:00
Quinn Dougherty
99d1c345c5
CR comments
2022-04-13 19:58:36 -04:00
Quinn Dougherty
b0ff2c19f5
yarn format
2022-04-13 19:18:08 -04:00
Quinn Dougherty
24fe66c9d3
6/6 tasks done
2022-04-13 19:17:49 -04:00
Quinn Dougherty
3bf571f953
CR comment
2022-04-13 12:06:50 -04:00
Quinn Dougherty
7e6a26a2d0
comments and type signatures
2022-04-13 11:54:37 -04:00
Quinn Dougherty
165427f137
refactored to a higher level of abstraction
2022-04-13 10:30:23 -04:00
Sam Nolan
948a8dd651
Add analytic solutions for normal and lognormal
2022-04-13 15:11:14 +10:00
Quinn Dougherty
de81928ea9
Ran yarn format
2022-04-13 01:05:09 -04:00
Quinn Dougherty
8287f51aae
yarn test:quick
to skip invariants
2022-04-13 01:05:09 -04:00
Quinn Dougherty
72b557d64a
renamed Algebra
subdir to Invariants
2022-04-13 01:05:09 -04:00
Quinn Dougherty
af0577f85e
test count: 386
2022-04-13 01:05:09 -04:00
Quinn Dougherty
59fcd6a26c
intermediate commit to checkout something else
2022-04-13 01:05:08 -04:00
Quinn Dougherty
dd53c7554b
(rebase): begin setup for big redo
2022-04-13 01:05:08 -04:00
Quinn Dougherty
396fb9f6b0
intermediate commit before I do a rebase
2022-04-13 01:05:08 -04:00
Quinn Dougherty
12d2397b57
improved messaging
2022-04-13 01:05:08 -04:00
Quinn Dougherty
49174827f8
(rebase): added more test
2022-04-13 01:05:08 -04:00
Quinn Dougherty
9d857bf79b
(rebase): documented ratio of lognormals
2022-04-13 01:05:08 -04:00
Quinn Dougherty
a637fe5dff
inv precise
2022-04-13 01:05:08 -04:00
Quinn Dougherty
a64cd75ead
inv and cdf
2022-04-13 01:05:08 -04:00
Quinn Dougherty
6a4d615d3d
(rebase): (rebase): (rebase): **refactor**: rm duplicated genericDist
and error
declarations
2022-04-13 01:04:53 -04:00
Sam Nolan
348b1c9ac6
Add normal distribution analytical simplifications
2022-04-13 14:36:30 +10:00
Sam Nolan
117c08bfa9
Fix unweighted average of distributions
2022-04-13 12:03:04 +10:00
Quinn Dougherty
4f95c019eb
yarn format
2022-04-12 20:22:19 -04:00
Umur Ozkul
a95cdfabe3
dont use short Desc - close umuro/squiggle#51
2022-04-12 16:19:50 +02:00
Umur Ozkul
9c7f930549
Merge branch 'develop' into reducer-dev
...
packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.resi
2022-04-12 15:46:48 +02:00
Sam Nolan
e5f8b6c7d3
Fix build errors for components and lang
2022-04-12 16:21:32 +10:00
Sam Nolan
440bfabffa
Run prettier on monorepo + fix crashing playground
2022-04-12 15:41:36 +10:00
Umur Ozkul
3a8e6a8f60
Merge branch 'staging' into reducer-dev
2022-04-11 16:42:37 +02:00
Umur Ozkul
660c0c70ae
variables and statements
...
format only reducer
reformat lint
multi-line test
spelling
multi-line semantic mapping
todo multi-line eval
multi-line tests todo
change context to bindings
simplify tests
rename exception test methods
bindings is an expression value
make bindings callable
reformat
Emphasize the nature of Lisp AST
Initial definition of macros
make functions private
fixed functionNode type casting
macro call skeleton
sort ReducerInterface
fix test
macros skeleton
bindings is not a value
assignment semantics
let semantics defined
format
reformat
reformat
TODO function calls and list hd variables are confused
reformat
tmp
works
reformat
reformat
add test
reformat
add test
2022-04-11 16:31:10 +02:00
Sam Nolan
26433c5289
Fix failing tests based on new toString
2022-04-11 16:31:54 +10:00
Sam Nolan
61b589d0bd
Change typescript interface to reducer
2022-04-11 13:16:31 +10:00
Sam Nolan
6565d97f53
Rename eval to evaluate
...
eval is a JS keyword
2022-04-11 11:18:38 +10:00
Sam Nolan
d6c541036f
Run prettier + add missing pointWiseAdd signature
2022-04-11 11:08:34 +10:00
Sam Nolan
8f49b64083
Fix failing lang tests due to rename
2022-04-11 11:06:13 +10:00
Sam Nolan
e5baf23950
Run prettier in squiggle-lang
2022-04-11 10:51:43 +10:00
Ozzie Gooen
c94a70b93a
Fixed tests
2022-04-09 21:56:05 -04:00
Ozzie Gooen
ec5dc4667f
Samples_test -> SampleSetDist_test
2022-04-09 21:39:10 -04:00
Ozzie Gooen
5b0efbb3a8
Bandwidth -> SampleSetDist_Bandwidth
2022-04-09 21:31:34 -04:00
Ozzie Gooen
f17a842c52
Cleanup from previous refactor
2022-04-09 20:27:03 -04:00
Ozzie Gooen
61aaca3e2f
Gave SampleSetDist a private type
2022-04-09 18:10: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
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
Umur Ozkul
1d550353c9
Merge branch 'staging' into reducer-dev
2022-04-08 11:09:46 +02: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
bf2f85a8ab
Respond to sparkline PR change requests
2022-04-08 11:02:41 +10: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
Quinn Dougherty
db05541a7b
up to 186 tests
2022-04-07 10:55:51 -04:00
Quinn Dougherty
c50f8a3273
backed out of rescript-fast-check
2022-04-07 08:55:52 -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
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
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
Umur Ozkul
63a765a4fe
mathjs parse assignment
2022-04-05 23:03:32 +02:00
Umur Ozkul
cd7a4b748e
assignment test
2022-04-05 22:03:03 +02:00
Umur Ozkul
84f3420369
parse assignment
2022-04-05 22:02:06 +02:00
Umur Ozkul
a5bb390370
reformat
2022-04-05 20:56:20 +02:00
Umur Ozkul
4e6a2341f0
shorter tests
2022-04-05 19:36:19 +02:00
Umur Ozkul
bbcd7f2640
shorter tests
2022-04-05 19:18:10 +02:00
Umur Ozkul
74da6a0ae2
shorter tests
2022-04-05 19:09:29 +02: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
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
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
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
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
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
17ca080ebb
PR#107 show -> toString
2022-03-30 12:53:36 +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
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
cd5680f2dc
Refactored Sparklines.res
2022-03-29 16:31:08 -04:00
Quinn Dougherty
50f5256dc5
perhaps the final push of PR 124?
2022-03-29 15:27:23 -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
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
Quinn
e43dd2d61d
Revert "Revert "Reducer dev""
2022-03-25 14:25:37 -04:00
Quinn
2b598121c7
Revert "Reducer dev"
2022-03-25 14:10:56 -04:00
Umur Ozkul
f58e46c6b0
fix on comments for pull request
2022-03-25 13:24:13 -04:00
Umur Ozkul
e340c9d8ca
Reducer
2022-03-25 13:23:22 -04:00
Sam Nolan
aa8c865480
Better describe test cases
2022-03-23 13:12:20 +11:00
Sam Nolan
f122b5fd7f
Add squiggle notebooks
2022-03-22 13:33:28 +11:00
Sam Nolan
68dfa0b95f
Fix mm crashing on too many weights
2022-03-07 11:10:43 +11:00
Sam Nolan
44da21370c
Change function to simpler interface
2022-02-27 15:25:30 +11:00
Ozzie Gooen
017ee2a324
Merged with epic branch
2022-02-17 22:16:46 -05:00
Ozzie Gooen
14a3b1a7b5
Merged with epic branch
2022-02-17 22:14:07 -05:00
Sam Nolan
b297c692cd
Add log function to Squiggle
2022-02-18 13:26:39 +11:00
Sam Nolan
f3f97db0c0
Add typescript to squiggle-lang
2022-02-18 13:16:31 +11:00
Sam Nolan
dbfeab6d84
Rename runMePlease to run
2022-02-18 12:50:32 +11:00
Ozzie Gooen
96f0ab150d
Fixed select minor warnings
2022-02-17 09:50:43 -05:00
Ozzie Gooen
a324f8a7d6
Removed AST module from ASTTypes file
2022-02-17 08:51:24 -05:00
Ozzie Gooen
1daeb81441
Finish converting shape -> pointSetDist
2022-02-15 17:43:31 -05:00
Ozzie Gooen
336a5fb57f
Shape -> PointSetDist
2022-02-15 16:13:33 -05:00
Ozzie Gooen
eb5f5245b6
ExpressionTree -> AST
2022-02-15 15:58:43 -05:00
Ozzie Gooen
98779c127b
First pass at file renaming
2022-02-15 15:47:33 -05:00
Ozzie Gooen
9d79418dfc
bs-jest to rescript-jest
2022-02-06 18:54:19 -05:00
Ozzie Gooen
9463914204
Converting final files to rescript
2022-02-06 18:12:37 -05:00
Ozzie Gooen
3019a58962
Converting most files to rescript
2022-02-06 18:10:39 -05:00
Ozzie Gooen
7c6f99dae7
Moving main repo to folder
2022-02-01 14:05:26 -05:00