-
Notifications
You must be signed in to change notification settings - Fork 741
Add beta warning to sox-io backend #769
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
Conversation
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.
What changes are you expecting? If we are still expecting changes, we need to be careful how we expose new features and the bc-breaking changes to the users. Let's make sure all that is bc-breaking raises warnings that guide the users toward stable features, e.g. #761. (EDIT following comment)
In particular, should we then expose the backend as "_sox_io" ?
| elif backend == 'sox': | ||
| module = sox_backend | ||
| elif backend == 'sox_io': | ||
| warnings.warn('"sox_io" backend is currently beta. Function signatures might change.') |
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.
Let's say "experimental" instead of "beta". Should go as far as marking the backend as "_sox_io"?
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.
What's the difference between "beta" and "experimental"?
To me "beta" sounds it's ready to use but not in the final form yet, "experimental" sounds like we are playing around with it, which does not quite fit to my feeling. I could be wrong though.
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.
We have not defined either one of them formally, but torchtext used "experimental" :)
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.
In this case, considering the feature lifecycle beta sounds more appropriate. The set of core features we want to provide is completed and confirmed to work. We are not going to change that, even though we refine some details and make small changes.
torchtext used "experimental"
That does not sound like a solid reasoning we should be based off of. That module is totally different nature.
Codecov Report
@@ Coverage Diff @@
## master #769 +/- ##
=======================================
Coverage 89.16% 89.17%
=======================================
Files 32 32
Lines 2566 2567 +1
=======================================
+ Hits 2288 2289 +1
Misses 278 278
Continue to review full report at Codecov.
|
I am merging sox effects implementation and sox I/O implementation because they are practically same and can accomplish the same amount of things with less code. Along the way we might be able to get rid of some function arguments.
That's the purpose of this PR.
That will slow us down without much benefit,
What convention is that? That does not make BC breaking changes into non-BC breaking changes. |
That's cool :)
Thanks for clarifying in comment. Since this is for
I was really just brainstorming, and trying to see if there is another way of letting the user know that changes are coming. A better name than Thoughts? |
I do not see a benefit of changing the name. It surely adds maintenance cost but it does not turn BC-breaking changes into non-BC-breaking. When such backend is removed users will have to change their code too. I believe Public beta feature is often what users can opt-in and if they are lucky enough not to be hit by BC-braking changes then they can keep using. |
|
Superseded by #780 . |
|
As we discussed offline, we'll not expose the parameter that may change in the future, so as to remove the need for this warning. |
I anticipate some changes/improvements to sox_io backend which involves BC-breaking, so adding warning.