Score on criteria count, not sample count
This commit is contained in:
@@ -12,22 +12,17 @@ global_memory_size: 1
|
||||
function_memory_size: 1
|
||||
instruction_limit: 2
|
||||
samples:
|
||||
- global_memory_inputs:
|
||||
0: 0
|
||||
global_memory_outputs:
|
||||
0: 0
|
||||
- global_memory_inputs:
|
||||
0: 1
|
||||
global_memory_outputs:
|
||||
0: 5
|
||||
- global_memory_inputs:
|
||||
0: 2
|
||||
global_memory_outputs:
|
||||
0: 10
|
||||
- global_memory_inputs:
|
||||
0: 100
|
||||
global_memory_outputs:
|
||||
0: 500
|
||||
- in: [0]
|
||||
out: [0]
|
||||
|
||||
- in: [1]
|
||||
out: [5]
|
||||
|
||||
- in: [2]
|
||||
out: [10]
|
||||
|
||||
- in: [100]
|
||||
out: [500]
|
||||
`))
|
||||
|
||||
def, err := grow.NewDefinition(r)
|
||||
@@ -35,7 +30,7 @@ samples:
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
prog, err := def.Grow()
|
||||
prog, err := def.Grow(nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user