-
Notifications
You must be signed in to change notification settings - Fork 83
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
Harmonize docstring for test_stat between AsymptoticCalculator and ToyCalculator #1335
Comments
Similarly, need to update the warning for |
@matthewfeickert can I take this up? @kratsg could you please elaborate a bit more on the warning updates? |
@matthewfeickert @kratsg not to disturb you again, but any updates on this? |
The warning updates were already done. As for documentation, why not just submit the PR? But unless you know the statistics content, we'd recommend not just rewriting without knowing what the content itself is. |
Yeah, I was envisioning a small rewrite of this when I opened the Issue. My advice would be to only work on a PR for this if you feel comfortable with the frequentist statistics being discussed, else we'll probably have to request multiple revisions. |
Oh oh, my bad, I thought this required only formatting of the documentation. Thanks for letting me know! |
Description
In
v0.6.0
docs, theAsymptoticCalculator
API has a nicely formatted docstring for thetest_stat
argpyhf/src/pyhf/infer/calculators.py
Lines 199 to 208 in 8de7566
but the
ToyCalculator
API didn't have these changes applied to them (seems @matthewfeickert forgot to propagate these in PR #993)pyhf/src/pyhf/infer/calculators.py
Lines 625 to 632 in 8de7566
The
ToyCalculator
docstring should be updated to match.The text was updated successfully, but these errors were encountered: