From 6cf028649d7cbf9cdcb6e1a5e1c29ab6162767f4 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Wed, 5 Nov 2025 22:32:05 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/bernoullif --- 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: passed - 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: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/bernoullif/package.json | 68 ++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/bernoullif/package.json b/lib/node_modules/@stdlib/math/base/special/bernoullif/package.json index 0a3caabecaf7..1a626c3d073d 100644 --- a/lib/node_modules/@stdlib/math/base/special/bernoullif/package.json +++ b/lib/node_modules/@stdlib/math/base/special/bernoullif/package.json @@ -61,5 +61,71 @@ "bernoulli", "bernoullif", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "bernoulli", + "alias": "bernoullif", + "pkg_desc": "compute the nth Bernoulli number as a single-precision floating-point number ", + "desc": "computes the nth Bernoulli number as a single-precision floating-point number", + "short_desc": "Bernoulli number", + "parameters": [ + { + "name": "n", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": 0, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/discrete-uniform", + "parameters": [ + 0, + 30 + ] + }, + "example_values": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 10, + 20, + 15, + 18, + 25, + 21, + 22 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "bernoulli", + "bernoullif" + ], + "extra_keywords": [] + } + } } From e8262462fe5fd0a0944efb3bf755a8a3ddd92dbc Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 5 Nov 2025 23:14:36 -0800 Subject: [PATCH 2/2] chore: update keywords Signed-off-by: Athan --- .../@stdlib/math/base/special/bernoullif/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/bernoullif/package.json b/lib/node_modules/@stdlib/math/base/special/bernoullif/package.json index 1a626c3d073d..f27c29ce272f 100644 --- a/lib/node_modules/@stdlib/math/base/special/bernoullif/package.json +++ b/lib/node_modules/@stdlib/math/base/special/bernoullif/package.json @@ -59,7 +59,6 @@ "special", "function", "bernoulli", - "bernoullif", "number" ], "__stdlib__": { @@ -122,8 +121,7 @@ } }, "keywords": [ - "bernoulli", - "bernoullif" + "bernoulli" ], "extra_keywords": [] }