-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Test] Setup test for add_rank_size
#519
Comments
Hey I'd like to take this issue |
As the author @jstac mentions in the PR, the method is written as it is so as not to add new external dependencies (
In a test then we will need to use -- An alternative could be to rewrite this method to take only the distribution data and return rank-size data, using a similar signature as the
Do the maintainers have thoughts on how to go about this? Apologies for the long explanation, I tried to convey my approach as I see it. Please add if I am mising something. |
@bktaha , I think this is an excellent proposal. It's a better solution and your explanation is very clear. The only issue is that it will break some code in the lectures. You can find one example in the solution to exercise 2 here: https://python.quantecon.org/wealth_dynamics.html#Exercise-2 Hence it would be necessary to adjust the lectures and the code library at the same time. The full list of changes that need to be made in the lectures can be found by cloning https://github.com/QuantEcon/lecture-python and searching for the string in /source/rst. Then we can do a simultaneous merge, and a new release of the library (CC @mmcky). Might you be willing to take the full task on @bktaha? Or might @shrabian be able to help? (Sorry we missed your message.) |
Based on this discussion, there are 3 such lectures. I cross-checked this by searching for the string in the /source/rst directory. -- I'd be happy to take the full task on. Should I keep the name |
Thanks @bktaha, that's greatly appreciated. I'll look forward to reviewing your PRs. Let's go for |
Setup a test for function contributed via PR #518
The text was updated successfully, but these errors were encountered: