Skip to content
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

API Updates for diffxpy #146

Merged
merged 93 commits into from
Sep 21, 2022
Merged

API Updates for diffxpy #146

merged 93 commits into from
Sep 21, 2022

Conversation

ilan-gold
Copy link
Collaborator

@ilan-gold ilan-gold commented Jul 13, 2022

Pairs with theislab/diffxpy#218

Our API is currently incompatible in a variety of ways with diffxpy (not wildly surprising) in order to allow all of the diffxpy tests to run. I have of course made some judgement calls here but the goal was to minimize breaking changes here and in diffxpy. There are a number of fixes as well for the normal model, which was outright incorrect.

There is still the question (mentioned in slack) of whether the jac_scale is in general correct since it contains two multiplications by xh (especially since it seems we don't have a great way of testing since the jacobian is not used anywhere for anything).

Also, the mypy and safety do not appear to be working. The safety is complaining about the dask version - we could loosen the constraint and fix it in diffxpy where the issue appears to be so that safety doesn't complain. The issue is linked in the pyproject.toml. For the safety, I am not too sure what is going on here but I will try to figure it out - if you have any ideas, let me know! Very unfamiliar with this and the output is impossible to read for me!

@ilan-gold
Copy link
Collaborator Author

Just an update here - I added in the Poisson model as well. I think those 2 PR's (one per model) can be used for ease of review, but at the end of hte day, this is the branch with the ground truth of what we will merge. I needed one branch that has everything for testing. Hence the merge conflicts/Poisson model.

@ilan-gold ilan-gold changed the base branch from ig/normal_model to ig/poisson September 21, 2022 13:34
Base automatically changed from ig/poisson to development September 21, 2022 13:44
@ilan-gold ilan-gold merged commit 81ca89d into development Sep 21, 2022
@ilan-gold ilan-gold deleted the ig/update_api branch September 21, 2022 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant