370 Commits

Author SHA1 Message Date
Nic McPhee
6b454451d7 Fix the _from_string instruction
This replaces the dangerous use of `read-string`with `parseInt` and `parseFloat`, and returns `ignore-instruction` if an exception is thrown when trying to do the parsing.

Hopefully this will fix the stack overflow problems with the PSB2 Middle Character and Twitter problems.
2022-02-11 17:27:33 -06:00
Lee Spector
d3ec89ae68
Merge pull request #40 from julia-schor/master
Updated Testing
2022-02-01 09:04:52 -05:00
Julia Schor
4a69b632b6 numeric.spec updates 2022-01-29 12:42:17 -05:00
Julia Schor
b3e0cf7b22 numeric.spec mostly working 2022-01-26 11:19:18 -05:00
Lee Spector
7681f54013
Merge pull request #39 from julia-schor/master
Added tests
2022-01-15 10:35:42 -10:00
Julia Schor
a8a2532b4b Added more tests 2022-01-14 20:48:22 -05:00
Julia Schor
38aa695bad added str and some boolean tests 2022-01-14 13:40:31 -05:00
Julia Schor
348a770a3d propeller.tools.math tests are finished 2022-01-10 20:19:26 -05:00
Julia Schor
0428281cd8 Created more tests 2022-01-09 23:12:57 -05:00
Julia Schor
65aafdd66d fixed deriv test 2022-01-08 20:22:06 -05:00
Julia Schor
020fb01bd5 added some tests 2022-01-08 19:39:22 -05:00
Lee Spector
bbb5dfa8bd
Merge pull request #36 from thelmuth/fix/tests-with-refactor
Got old tests to pass
2021-11-02 13:39:16 -04:00
Tom Helmuth
56163f9a23 Got old tests to pass 2021-11-02 13:38:10 -04:00
Lee Spector
7c9ff00dc1
Merge pull request #35 from thelmuth/fix/def-instruction-not-macro
Fix/def instruction not macro
2021-11-02 13:18:53 -04:00
Tom Helmuth
c5b9aece9c Fixed issue with translation that caused infinite loops if an explicit number of open parentheses is set to 0 2021-11-02 13:12:46 -04:00
Tom Helmuth
0d3b65734b Updated Smallest and Number IO problems to use generations and population parameters same as Clojush 2021-11-02 13:12:12 -04:00
Tom Helmuth
45a61c86f7 Added parentheses requirements to 14 instructions that did not have them. 2021-11-02 12:53:39 -04:00
Tom Helmuth
d8c97e29e8 Moved macros and helpers to push/instructions.cljc 2021-11-02 12:37:06 -04:00
Tom Helmuth
0d58508bae Moved push/utils/limits.cljc to push/limits.cljc 2021-11-02 11:23:21 -04:00
Tom Helmuth
39f0f4e30f Merge branch 'fix/smallest-dont-parse-output' into fix/def-instruction-not-macro 2021-11-02 11:18:37 -04:00
Tom Helmuth
a42d23bf7a Moved push/core.cljc to push/instructions.cljc 2021-11-02 11:18:29 -04:00
Tom Helmuth
6b39e078ee Merge branch 'master' into fix/def-instruction-not-macro 2021-11-02 11:12:26 -04:00
Tom Helmuth
d6ed2456c7 Started changing away from macros in files. 2021-11-02 11:11:51 -04:00
Tom Helmuth
69a65229fe Made Smallest problem not parse printed integer. 2021-11-02 10:37:49 -04:00
Tom Helmuth
9507eca041 Changed all macros to functions. 2021-11-02 10:35:34 -04:00
Lee Spector
462e70d843
Merge pull request #32 from erp12/new_args_and_parallelism
New parameters and performance improvements
2021-11-02 10:23:20 -04:00
Lee Spector
fcb8bd398b
Merge pull request #34 from ryanboldi/no-mins
Removed maximum errors for solutions that output values from PSB2 Problems
2021-11-01 23:12:50 -04:00
Ryan Boldi
18baba1e80 removed maximum errors for solutions that output values from the PSB2 problems 2021-10-31 23:32:49 -04:00
Lee Spector
fa785f9719
Merge pull request #33 from erp12/fly_launcher
Adds fly launcher
2021-10-15 10:12:56 -04:00
erp12
2d066d8089 Adds fly launcher 2021-10-14 22:07:57 -04:00
erp12
a16bbeacb9 Adds shutdown-agents to problem files 2021-10-10 16:51:54 -04:00
erp12
3a0e9560c5 Redesigns limits 2021-10-10 16:51:54 -04:00
erp12
bdf278af8f Parameterizes solution-error-threshold and mapper with defaults 2021-10-10 16:51:54 -04:00
erp12
f1032ba904 Adds lein profile for profiling code 2021-10-10 16:51:54 -04:00
erp12
2bddc41587 Disables broken tests 2021-10-10 16:51:54 -04:00
erp12
99212107ca Runs tests on every push 2021-10-10 16:51:54 -04:00
erp12
a184e7af29 Removed ignored IntelliJ file 2021-10-10 16:22:02 -04:00
Lee Spector
3b6aabce98 Version bump 2021-10-10 16:22:02 -04:00
Lee Spector
003426318b Version bump 2021-08-02 11:43:56 -04:00
Lee Spector
5b2b9c82a0
Merge pull request #31 from dafg05/custom-report
Fix null-custom report bug when no custom-report is passed to gp argmap
2021-08-02 11:42:31 -04:00
Daniel Flores García
393f2368f2 Fix null-custom report bug when no custom-report is passed to gp 2021-08-02 10:58:23 -04:00
Lee Spector
12d5ffd522 Version bump 2021-08-01 21:07:19 -04:00
Lee Spector
8a12ede981
Merge pull request #30 from dafg05/custom-report
Add support for a custom-report function
2021-08-01 21:04:03 -04:00
Daniel Flores García
f25cd75f2a Add support for a custom-report function 2021-08-01 12:19:06 -04:00
Lee Spector
4058b8e7b0 Version bump 2021-07-26 15:41:52 -04:00
Lee Spector
461da8c939 Don't pre-expand programs passed to interpreter 2021-07-26 15:40:33 -04:00
Lee Spector
2572c706a8 Name unused argument idiomatically 2021-07-22 16:14:24 -04:00
Lee Spector
995ed3b47d Update project.clj for clojars deployment 2021-07-21 23:32:36 -04:00
Lee Spector
d3589b9aee Return history from interpret-program if start-state includes truthy value for :keep-history 2021-07-20 13:25:23 -04:00
Lee Spector
890c2de152
Merge pull request #29 from DuckNoodleSoup/master
Changed :output to :print
2021-07-19 17:41:43 -04:00