Ryan Boldi
fc738e2154
tested and fixed auto-ds size
2022-10-18 15:45:31 -04:00
Ryan Boldi
1cc584ca44
fixed erroneous test
2022-06-05 10:27:30 -04:00
Ryan Boldi
f39d5e76cd
logging indices now
2022-06-05 10:17:23 -04:00
Ryan Boldi
b591403fe8
hyperselection implementation and tests
...
really hacky implementation that only works with UMAD for now.
2022-06-05 10:09:05 -04:00
Ryan Boldi
816b443658
retested max-min, and added some new logging to judge case proportions
2022-04-13 22:54:33 -04:00
Ryan Boldi
217f195047
Implemented max-min, which takes the maximum minimum distance into account instead of average distances
2022-03-29 15:32:34 -04:00
Ryan Boldi
22b7067f10
add and test helper functions
2022-03-14 19:02:47 -04:00
Ryan Boldi
287799f194
implemented downsampling and distance measuring/updating
...
Features:
- Tests!
- maintain index of all training-cases
- update distance of training-cases after every evaluation (only update cases that are in the downsample)
- when an individual passes all of the DS cases, the population is re-evaluated on all training-cases to see if they pass all of them. If so, evolution is completed and training is complete. (they are then tested on held out test set and performance is reported)
2022-03-12 13:59:47 -05:00
Ryan Boldi
32f374635a
Update utils_test.cljc
2022-03-06 23:33:50 -05:00
Ryan Boldi
527f115168
downsample takes training-data as arg
2022-03-06 23:24:13 -05:00
Ryan Boldi
45b19fbd3e
implement assign-indices-to-data and select-downsample-random and tests
2022-03-03 21:43:44 -05:00
Ryan Boldi
e25dab4798
Implements auto-simplification using k-annealing & tests
...
Select k random elements in plushy. Delete these, and see if the plushy's behaviors are still identical. If they are, this is now the current plushy. If not, decrease k with a certain prob, and try again.
2022-02-26 21:07:32 -05:00
Ryan Boldi
a215c1c271
added more communicative autosimplification tests
2022-02-26 21:04:29 -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
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
Tom Helmuth
56163f9a23
Got old tests to pass
2021-11-02 13:38:10 -04:00
erp12
3a0e9560c5
Redesigns limits
2021-10-10 16:51:54 -04:00
erp12
2bddc41587
Disables broken tests
2021-10-10 16:51:54 -04:00
Erik Rauer
24630072ed
Add tests for string/iterate
...
This adds a test for the `string/iterate` instruction
2021-04-15 16:24:06 -05:00
Erik Rauer
07ef1d3f90
Add tests for string/substr
and str/take
...
This adds tests for the `string/substr` and `str/take` instructions.
2021-04-15 16:03:57 -05:00
Erik Rauer
1628e669b6
Add a test for string/split
...
This adds a test for the `string/split` instruction
2021-04-15 15:12:42 -05:00
Erik Rauer
27bd7b6eb6
Add a test for string/set-char
...
This adds a test for the `string/set-char` instruction
2021-04-01 12:03:34 -05:00
Erik Rauer
711fc20f01
Add a test for string/reverse
...
This adds a test for the `string/reverse` instruction
2021-04-01 11:30:02 -05:00
Erik Rauer
7e780567ec
Add test for string/rest
...
This adds a test for the `string/rest` instruction
2021-04-01 11:26:55 -05:00
Erik Rauer
5cc3a02002
Fix replace-char-spec
to use the correct function
...
This changes `replace-char-spec` to actually use `check-replace-char` instead of `check-replace`
2021-04-01 11:20:40 -05:00
Erik Rauer
3cdc2f7fe5
Add a test for string/replace-first-char
...
This adds a test for the `string/replace-first-char` instruction
2021-04-01 11:19:09 -05:00
Erik Rauer
110679d8f7
Add a test for string/replace-first
...
This adds a test for the `string/replace-first` instruction
2021-04-01 11:15:40 -05:00
Erik Rauer
3fb35d7d47
Add a test for string/replace-char
...
This adds a test for the `string/replace-char` instruction
2021-04-01 11:12:26 -05:00
Erik Rauer
95cad31e7b
Add a test for string/replace
...
This adds a test for the `string/replace` instruction
2021-04-01 11:07:01 -05:00
Erik Rauer
da22da5014
Add a test for string/remove-char
...
This adds a test for the `string/remove-char` instruction
2021-04-01 10:59:38 -05:00
Erik Rauer
95cab60576
Add a test for string/parse-to-chars
...
This adds a test for the `string/parse-to-chars` instruction.
2021-04-01 10:55:21 -05:00
Erik Rauer
0655a5748f
Add a test for string/occurencesof_char
...
This adds a test for the `string/occurencesof_char` instruction.
2021-04-01 10:49:57 -05:00
Erik Rauer
8e361225ae
Add test for string/nth
...
This adds a test for the `string/nth` instruction
2021-03-29 21:01:27 -05:00
Erik Rauer
da117c2f08
Update the test for string/length
...
Changes the test for the `string/length` instruction to check for an `:ignore-instruction` when the string is empty.
2021-03-23 22:47:46 -05:00
Erik Rauer
acdc225c71
Add a test for string/length
...
This adds a test for the `string/length` instruction
2021-03-23 22:30:18 -05:00
Erik Rauer
c270ce6c1a
Add test for string/last
...
This adds a test for the `string/last` instruction
2021-03-23 22:18:28 -05:00
Erik Rauer
92cdfe9e59
Add a test for string/indexof-char
...
This adds a test for the `string/indexof-char` instruction
2021-03-21 00:39:25 -05:00
Erik Rauer
b8a011c385
Add a test for string/from-float
...
This adds a test for the `string/from-float` instruction
2021-03-18 23:16:41 -05:00
Erik Rauer
2da8ef6de5
Add a test for string/from-char
...
This adds a test for the `string/from-char` instruction
2021-03-18 23:11:31 -05:00
Erik Rauer
d3b876492c
Add a test for string/from-char
...
This adds a test for the `string/from-char` instruction
2021-03-18 23:05:13 -05:00
Erik Rauer
196f39ccb6
Add a test for string/from-boolean
...
This adds a test for the `string/from-boolean` instruction
2021-03-18 23:01:09 -05:00
Erik Rauer
2008712e0a
Add test for string/first
...
This adds a test for the `string/first` instruction
2021-03-18 22:48:15 -05:00
Erik Rauer
50804b7cb8
Add test for string/empty-string
...
This adds a test for the `string/empty-string` instruction
2021-03-18 22:32:11 -05:00
Erik Rauer
19b67cdfec
Add test for string/drop
...
This adds a test for the `string/drop` instruction
2021-03-16 23:22:40 -05:00