moses python output is mangled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenCog |
Won't Fix
|
Medium
|
Matt Chapman |
Bug Description
The moses python output appears to be mangled/incoherent. So, for example:
moses -Hcp -y "+(*(6 \$1) 6)" -nexp -w6 --python=1
generates the output below. (this is for bzr rev 6753)
#!/usr/bin/python
from operator import *
#These functions allow multiple args instead of lists.
def ors(*args):
return any(args)
def ands(*args):
return all(args)
#score: -0.078125
def moses_eval(i):
return Builtin: + unknown(5.9375 5.9375 Builtin: * unknown(6 6 i[0],),),
#!/usr/bin/python
from operator import *
#These functions allow multiple args instead of lists.
def ors(*args):
return any(args)
def ands(*args):
return all(args)
#score: -0.078125
def moses_eval(i):
return Builtin: + unknown(6.0625 6.0625 Builtin: * unknown(6 6 i[0],),),
#!/usr/bin/python
from operator import *
#These functions allow multiple args instead of lists.
def ors(*args):
return any(args)
def ands(*args):
return all(args)
#score: -0.3125
def moses_eval(i):
return Builtin: + unknown(5.875 5.875 Builtin: * unknown(6 6 i[0],),),
#!/usr/bin/python
from operator import *
#These functions allow multiple args instead of lists.
def ors(*args):
return any(args)
def ands(*args):
return all(args)
#score: -0.3125
def moses_eval(i):
return Builtin: + unknown(6.125 6.125 Builtin: * unknown(6 6 i[0],),),
#!/usr/bin/python
from operator import *
#These functions allow multiple args instead of lists.
def ors(*args):
return any(args)
def ands(*args):
return all(args)
#score: -0.703125
def moses_eval(i):
return Builtin: + unknown(5.8125 5.8125 Builtin: * unknown(6 6 i[0],),),
Changed in opencog: | |
status: | New → Won't Fix |