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
Remove two_buckets_to_str() procedure #3334
Conversation
afiskon
commented
Jun 14, 2021
Codecov Report
@@ Coverage Diff @@
## master #3334 +/- ##
==========================================
+ Coverage 90.17% 90.56% +0.38%
==========================================
Files 215 211 -4
Lines 35391 35479 +88
==========================================
+ Hits 31914 32130 +216
+ Misses 3477 3349 -128
Continue to review full report at Codecov.
|
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.
I guess it is fine, but it is a little bit unclear why this error and function cannot be replaced with the variable size whenever that's available. Whey does it need to be removed now?
I generally try to keep the code / pull requests / feature implementation as small as possible (== MVP). If we keep this code it means that in further pull requests I will have to modify it as well which seems like an unnecessary time investment for me and reviewers, and next to zero gain for the users. This being said I'm fine with keeping the code if the team believes it's worth it. |
658a61e
to
3b93695
Compare
The two_buckets_to_str() procedure relies on fixed bucket_width which is not going to be fixed in the future. Since the procedure is used only to generate a hint that accompanies an error message, the simplest solution is to remove this procedure. We can improve error messages later if that would be necessary.
3b93695
to
856b3ff
Compare