-
Notifications
You must be signed in to change notification settings - Fork 8
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
JOSS Review -- Failing test_trees
#52
Comments
Hey! We have not been able to reproduce the error, but are fairly certain the errors arise from how OpenBT is installed. To circumvent the difficulty of making sure python finds the correct paths, we plan to package OpenBT as a wheel on the python package index (PyPI), and make it a dependency of Taweret so everything is pip-installable. The OpenBT repo will itself get a CI/CD that deploys the wheels to the index, as well as Taweret. The reason for not including CI/CD is that we were short on time. We instead checked that each test worked on our respective devices, and when they did were fairly hopeful it would work. So we are working to add the CI/CD with GitHub Actions |
Hey @gchure, we are working on revamping the OpenBT dependency. Right now, it's set up so that a prebuilt binary is download with the Our other reviewer seems to think that the We have CI now for Taweret. We are removing some OpenBT specific test to the OpenBT repo, and things are still in flux. All that to say, we hope your concerns are/have been addresses, and that this issue can be close |
Thanks for the update. I can say this issue is resolved and will close it now. |
Hi! I'm reviewing your paper for JOSS and am working my way through assessing testing.
I cannot get the tests to pass for
test_trees.py
. It is a mix of error modes, but here is my summary:test_mixing
andtest_predict
fail when making draws in_read_in_preds
withValueError: need at least one array to concatenate
.test_predict_wts
fails with sameValueError
, in the_read_in_wts
function.test_sigma
fails withAttributeError
in returning the_posterior
hidden attribute.AttributeError: 'Trees' object has no attribute '_posterior'. Did you mean 'posterior'?
I've cloned
Taweret
as described on the repository installation instructions, including installingopen-mpi
andOpenBT
as described in the dependencies. I am running Python 3.10.9 onmacOS-14.1.1-arm64-arm-64bit
. Here is a complete report of pytest on my machine: taweret_report.txtFinally, it does not look like you are using any CI/CD on the Taweret main branch, which would be ideal. Is there a reason you are not using CI/CD such as Travis or through GitHub Actions? If there is a specific reason (which I bet there is), I'm totally fine with that. I do think, however, that you must disclose in the documentation how often you run tests during development. This is not only important for reliability and reproducibility, but will help other developers who want to contribute to Taweret.
The text was updated successfully, but these errors were encountered: