Commit Graph

772 Commits

Author SHA1 Message Date
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
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
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
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
054e379593 Fixed test 2022-05-23 13:47:54 -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
dependabot[bot]
599bf248ea
⬆️ Bump ts-node from 10.7.0 to 10.8.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.7.0 to 10.8.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.7.0...v10.8.0)

---
updated-dependencies:
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 14:24:05 +00:00
Quinn Dougherty
d32b6bb615 rm generated output
Value: [1e-10 to 1e-4]
2022-05-23 07:10:38 -04:00
Quinn Dougherty
ebcd228232 .gitignore, package.json, .prettierignore: #576
Value: [1e-7 to 1e-3]
2022-05-23 07:05:42 -04:00
Umur Ozkul
4628140069 numbers with units (tested) 2022-05-23 08:13:51 +02:00
Ozzie Gooen
70574329fc Cleaned up arithmetic operations of time durations 2022-05-22 22:40:10 -04:00
Ozzie Gooen
6af2e242f8 Simple better format for Duration toString 2022-05-22 22:11:28 -04:00
Ozzie Gooen
fff2f5da59 More sophisticated makeFromYear function, that accepts floats 2022-05-22 21:57:13 -04:00
Ozzie Gooen
f1d2a1a12f Added better Duration toString and Date makeWithYear functionality 2022-05-22 21:40:06 -04:00
Ozzie Gooen
364190dc7b Simple dateTime integration 2022-05-22 18:37:07 -04:00
Ozzie Gooen
f816f3c200 Ran prettier format 2022-05-22 13:02:54 -04:00
Ozzie Gooen
4b99e0135e Minor cleanup 2022-05-22 13:02:20 -04:00
Ozzie Gooen
ee94a054d0 Minor cleanup 2022-05-22 10:38:17 -04:00
Ozzie Gooen
c200259c79 Added simpe README and resi for FunctionRegistry 2022-05-21 13:52:17 -04:00
Umur Ozkul
949b57c426 Error reporting if function arguments are defined
map(arr, toSample) now correctly reports

toSample not found

instead of

macro(Array,Symbol) not defined
2022-05-21 19:18:39 +02:00
Ozzie Gooen
3531005a2b Added enviornment to Function Registry 2022-05-21 12:18:54 -04:00
Ozzie Gooen
ce58cf1bb3 Beginning cleanup of Process errors 2022-05-21 12:09:49 -04:00
Umur Ozkul
2265254531 Filter arguments passed to mathjs calls by type so that error messages are not too weird 2022-05-21 18:05:55 +02:00
Ozzie Gooen
40bf7443c9 Simple FunctionRegistry cleanup 2022-05-21 11:41:12 -04:00
Ozzie Gooen
7e2437bfc0 Prettier 2022-05-20 22:54:15 -04:00
Ozzie Gooen
390ac2e2bb Renamed itype->frType, value-> frValue 2022-05-20 22:53:53 -04:00
Ozzie Gooen
c9d6302cbf Add better error message when wrong arguments passed 2022-05-20 18:05:45 -04:00
Ozzie Gooen
d9cbe37a5a Added main distributions 2022-05-20 17:36:40 -04:00
Umur Ozkul
feb0284a89 format 2022-05-20 18:20:00 +02:00
Umur Ozkul
a17ea3f5a1 simplify error messages 2022-05-20 18:07:10 +02:00
Umur Ozkul
a314cd46fb . became a post operator that can operate on any expression
Because of
    $x.y[0][0].w + $x.z + $u.v
2022-05-20 17:46:02 +02:00
Umur Ozkul
2a176fac26 $indentified defined. Assignment not allowed 2022-05-20 17:24:06 +02:00
Umur Ozkul
1557c197a0 renamed internal variables starting with $ so that they are not overriden by $ variables in Squigle 2022-05-20 17:11:32 +02:00
Umur Ozkul
870b0c9d4e hidden macros 2022-05-20 17:05:53 +02:00