Closed glennfu closed 6 years ago
Should it work if you delete the current gen directory and then resume?
I had thought this was working until recently I noticed a resumed backtest showed a great fitness/balance through gen4. But when I stopped it, deleted gen5 directory and resumed it took until gen20 (with a smaller pop size) to get back to around the same fitness/balance. I was confused about what had happened. I noticed this using 4.1.0.
Yes that should definitely work as well
I have had no luck deleting the most recent gen directory and restarting darwin with the same command. It seems like darwin starts over at gen 0. After restarting, the next gen results are no where near those of gens previous to restart. I also tried just deleting the results.csv and results.json files and leaving the completed gen sim_x.json files, but this didn't work.
I may have found a clue. Using a pull from Mar 8th, I noticed that when resuming darwin after deleting the results.csv and results.json, the new results.csv file is written at generation end but the Selector and Fitness columns at the beginning of each row are empty. Also, the results aren't sorted by fitness.
Could this be what is causing the problems? Any ideas why this might be happening or how to fix this?
I would like to work together in some capacity with who ever is working on this be it testing or coding or anything else. I really look forward to making this happen. I've been looking through darwin.js and backtester.js trying to find a problem. No luck yet.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm gonna fix it, just marking this here to let people know I'm aware of it.