-
-
Notifications
You must be signed in to change notification settings - Fork 822
fix: update C implementation for stats/base/dists/kumaraswamy/median
#5452
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
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: missing_dependencies - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
Signed-off-by: Gautam sharma <[email protected]>
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! |
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.
👋 Hi there! 👋
And thank you for opening your first pull request! We will review it shortly. 🏃 💨
Coverage Report
The above coverage report was generated for the changes in this PR. |
hello @anandkaranubc please review once |
@Krishna-Sharma-g, thanks for opening this PR. As I mentioned earlier in the issue, there are many more changes required for the current package I have already created a commit here that will guide you on what other changes need to be made. You can just copy all the changes from there and update this PR. Cheers! |
lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/median/src/main.c
Outdated
Show resolved
Hide resolved
Can you also change the title to: fix: update C implementation for Note that there are backticks around stats/base/dists/kumaraswamy/median |
I also noticed that your current PR is based off your develop branch. While you can keep it like this for the current PR, I would suggest creating a new branch each time for future changes/PRs. |
…rc/main.c Co-authored-by: Karan Anand <[email protected]> Signed-off-by: Gautam sharma <[email protected]>
okay @anandkaranubc thankyou for that |
done ! |
stats/base/dists/kumaraswamy/median
okay next time i will be aware of that |
@anandkaranubc does this pr need any more changes or it is ready to merge |
@Krishna-Sharma-g Everything, that was made in this commit here |
@anandkaranubc oo sorry i missed that |
hello @anandkaranubc i synced the file and due to that it commited the |
There aren't any "file" changes in the PR, so there's nothing to worry about. |
@anandkaranubc changes done ! |
/stdlib merge |
lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/median/benchmark/c/benchmark.c
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/median/benchmark/c/benchmark.c
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/median/lib/native.js
Outdated
Show resolved
Hide resolved
@anandkaranubc on it |
lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/median/manifest.json
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/median/manifest.json
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/median/benchmark/c/benchmark.c
Outdated
Show resolved
Hide resolved
Signed-off-by: Gautam sharma <[email protected]>
@kgryte, I think this is ready for merge. As you mentioned, there are many more changes than initially stated in the issue. Hopefully, we've covered them all. Thanks! |
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.
Thanks @Krishna-Sharma-g for your contribution and @anandkaranubc for initial review! Will merge PR shortly.
PR Commit Message
Please review the above commit message and make any necessary adjustments. |
Resolves #5047 .
Description
#5047
This pull request:
fixes the bug of failing testcases in the kumarswamy/median/src/main.c and also improved and matched the test.native.js and test.js
2.Added the missing test for nonpositive "b" parameter, copying the test cases from test.js.
3.Ensured all edge cases are properly tested with the same combinations of parameter values as in test.js.
Maintained the native-specific parts like the tryRequire setup and opts variable for test skipping.
Related Issues
no
Questions
No.
Other
Checklist
@stdlib-js/reviewers