zheng-hao / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

gts.py reaches max gene and halts [could be a feature] #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. pypy gts.py 1 y v
2. wait
3. Wonder why did it halt ;) Should it not continue reevaluating results 
considering the new data that bcfeed.py gathers?

What is the expected output? What do you see instead?
Expected - lot of numbers flying past =]
Actual - ...MAX_GENE is gone...Halted.

What version of the product are you using? On what operating system?
0.1.2b or the one befire that one [how do I figure out the current ver? ]

Please provide any additional information below.
Last lines of output are attached to the post.

Original issue reported on code.google.com by purge...@gmail.com on 13 Dec 2011 at 3:28

Attachments:

GoogleCodeExporter commented 8 years ago
There was a bug in the system which allowed the high scoring gene to get 
deleted in the duplicate gene removal process. This caused an orphaned gene ID 
that would return 'None' when requested. The 'HALTED' output referenced in the 
bug report indicates that the issue was detected by gts. 

The halted state will remain as a preventative measure. There's no use using a 
GA system that deletes the highest scoring genes ;)

The root case for the gene deletion has already been addressed on the 
experimental branch and is currently being tested. When the experimental branch 
is merged into the main branch, I'll release a download version with the fix.

Original comment by brian.mo...@gmail.com on 17 Dec 2011 at 12:07

GoogleCodeExporter commented 8 years ago
gts.py now exits on this condition. The preferred method of running the system 
is with gal.py (system/process launcher/monitor) which will enable automatic 
relaunch of halted processes. 

This fault condition should only happen very rarely if at all anymore.

Original comment by brian.mo...@gmail.com on 2 Jan 2012 at 7:44