-
Notifications
You must be signed in to change notification settings - Fork 50
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
Bad code duplication in experiment.py #81
Comments
I'm a newbie. Can i take this? Please can you help. |
@csdeshpande19 sure, this requires some de-duplication of the |
Can you tell me what exactly I have to fix so i can start working on it. |
My idea would be to remove the duplicated code in |
Yeah. No problem. I'll do a PR in few hours as I'm new to Open Source so it may take some time to get acquainted with it. I'll try to help as much as I can. |
Does this still need to be done? |
Hi @s4826 , yes, this one is still open AFAIK. |
Ok, I'll open a pull request. |
Experiment.delta()
is now a dispatcher, however those lines https://github.com/zalando/expan/blob/dev/expan/core/experiment.py#L368 duplicate the code https://github.com/zalando/expan/blob/dev/expan/core/experiment.py#L455Additional complication:
delta()
function calls the other one, i.e.fixed_horizon_delta()
The text was updated successfully, but these errors were encountered: