-
Notifications
You must be signed in to change notification settings - Fork 236
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
feat: add scale_factor and extend value_factor (next) #884
base: dev
Are you sure you want to change the base?
Conversation
I hope, I didn't send you on the wrong path. It just appeared to me (from comments in other PRs) that this project expects PRs against Btw, I noticed that the
Ok. I thought,
Yes, I like that better, too. But I am no "competent authority", here. ;-) One thing to take into consideration, maybe, is that the two "factors" can now be easily mistaken for each other. Just thinking out loud: Since the orignal idea was to introduce the new factor and deprecate the old factor... maybe it's good to just use the new factor in the actual computation. And convert the old factor to the new factor only once when reading the configuration. Maybe logging a deprecation notice at that time, too. That would simplify things further. What do you think? |
Yes. It's because
I did this internally here (while instantiating the Graph object in
Yes, I think it would be better to only have one factor. The I think it would be better if dev branch were updated on top of master so there isn't any possible confusion here. |
Welcome to the project @X-Ryl669 (& @akloeckner ) and thanks for your contribution! As @akloeckner already mentioned, you indeed still have some commits from master on your branch (one of the reasons the github UI doesn't allow you to change target branches). Could you rebase your branch on dev & drop the commits from master on your branch? |
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.
As per #591 (comment), let's also make the code change cleaner by converting value_factor to value_multiplier on import (removing/replacing other occurrences) & error when both values are set in the config.
Renamed the variable. |
Co-authored-by: Jonas De Kegel <[email protected]>
I don't think it's an error when both are set in the config. At least, the current code supports both and they don't do the same thing. |
Do you have an idea of the approximate time frame for implementing this change? |
Not really. We were reluctant with new features at the time and still are in a way, because we have little time to debug and fix things, if they break. My personal feeling with that specific PR is that it increases complexity by allowing a somehow redundant factor on two configuration levels, passing it around quite much. I'd feel much better, if we were to create a mechanism to do this consistently with all options, such as |
I don’t see the complexity here, |
See #877 for details.
Github doesn't allow to change the base branch onto which to PR once it's created, so this is taking over the previous PR that targeted master branch.