From 1179706ff008db1d8322a92d7753d3174d7929db Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sat, 1 Nov 2025 05:03:17 +0530 Subject: [PATCH 1/6] chore: add structured package data for math/base/special/spencef --- 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/spencef/package.json | 80 ++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spencef/package.json b/lib/node_modules/@stdlib/math/base/special/spencef/package.json index 60c9ec82520a..c04f4404e172 100644 --- a/lib/node_modules/@stdlib/math/base/special/spencef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spencef/package.json @@ -65,5 +65,83 @@ "spence", "spencef", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "spence", + "alias": "spencef", + "pkg_desc": "spence's function (the dilogarithm) for a single-precision floating-point number", + "desc": "evaluates Spence's function (the dilogarithm) for a single-precision floating-point number.", + "short_desc": "Spence's function", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "0", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0, + 10 + ] + }, + "example_values": [ + 0, + 0.5, + 1, + 2, + 3, + 5, + 10, + 25, + 50, + 100, + 0.1, + 0.2, + 0.3, + 0.4, + 0.6, + 0.7, + 0.8, + 0.9, + 1.5, + 4.0 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "special", + "function", + "dilogarithm", + "polylogarithm", + "integral", + "spence", + "spencef", + "number" + ], + "extra_keywords": [] + } + } } From dda6ef7a92c6bb7d0e74bb566b171a69e782a517 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sat, 1 Nov 2025 05:29:43 +0530 Subject: [PATCH 2/6] Fix package.json to update value from 4.0 to 4 Signed-off-by: Manvith <148960168+manvith2003@users.noreply.github.com> --- lib/node_modules/@stdlib/math/base/special/spencef/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spencef/package.json b/lib/node_modules/@stdlib/math/base/special/spencef/package.json index c04f4404e172..165ad1725e02 100644 --- a/lib/node_modules/@stdlib/math/base/special/spencef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spencef/package.json @@ -117,7 +117,7 @@ 0.8, 0.9, 1.5, - 4.0 + 4 ] } ], From de9861adcebca09a17d9c12c40c2cba92abc9e40 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 17:04:28 -0700 Subject: [PATCH 3/6] docs: update description Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/spencef/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spencef/package.json b/lib/node_modules/@stdlib/math/base/special/spencef/package.json index 165ad1725e02..94d40a1be1ad 100644 --- a/lib/node_modules/@stdlib/math/base/special/spencef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spencef/package.json @@ -71,7 +71,7 @@ "$schema": "math/base@v1.0", "base_alias": "spence", "alias": "spencef", - "pkg_desc": "spence's function (the dilogarithm) for a single-precision floating-point number", + "pkg_desc": "evaluate Spence's function (the dilogarithm) for a single-precision floating-point number", "desc": "evaluates Spence's function (the dilogarithm) for a single-precision floating-point number.", "short_desc": "Spence's function", "parameters": [ From 364176067947ffd950c1ee3f9586442befed98c7 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 17:04:48 -0700 Subject: [PATCH 4/6] chore: update keywords Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/spencef/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spencef/package.json b/lib/node_modules/@stdlib/math/base/special/spencef/package.json index 94d40a1be1ad..59d8909147f2 100644 --- a/lib/node_modules/@stdlib/math/base/special/spencef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spencef/package.json @@ -63,7 +63,6 @@ "polylogarithm", "integral", "spence", - "spencef", "number" ], "__stdlib__": { From d17207fb98fffb9e47c7677b8bf3e379055b2a40 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 17:05:20 -0700 Subject: [PATCH 5/6] chore: remove quotes Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/spencef/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spencef/package.json b/lib/node_modules/@stdlib/math/base/special/spencef/package.json index 59d8909147f2..532aff6c1bc4 100644 --- a/lib/node_modules/@stdlib/math/base/special/spencef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spencef/package.json @@ -85,7 +85,7 @@ }, "domain": [ { - "min": "0", + "min": 0, "max": "infinity" } ], From c4d84197df69223b2dff236379f780a7d451be3e Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 17:05:52 -0700 Subject: [PATCH 6/6] chore: update keywords Signed-off-by: Athan --- .../@stdlib/math/base/special/spencef/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spencef/package.json b/lib/node_modules/@stdlib/math/base/special/spencef/package.json index 532aff6c1bc4..0fc99528d57f 100644 --- a/lib/node_modules/@stdlib/math/base/special/spencef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spencef/package.json @@ -136,9 +136,7 @@ "dilogarithm", "polylogarithm", "integral", - "spence", - "spencef", - "number" + "spence" ], "extra_keywords": [] }