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
as recommended here: http://www.pcg-random.org/posts/simple-portable-cpp-seed-entropy.html didn't remove the occasional failures over 1000 runs.
So I realized that the occasional failures are not due to poor seeding but rather to the small sample, which makes getting two identical picks once in a while not so uncommon.
So I believe the best solution to the problem is to make the test more robust against occasional identical picks.
PR will follow soon.
The text was updated successfully, but these errors were encountered:
if you run the test 1000 times, e.g. by doing
you will likely incur in a couple of exceptions.
Exceptions always occur in
testGithub2245()
on either line 45 or 52:rdkit/Code/SimDivPickers/testPickers.cpp
Lines 35 to 64 in ff5266f
Initially I thought it was due to poor quality random seeding (see http://www.pcg-random.org/posts/cpps-random_device.html), but replacing
with
as recommended here: http://www.pcg-random.org/posts/simple-portable-cpp-seed-entropy.html didn't remove the occasional failures over 1000 runs.
So I realized that the occasional failures are not due to poor seeding but rather to the small sample, which makes getting two identical picks once in a while not so uncommon.
So I believe the best solution to the problem is to make the test more robust against occasional identical picks.
PR will follow soon.
The text was updated successfully, but these errors were encountered: