-
Notifications
You must be signed in to change notification settings - Fork 714
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
Make T0
and T1
on effect
keyword-only to avoid confusion
#79
Comments
How does that influence the |
it will have to be effect(x, T0=0, T1=1) |
@moprescu, that is a good question. The simplest approach would be to apply the same rule to Unfortunately, if we want the bootstrap wrapper to remain generic, then it's hard to see how to fix |
#75 addresses this |
When using inference, it's somewhat ambiguous whether a call like
uses
low
andhigh
as the optional treatments or as the lower and upper bounds of the confidence interval (the first interpretation is correct).This confusion could be avoided by making
T0
andT1
into keyword-only arguments, so that the user can callbut not
This would be a breaking change, but the safety benefits probably make it worthwhile anyway.
The text was updated successfully, but these errors were encountered: