-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add warning about unstable API #432
Conversation
@jchodera at some point it looks like CI has stopped working, I did a quick pass at getting it working locally but it uses some deprecated utilities: https://numpy.org/doc/stable/reference/generated/numpy.testing.dec.deprecated.html?highlight=numpy%20testing%20decorators |
Oh, good point---we definitely need to switch to GitHub Actions, and perhaps upgrade the repo to the latest MolSSI Cookiecutter structure at the same time. Please do take a stab at this when able! |
@jchodera do we want to get the release out before we get CI fixed up? Or do we want to get this release out ASAP? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
Let's see if we can get the release cut (if all tests pass locally) and then the conda-forge package updated for @cbayly13!
Okay I was able to run tests locally (requires python 3.7 and numpy 1.17) and everything passes except If I run it 10 times, it fails 6/10, with errors like:
Is that okay @jchodera ? |
I ran it 1000 times: |
Might need to turn up the tolerance of the MBAR iterator? Or the BAR iterator? |
You mean tighten the default |
Or for the tests pass in a higher tolerance. We probably should have the MBAR and BAR tolerance the same. |
Agreed. That change would occur here, then, and should probably set the number of decimal places to |
With these changes (setting BAR and MBAR iterator to the same tolerance and setting the test utility to 5 decimal places):
We now have 144 failed, 856 passed for 1000 iterations of |
What happens if you bump the relative tolerance up to 10^-9 for both? Do more pass? |
Yes that drops it down to only 114 failing. With 10^-12 I get the same amount of failures ~110 (out of 1,000 repeat tests) |
This is a little worrying, since there were no BAR tests until I added them a month ago... |
I suppose the bigger question is, do we punt this until we get CI setup? I've been digging into these issues a bit and it looks like the pymbar4 branch fixes quite a few of these issues. There seems to still be a lot to do for pymbar4 (judging from a potentially outdated project board) so it may be best to:
|
I am planning on working on pymbar4 when classes are over (like ~3 weeks). Perhaps we should set up a time to meet then to go over what needs to be done? |
Sounds good! Let's proceed as @mikemhenry suggests in the meantime.
|
RE: #430 (comment)
Once this gets merged, I will get a new release cut and on conda-forge 🎉