-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
benchmark: ignore significance when using --runs 1 #8299
benchmark: ignore significance when using --runs 1 #8299
Conversation
significant = '*'; | ||
p.value = NA; | ||
significant = 'NA'; | ||
# Check if there is enogth data to calulate the calculate the p-value |
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.
typo: enogth
Can’t really review R code, so rubber-stamp LGTM from me. |
I can't really review the code either, but one minor nit is the last line of the commit message is a tad too long (>72). |
Because the standard deviation can't be calculated when there is only one observation the R scripts raises an error. However it may still be useful to run them for non-statistical purposes. This changes the behaviour such when there is only one observation, the values that depends on the standard deviation becomes Not Applicable (NA).
Yeah, I'm not amazing at R either :) |
Hmm… we could give pinging the rest of @nodejs/math aka @fhinkel a try? 😄 |
ping |
If the count remains at 1 rubber-stamp approval (mine), I’d say it’s okay to land this. I know you’re busy these days, so please don’t feel pressured, but if you’re ever up for porting some of the R code to JS — and if you think that’s feasible – that might be kind of nice for attracting more reviewers. :) |
@addaleax Great, I will land it then.
I have already written |
Yeah, that’s a general problem we have in core. Maybe we should just get a |
Landed in d3834a1 |
Checklist
Affected core subsystem(s)
benchmark
Description of change
Because the standard deviation can't be calculated when there is only
one observation the R scripts raises an error. However it may still be
useful to run them for non-statistical purposes.
This changes the behaviour such when there is only one observation, the
values that depends on the standard deviation becomes Not Applicable (NA).
Fixes: #8288
/cc @mscdex
examples: