Skip to content

Instantly share code, notes, and snippets.

@d6y
Created November 16, 2018 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d6y/23987e38b7bdb9c9326339042477d387 to your computer and use it in GitHub Desktop.
Save d6y/23987e38b7bdb9c9326339042477d387 to your computer and use it in GitHub Desktop.
CGP julia 0.7 test run
CGP.jl (julia_v0.7 *)$ julia --project=. run_tests.jl
[ Info: Chromosome tests
CGPChromo
┌ Warning: `rand(dims::Dims)` is deprecated, use `rand(Float64, dims)` instead.
│ caller = macro expansion at chromosome.jl:14 [inlined]
└ @ Core ~/Developer/evolution/cga/forked/CGP.jl/test/chromosome.jl:14
┌ Warning: `a::Number + b::AbstractArray` is deprecated, use `a .+ b` instead.
│ caller = + at operators.jl:502 [inlined]
└ @ Core ./operators.jl:502
PCGPChromo
┌ Warning: `a::Number + b::AbstractArray` is deprecated, use `a .+ b` instead.
│ caller = + at operators.jl:502 [inlined]
└ @ Core ./operators.jl:502
Test Summary: | Pass Total
Creation tests | 156 156
CGPChromo
PCGPChromo
Test Summary: | Pass Total
Functional tests | 240 240
[ Info: Mutation tests
CGPChromo
PCGPChromo
Test Summary: | Pass Total
Mutation tests | 128 128
[ Info: Crossover tests
CGPChromo
PCGPChromo
Test Summary: | Pass Total
Crossover tests | 170 170
[ Info: Distance tests
CGPChromo
PCGPChromo
Test Summary: | Pass Total
Distance tests | 60 60
[ Info: Evolution tests
CGP.oneplus, CGPChromo, gene_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 0 21
[ Info: E: 0 500 1.00000 6 21
CGP.oneplus, CGPChromo, mixed_node_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 0 21
[ Info: E: 0 500 1.00000 0 1
CGP.oneplus, CGPChromo, mixed_subtree_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 0 21
[ Info: E: 0 500 1.00000 0 1
CGP.oneplus, CGPChromo, adaptive_node_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 0 21
[ Info: E: 0 500 1.00000 8 16
CGP.oneplus, CGPChromo, adaptive_subtree_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 0 21
[ Info: E: 0 500 1.00000 8 16
CGP.oneplus, PCGPChromo, gene_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.oneplus, PCGPChromo, mixed_node_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 1 21
[ Info: E: 0 500 1.00000 4 25
CGP.oneplus, PCGPChromo, mixed_subtree_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 1 21
[ Info: E: 0 500 1.00000 1 23
CGP.oneplus, PCGPChromo, adaptive_node_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 1 21
[ Info: E: 0 500 1.00000 4 25
CGP.oneplus, PCGPChromo, adaptive_subtree_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 5 1.00000 1 21
[ Info: E: 0 500 1.00000 3 27
CGP.GA, CGPChromo, gene_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, gene_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, gene_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, gene_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, gene_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, gene_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_node_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_node_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_node_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_node_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_node_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_node_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_subtree_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_subtree_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_subtree_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_subtree_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_subtree_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, mixed_subtree_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_node_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_node_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_node_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_node_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_node_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_node_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_subtree_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_subtree_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_subtree_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_subtree_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_subtree_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, CGPChromo, adaptive_subtree_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 0 21
[ Info: E: 0 500 1.00000 0 21
CGP.GA, PCGPChromo, gene_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, gene_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, gene_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, gene_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, gene_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, gene_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_node_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_node_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_node_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_node_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_node_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_node_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_subtree_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_subtree_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_subtree_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_subtree_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_subtree_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, mixed_subtree_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_node_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_node_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_node_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_node_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_node_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_node_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_subtree_mutate, single_point_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_subtree_mutate, random_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_subtree_mutate, aligned_node_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_subtree_mutate, proportional_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_subtree_mutate, output_graph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
CGP.GA, PCGPChromo, adaptive_subtree_mutate, subgraph_crossover, genetic_distance
[ Info: E: 0 25 1.00000 1 21
[ Info: E: 0 500 1.00000 1 21
Test Summary: | Pass Total
Simple fit | 140 140
CGP.oneplus, CGPChromo
[ Info: E: 0 5 -0.34120 7 24
[ Info: E: 0 15 -0.25351 5 24
[ Info: E: 0 30 -0.07692 10 23
[ Info: E: 0 35 -0.02514 2 22
[ Info: E: 0 50 -0.00930 7 22
[ Info: E: 0 450 -0.00654 13 22
[ Info: E: 0 500 -0.00654 2 22
CGP.oneplus, PCGPChromo
[ Info: E: 0 5 -0.42327 6 24
[ Info: E: 0 15 -0.06759 3 26
[ Info: E: 0 45 -0.06571 1 24
[ Info: E: 0 85 -0.03562 2 24
[ Info: E: 0 150 -0.01386 3 20
[ Info: E: 0 500 -0.01386 3 13
CGP.GA, CGPChromo
[ Info: E: 0 25 -0.08594 0 24
[ Info: E: 0 75 -0.08514 9 24
[ Info: E: 0 100 -0.06571 7 24
[ Info: E: 0 500 -0.06571 7 24
CGP.GA, PCGPChromo
[ Info: E: 0 25 -0.02860 2 24
[ Info: E: 0 275 -0.02714 3 24
[ Info: E: 0 300 -0.02650 2 28
[ Info: E: 0 500 -0.02650 2 28
Test Summary: | Pass Total
Rosenbrock | 8 8
CGP.oneplus, CGPChromo
┌ Warning: `rand(dims::Dims)` is deprecated, use `rand(Float64, dims)` instead.
│ caller = (::getfield(Main, Symbol("##99#103")))(::Int64) at none:0
└ @ Main ./none:0
[ Info: E: 0 5 -2.04015 8 23
[ Info: E: 0 10 -2.00000 12 23
[ Info: E: 0 20 -1.53160 14 23
[ Info: E: 0 30 -1.17987 14 23
[ Info: E: 0 35 -0.57789 12 25
[ Info: E: 0 500 -0.57789 15 25
CGP.oneplus, PCGPChromo
[ Info: E: 0 5 -3.23561 2 23
[ Info: E: 0 10 -2.02468 1 22
[ Info: E: 0 15 -1.26941 3 22
[ Info: E: 0 250 -1.26847 3 21
[ Info: E: 0 500 -1.26847 3 22
CGP.GA, CGPChromo
[ Info: E: 0 25 -0.19666 11 23
[ Info: E: 0 500 -0.19666 11 23
CGP.GA, PCGPChromo
[ Info: E: 0 25 -2.03771 2 23
[ Info: E: 0 50 -1.75065 5 25
[ Info: E: 0 100 -1.15200 5 30
[ Info: E: 0 150 -0.00000 12 23
[ Info: E: 0 500 -0.00000 12 23
Test Summary: | Pass Total
Array function | 4 4
[ Info: Function tests
cfg/default.yaml CGP.Config.f_mult
cfg/default.yaml CGP.Config.f_inv
cfg/default.yaml CGP.Config.f_aminus
cfg/default.yaml CGP.Config.f_nans
cfg/default.yaml CGP.Config.f_sum
cfg/classic.yaml CGP.Config.f_atan
cfg/classic.yaml CGP.Config.f_floor
cfg/classic.yaml CGP.Config.f_ceil
cfg/classic.yaml CGP.Config.f_min
cfg/classic.yaml CGP.Config.f_max
cfg/classic.yaml CGP.Config.f_squared
cfg/classic.yaml CGP.Config.f_cpow
cfg/classic.yaml CGP.Config.f_expx
cfg/classic.yaml CGP.Config.f_cmult
cfg/classic.yaml CGP.Config.f_const
cfg/classic.yaml CGP.Config.f_sinx
cfg/classic.yaml CGP.Config.f_sqrtxy
cfg/classic.yaml CGP.Config.f_gt
cfg/classic.yaml CGP.Config.f_cosx
cfg/classic.yaml CGP.Config.f_sqrt
cfg/classic.yaml CGP.Config.f_acos
cfg/classic.yaml CGP.Config.f_ypow
cfg/classic.yaml CGP.Config.f_asin
cfg/classic.yaml CGP.Config.f_round
cfg/atari.yaml CGP.Config.f_stddev
cfg/atari.yaml CGP.Config.f_max1
cfg/atari.yaml CGP.Config.f_vectorize
cfg/atari.yaml CGP.Config.f_vecfromdouble
cfg/atari.yaml CGP.Config.f_set
cfg/atari.yaml CGP.Config.f_kurtosis
cfg/atari.yaml CGP.Config.f_range
cfg/atari.yaml CGP.Config.f_ywire
cfg/atari.yaml CGP.Config.f_index_c
cfg/atari.yaml CGP.Config.f_first
cfg/atari.yaml CGP.Config.f_reverse
cfg/atari.yaml CGP.Config.f_abs
cfg/atari.yaml CGP.Config.f_skew
cfg/atari.yaml CGP.Config.f_avgdifferences
cfg/atari.yaml CGP.Config.f_lt
cfg/atari.yaml CGP.Config.f_add
cfg/atari.yaml CGP.Config.f_constvectord
cfg/atari.yaml CGP.Config.f_max2
cfg/atari.yaml CGP.Config.f_min2
cfg/atari.yaml CGP.Config.f_last
cfg/atari.yaml CGP.Config.f_range_in
cfg/atari.yaml CGP.Config.f_min1
cfg/atari.yaml CGP.Config.f_nop
cfg/atari.yaml CGP.Config.f_rotate
cfg/atari.yaml CGP.Config.f_zeros
cfg/atari.yaml CGP.Config.f_split_before
cfg/atari.yaml CGP.Config.f_ones
cfg/atari.yaml CGP.Config.f_split_after
cfg/atari.yaml CGP.Config.f_pushback
cfg/atari.yaml CGP.Config.f_pushfront
cfg/atari.yaml CGP.Config.f_transpose
cfg/atari.yaml CGP.Config.f_differences
cfg/atari.yaml CGP.Config.f_index_y
cfg/atari.yaml CGP.Config.f_mean
Test Summary: | Pass Total
Functions | 18560 18560
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment