You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to duplicate the scenario where not only do I see different candidates from the STDOUT Darjeeling repair, but also some different repairs.
I launched a few back to back darjeeling runs like so with the :
for i in $(seq 0 1 10); do
mkdir -p seed.test.$i;
cd seed.test.$i;
darjeeling repair --seed 12345678 ../../no_seed.yml |& tee darjeeling.repair.log.seed_12345678;
cd ../;
done
Please note that I'm using the genetic algorithm:
algorithm:
type: genetic
population: 200
generations: 200
tournament-size: 20
mutation-rate: 0.8
crossover-rate: 0.4
# look at entire test suite for test sampling [subset of testsuite is 100%]
test-sample-size: null
and I'm not only seeing different candidates, but some different repairs. I have a tarball of the logs and outputs, will upload.
I've fixed the issue for exhaustive search. In doing so, I've found another bug, depending on your perspective. The ID reported for each candidate in the log file (e.g., #55afa924) is based on the hash value of that candidate. Python hashes are not consistent between runs (i.e., hash("foo") may have different values in different Python sessions), and so the ID can't be used to identify the same candidate across multiple runs. I'll create a new issue to assign a stable, unique identifier to each candidate.
I was able to duplicate the scenario where not only do I see different candidates from the STDOUT Darjeeling repair, but also some different repairs.
I launched a few back to back darjeeling runs like so with the :
Please note that I'm using the genetic algorithm:
and I'm not only seeing different candidates, but some different repairs. I have a tarball of the logs and outputs, will upload.
submitted from GitQ
The text was updated successfully, but these errors were encountered: