-
-
Notifications
You must be signed in to change notification settings - Fork 805
refactor: add protocol support to stats/base/variancewd
#5831
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
base: develop
Are you sure you want to change the base?
Conversation
Hello! Thank you for your contribution to stdlib. We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:
This acknowledgment confirms that you've read the guidelines, which include:
We can't review or accept contributions without this acknowledgment. Thank you for your understanding and cooperation. We look forward to reviewing your contribution! |
Coverage Report
The above coverage report was generated for the changes in this PR. |
9e1d8f3
to
d43ad21
Compare
@Planeshifter @anandkaranubc ready for review |
@kgryte PTAL |
lib/node_modules/@stdlib/stats/base/variancewd/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/variancewd/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/variancewd/benchmark/benchmark.ndarray.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/variancewd/examples/index.js
Outdated
Show resolved
Hide resolved
var i; | ||
|
||
n = N - correction; |
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.
Why did you reorder these statements?
* @returns {number} variance | ||
* | ||
* @example | ||
* var x = [ 1.0, -2.0, 2.0 ]; | ||
* var mask = [ 0, 0, 1 ]; |
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.
Why is there a mask
array in this example? This is all wrong.
lib/node_modules/@stdlib/stats/base/variancewd/test/test.ndarray.js
Outdated
Show resolved
Hide resolved
@kgryte I'm considering closing this PR and opening a new one due to some misunderstanding. The issue was caused by a problem with my local setup, which is now resolved. Apologies for the confusion. |
lib/node_modules/@stdlib/stats/base/variancewd/test/test.ndarray.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/variancewd/test/test.ndarray.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/variancewd/test/test.variancewd.js
Outdated
Show resolved
Hide resolved
@kgryte Would you prefer that I open a new PR or continue with this one? |
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.
This PR needs significant clean-up. Based on some of the edits, it looks like you may have used AI/LLMs. Please don't. Before using AI, do things manually to start so that you properly learn conventions and develop an understanding of how to program AI to provide proper assistance.
@gkbishnoi07 You should not open another PR. You should focus on cleaning up your existing PRs. Otherwise, you will just be creating unnecessary work. |
@kgryte I'm really sorry for what happened. It was a misunderstanding, and there was also an issue with the local setup. I assure you it won't happen again in the future. |
Resolves #5691
Description
This pull request:
Refactor and add protocol support
Related Issues
This pull request:
stats/base/variancewd
#5691Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers